Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 951ff97

Browse files
committed
using cross-env
1 parent 8aae585 commit 951ff97

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
"test": "jasmine-focused --captureExceptions --coffee spec",
1616
"lint": "coffeelint spec/*.coffee",
1717
"bower": "shx cp lib/* dist",
18-
"babel": "npm run clean && shx cp -r src lib && env NODE_ENV=development env BABEL_ENV=development babel lib --out-dir lib",
19-
"dev": "npm run clean && env NODE_ENV=development env BABEL_ENV=production rollup -c -w",
20-
"build": "npm run clean && env NODE_ENV=production env BABEL_ENV=production rollup -c ",
21-
"prepare": "npm run build && npm run bower",
22-
"prepublish": "npm run clean && npm run build && npm run bower"
18+
"babel": "npm run clean && shx cp -r src lib && cross-env NODE_ENV=development cross-env BABEL_ENV=development babel lib --out-dir lib",
19+
"dev": "npm run clean && cross-env NODE_ENV=development cross-env BABEL_ENV=production rollup -c -w",
20+
"build": "npm run clean && cross-env NODE_ENV=production cross-env BABEL_ENV=production rollup -c ",
21+
"prepare": "npm run clean && npm run build && npm run bower"
2322
},
2423
"repository": {
2524
"type": "git",
@@ -49,7 +48,8 @@
4948
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
5049
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
5150
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
52-
"shx": "^0.3.2"
51+
"shx": "^0.3.2",
52+
"cross-env": "^7.0.2"
5353
},
5454
"coffeelintConfig": {
5555
"no_empty_param_list": {

0 commit comments

Comments
 (0)