|
|
@ -14,16 +14,18 @@ |
|
|
|
"dev:test": "karma start build/karma.dev.config.js", |
|
|
|
"dev:ssr": "webpack --watch --config build/webpack.ssr.dev.config.js", |
|
|
|
"dev:compiler": "webpack --watch --config build/webpack.compiler.dev.config.js", |
|
|
|
"test": "npm run lint && flow check && npm run test:cover && npm run test:unit && npm run test:e2e && npm run test:ssr", |
|
|
|
"ci": "npm run lint && flow check && npm run test:cover && npm run test:ssr", |
|
|
|
"build": "NODE_ENV=production node build/build.js", |
|
|
|
"lint": "eslint src build test", |
|
|
|
"flow": "flow check", |
|
|
|
"build:ssr": "npm run build -- vue.common.js,vue-template-compiler,vue-server-renderer", |
|
|
|
"ci": "npm run lint && flow check && npm run test:cover && npm run test:ssr", |
|
|
|
"test": "npm run lint && flow check && npm run test:cover && npm run test:unit && npm run test:e2e && npm run test:ssr", |
|
|
|
"test:unit": "NODE_ENV=development karma start build/karma.unit.config.js", |
|
|
|
"test:cover": "NODE_ENV=development karma start build/karma.cover.config.js", |
|
|
|
"test:e2e": "npm run build -- vue.js && node test/e2e/runner.js", |
|
|
|
"build:ssr": "npm run build -- vue.common.js,vue-template-compiler,vue-server-renderer", |
|
|
|
"test:ssr": "npm run build:ssr && NODE_ENV=development VUE_ENV=server jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.json", |
|
|
|
"test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2", |
|
|
|
"lint": "eslint src build test", |
|
|
|
"flow": "flow check", |
|
|
|
"sauce": "NODE_ENV=development karma start build/karma.sauce.config.js", |
|
|
|
"bench:ssr": "npm run build:ssr && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToString.js && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToStream.js", |
|
|
|
"release": "bash build/release.sh" |
|
|
|
}, |
|
|
@ -68,6 +70,7 @@ |
|
|
|
"karma-jasmine": "^1.0.2", |
|
|
|
"karma-phantomjs-launcher": "^1.0.0", |
|
|
|
"karma-safari-launcher": "^1.0.0", |
|
|
|
"karma-sauce-launcher": "^1.0.0", |
|
|
|
"karma-sourcemap-loader": "^0.3.0", |
|
|
|
"karma-spec-reporter": "^0.0.26", |
|
|
|
"karma-webpack": "^1.7.0", |
|
|
|