|
@@ -2,9 +2,9 @@
|
|
|
"name": "vuex",
|
|
|
"version": "0.4.0",
|
|
|
"description": "state management for Vue.js",
|
|
|
- "main": "lib/index.js",
|
|
|
+ "main": "dist/vuex.js",
|
|
|
"files": [
|
|
|
- "lib",
|
|
|
+ "dist",
|
|
|
"src"
|
|
|
],
|
|
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
"todomvc": "cd examples/todomvc && webpack-dev-server --inline --hot --config ../webpack.shared.config.js",
|
|
|
"cart": "cd examples/shopping-cart && webpack-dev-server --inline --hot --config ../webpack.shared.config.js",
|
|
|
"chat": "cd examples/chat && webpack-dev-server --inline --hot --config ../webpack.shared.config.js",
|
|
|
- "prepublish": "babel src --out-dir lib --presets es2015 --plugins add-module-exports",
|
|
|
+ "build": "node build/build.js",
|
|
|
"test": "eslint src && mocha --compilers js:babel-core/register",
|
|
|
"docs": "cd docs && gitbook serve",
|
|
|
"deploy-docs": "cd docs && ./deploy.sh"
|
|
@@ -29,13 +29,13 @@
|
|
|
},
|
|
|
"homepage": "https://github.com/vuejs/vuex#readme",
|
|
|
"devDependencies": {
|
|
|
- "babel-cli": "^6.6.0",
|
|
|
"babel-core": "^6.2.1",
|
|
|
"babel-loader": "^6.2.0",
|
|
|
"babel-plugin-add-module-exports": "^0.1.1",
|
|
|
"babel-plugin-transform-runtime": "^6.1.18",
|
|
|
"babel-polyfill": "^6.2.0",
|
|
|
"babel-preset-es2015": "^6.1.18",
|
|
|
+ "babel-preset-es2015-rollup": "^1.1.1",
|
|
|
"babel-preset-stage-2": "^6.1.18",
|
|
|
"babel-runtime": "^5.8.0",
|
|
|
"chai": "^3.4.1",
|
|
@@ -45,12 +45,15 @@
|
|
|
"eslint-plugin-promise": "^1.0.8",
|
|
|
"eslint-plugin-standard": "^1.3.2",
|
|
|
"mocha": "^2.3.4",
|
|
|
- "style-loader": "^0.13.0",
|
|
|
+ "rollup": "^0.25.4",
|
|
|
+ "rollup-plugin-babel": "^2.4.0",
|
|
|
"todomvc-app-css": "^2.0.3",
|
|
|
+ "uglify-js": "^2.6.2",
|
|
|
"vue": "^1.0.8",
|
|
|
"vue-hot-reload-api": "^1.2.1",
|
|
|
"vue-html-loader": "^1.0.0",
|
|
|
"vue-loader": "^8.2.0",
|
|
|
+ "vue-style-loader": "^1.0.0",
|
|
|
"webpack": "^1.12.8",
|
|
|
"webpack-dev-server": "^1.12.1"
|
|
|
}
|