8000 chore: use cross-env for developers using Windows · ariesjia/vue-function-api@39a023d · GitHub
[go: up one dir, main page]

Skip to content

Commit 39a023d

Browse files
antfuliximomo
authored andcommitted
chore: use cross-env for developers using Windows
1 parent 1a93ed5 commit 39a023d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"dist/"
1818
],
1919
"scripts": {
20-
"start": "TARGET=es rollup -c -w",
20+
"start": "cross-env TARGET=es rollup -c -w",
2121
"build": "rollup -c",
22-
"test": "NODE_ENV=test jest",
22+
"test": "cross-env NODE_ENV=test jest",
2323
"prepub": "npm run test && npm run build",
2424
"pub": "npm publish"
2525
},
@@ -30,6 +30,7 @@
3030
"devDependencies": {
3131
"@types/jest": "^24.0.13",
3232
"@types/node": "^12.0.2",
33+
"cross-env": "^5.2.0",
3334
"jest": "^24.8.0",
3435
"rollup": "^1.12.0",
3536
"rollup-plugin-node-resolve": "^5.0.0",

0 commit comments

Comments
 (0)
0