|
|
@ -12,13 +12,13 @@ |
|
|
|
"types/*.d.ts" |
|
|
|
], |
|
|
|
"scripts": { |
|
|
|
"dev": "TARGET=web-full-dev rollup -w -c build/config.js", |
|
|
|
"dev:cjs": "TARGET=web-runtime-cjs rollup -w -c build/config.js", |
|
|
|
"dev": "rollup -w -c build/config.js --environment TARGET:web-full-dev", |
|
|
|
"dev:cjs": "rollup -w -c build/config.js --environment TARGET:web-runtime-cjs", |
|
|
|
"dev:test": "karma start build/karma.dev.config.js", |
|
|
|
"dev:ssr": "TARGET=web-server-renderer rollup -w -c build/config.js", |
|
|
|
"dev:compiler": "TARGET=web-compiler rollup -w -c build/config.js", |
|
|
|
"dev:weex": "TARGET=weex-framework rollup -w -c build/config.js", |
|
|
|
"dev:weex:compiler": "TARGET=weex-compiler rollup -w -c build/config.js", |
|
|
|
"dev:ssr": "rollup -w -c build/config.js --environment TARGET:web-server-renderer", |
|
|
|
"dev:compiler": "rollup -w -c build/config.js --environment TARGET:web-compiler ", |
|
|
|
"dev:weex": "rollup -w -c build/config.js --environment TARGET:weex-framework ", |
|
|
|
"dev:weex:compiler": "rollup -w -c build/config.js --environment TARGET:weex-compiler ", |
|
|
|
"build": "node build/build.js", |
|
|
|
"build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer", |
|
|
|
"build:weex": "npm run build -- weex-vue-framework,weex-template-compiler", |
|
|
@ -32,8 +32,8 @@ |
|
|
|
"test:types": "tsc -p ./types/test/tsconfig.json", |
|
|
|
"lint": "eslint src build test", |
|
|
|
"flow": "flow check", |
|
|
|
"sauce": "SAUCE=true karma start build/karma.sauce.config.js", |
|
|
|
"bench:ssr": "npm run build:ssr && NODE_ENV=production node benchmarks/ssr/renderToString.js && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToStream.js", |
|
|
|
"sauce": "karma start build/karma.sauce.config.js", |
|
|
|
"bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js", |
|
|
|
"release": "bash build/release.sh", |
|
|
|
"release:weex": "bash build/release-weex.sh", |
|
|
|
"install:hooks": "ln -fs ../../build/git-hooks/pre-commit .git/hooks/pre-commit" |
|
|
|