|
@@ -2,7 +2,7 @@
|
|
"name": "vuex",
|
|
"name": "vuex",
|
|
"version": "2.3.1",
|
|
"version": "2.3.1",
|
|
"description": "state management for Vue.js",
|
|
"description": "state management for Vue.js",
|
|
- "main": "dist/vuex.js",
|
|
|
|
|
|
+ "main": "dist/vuex.common.js",
|
|
"module": "dist/vuex.esm.js",
|
|
"module": "dist/vuex.esm.js",
|
|
"unpkg": "dist/vuex.js",
|
|
"unpkg": "dist/vuex.js",
|
|
"typings": "types/index.d.ts",
|
|
"typings": "types/index.d.ts",
|
|
@@ -15,14 +15,13 @@
|
|
],
|
|
],
|
|
"scripts": {
|
|
"scripts": {
|
|
"dev": "node examples/server.js",
|
|
"dev": "node examples/server.js",
|
|
- "dev:dist": "rollup -wm -c build/rollup.config.js",
|
|
|
|
- "build": "npm run build:main && npm run build:esm && npm run build:logger",
|
|
|
|
- "build:main": "rollup -c build/rollup.config.js && uglifyjs dist/vuex.js -cm --comments -o dist/vuex.min.js",
|
|
|
|
- "build:esm": "rollup -c build/rollup.config.js --environment ESM",
|
|
|
|
|
|
+ "dev:dist": "rollup -wm -c build/rollup.dev.config.js",
|
|
|
|
+ "build": "npm run build:main && npm run build:logger",
|
|
|
|
+ "build:main": "node build/build.main.js",
|
|
"build:logger": "rollup -c build/rollup.logger.config.js",
|
|
"build:logger": "rollup -c build/rollup.logger.config.js",
|
|
"lint": "eslint src test",
|
|
"lint": "eslint src test",
|
|
"test": "npm run lint && npm run test:types && npm run test:unit && npm run test:e2e",
|
|
"test": "npm run lint && npm run test:types && npm run test:unit && npm run test:e2e",
|
|
- "test:unit": "rollup -c build/rollup.config.js && jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
|
|
|
|
|
|
+ "test:unit": "rollup -c build/rollup.dev.config.js && jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
|
|
"test:e2e": "node test/e2e/runner.js",
|
|
"test:e2e": "node test/e2e/runner.js",
|
|
"test:types": "tsc -p types/test",
|
|
"test:types": "tsc -p types/test",
|
|
"release": "bash build/release.sh",
|
|
"release": "bash build/release.sh",
|