|
@@ -20,10 +20,11 @@
|
|
|
"chat": "cd examples/chat && webpack-dev-server --inline --hot --config ../webpack.shared.config.js",
|
|
|
"build": "node build/build.js",
|
|
|
"build-examples": "BABEL_ENV=development webpack --config examples/webpack.build-all.config.js",
|
|
|
+ "lint": "eslint src test",
|
|
|
"unit": "BABEL_ENV=development mocha test/unit/*.js --compilers js:babel-core/register",
|
|
|
"pree2e": "npm run build-examples",
|
|
|
"e2e": "casperjs test --concise ./test/e2e",
|
|
|
- "test": "eslint src && npm run unit && npm run e2e",
|
|
|
+ "test": "npm run lint && npm run unit && npm run e2e",
|
|
|
"docs": "cd docs && gitbook serve",
|
|
|
"deploy-docs": "cd docs && ./deploy.sh",
|
|
|
"release": "bash build/release.sh"
|
|
@@ -51,8 +52,8 @@
|
|
|
"chai": "^3.4.1",
|
|
|
"css-loader": "^0.26.1",
|
|
|
"eslint": "^3.13.1",
|
|
|
- "eslint-config-vue": "^2.0.1",
|
|
|
- "eslint-plugin-vue": "^1.0.0",
|
|
|
+ "eslint-config-vue": "^2.0.2",
|
|
|
+ "eslint-plugin-vue": "^2.0.1",
|
|
|
"mocha": "^3.2.0",
|
|
|
"phantomjs-prebuilt": "^2.1.7",
|
|
|
"rollup": "^0.41.4",
|