Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to install as one package #4

Open
shershen08 opened this issue Jan 8, 2017 · 0 comments
Open

Possibility to install as one package #4

shershen08 opened this issue Jan 8, 2017 · 0 comments

Comments

@shershen08
Copy link

Instead of how it is now - one main module plus several dependences.
Is that possible in principle?
Then it could be easier to jumps start usage and also could be installed as a global package to run later in potentially from any folder.
I've tried to put all of the packs in the package.json, like this


..
  "dependencies": {
    "vue-dev-server": "latest",
    "chokidar": "^1.6.0",
    "coffee-script": "^1.11.1",
    "commander": "^2.9.0",
    "cp": "^0.2.0",
    "cpr": "^2.0.0",
    "ip": "^1.1.3",
    "koa": "^1.2.4",
    "koa-hot-dev-webpack": "^0.1.1",
    "koa-sendfile": "^2.0.0",
    "koa-static": "^2.0.0",
    "script-runner": "^0.1.5",
    "vue-hot-reload-api": "^2.0.7",
    "vue-router": "^2.0.0",
    "vueify-insert-css": "latest",
    "webpack": "^1.13.2",
    "vue-loader": "^9.5.1",
    "vue": "^2.0.1",
    "css-loader": "^0.25.0",
    "vue-compiler": "^2.0.0",
    "vue-html-loader": "^1.2.3",
    "vue-style-loader": "^1.0.0"
  },
  "devDependencies": {
    "babel-core": "^6.21.0",
    "babel-loader": "^6.2.10",
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-runtime": "^5.8.38",
    "casperjs": "^1.1.3",
    "coffee-loader": "^0.7.2",
    "css-loader": "^0.25.0",
    "phantomjs-prebuilt": "^2.1.13",
    "rimraf": "^2.5.4",
    "script-runner": "^0.1.5",
    "stylus": "^0.54.5",
    "vue-hot-reload-api": "^2.0.7",
    "vue-html-loader": "^1.2.3",
    "vue-style-loader": "^1.0.0"
  },
  "scripts": {
    ...
    "postinstall": "npm install --save-dev vue-html-loader css-loader vue-style-loader vue-hot-reload-api babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015 babel-runtime@5"
  }
}

and the run with smth like $ node node_modules/vue-dev-server/index.js.
But it fails with dev/myComponent.vue file parsing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant