Skip to content

Commit 425e44d

Browse files
committed
fix: #118
1 parent cb6cf47 commit 425e44d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

front-end/h5/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"deploy": "rm -rf dist && npm run build && ./deploy.sh",
1010
"test:e2e": "vue-cli-service test:e2e",
1111
"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"
1414
},
1515
"dependencies": {
1616
"@luban-h5/lbc-button": "^0.0.2",
@@ -50,6 +50,7 @@
5050
"babel-eslint": "^10.0.1",
5151
"babel-jest": "^23.6.0",
5252
"babel-plugin-component": "^1.1.1",
53+
"cross-env": "^6.0.3",
5354
"dart-sass": "^1.23.7",
5455
"eslint": "^5.16.0",
5556
"eslint-plugin-vue": "^5.0.0",

front-end/h5/yarn.lock

+7
Original file line numberDiff line numberDiff line change
@@ -3282,6 +3282,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
32823282
safe-buffer "^5.0.1"
32833283
sha.js "^2.4.8"
32843284

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+
32853292
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
32863293
version "5.1.0"
32873294
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"

0 commit comments

Comments
 (0)