Commit 425e44d860509b0198f1693cf171298aa96bde4f
1 parent
cb6cf476
fix: #118
Showing
2 changed files
with
10 additions
and
2 deletions
front-end/h5/package.json
| ... | ... | @@ -9,8 +9,8 @@ |
| 9 | 9 | "deploy": "rm -rf dist && npm run build && ./deploy.sh", |
| 10 | 10 | "test:e2e": "vue-cli-service test:e2e", |
| 11 | 11 | "test:unit": "vue-cli-service test:unit", |
| 12 | - "editor:build": "PAGE=EDITOR vue-cli-service build", | |
| 13 | - "engine:build": "PAGE=ENGINE vue-cli-service build --target lib --name engine ./src/engine-entry.js" | |
| 12 | + "editor:build": "cross-env PAGE=EDITOR vue-cli-service build", | |
| 13 | + "engine:build": "cross-env PAGE=ENGINE vue-cli-service build --target lib --name engine ./src/engine-entry.js" | |
| 14 | 14 | }, |
| 15 | 15 | "dependencies": { |
| 16 | 16 | "@luban-h5/lbc-button": "^0.0.2", |
| ... | ... | @@ -50,6 +50,7 @@ |
| 50 | 50 | "babel-eslint": "^10.0.1", |
| 51 | 51 | "babel-jest": "^23.6.0", |
| 52 | 52 | "babel-plugin-component": "^1.1.1", |
| 53 | + "cross-env": "^6.0.3", | |
| 53 | 54 | "dart-sass": "^1.23.7", |
| 54 | 55 | "eslint": "^5.16.0", |
| 55 | 56 | "eslint-plugin-vue": "^5.0.0", | ... | ... |
front-end/h5/yarn.lock
| ... | ... | @@ -3282,6 +3282,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: |
| 3282 | 3282 | safe-buffer "^5.0.1" |
| 3283 | 3283 | sha.js "^2.4.8" |
| 3284 | 3284 | |
| 3285 | +cross-env@^6.0.3: | |
| 3286 | + version "6.0.3" | |
| 3287 | + resolved "https://registry.npm.taobao.org/cross-env/download/cross-env-6.0.3.tgz?cache=0&sync_timestamp=1570033342577&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcross-env%2Fdownload%2Fcross-env-6.0.3.tgz#4256b71e49b3a40637a0ce70768a6ef5c72ae941" | |
| 3288 | + integrity sha1-Qla3HkmzpAY3oM5wdopu9ccq6UE= | |
| 3289 | + dependencies: | |
| 3290 | + cross-spawn "^7.0.0" | |
| 3291 | + | |
| 3285 | 3292 | cross-spawn@^5.0.1, cross-spawn@^5.1.0: |
| 3286 | 3293 | version "5.1.0" |
| 3287 | 3294 | resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-5.1.0.tgz?cache=0&sync_timestamp=1570439982137&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcross-spawn%2Fdownload%2Fcross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" | ... | ... |