Skip to content

Commit e362c6a

Browse files
committed
Removed cross-env
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent d3ed777 commit e362c6a

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"babel-plugin-pkg": "^1.0.1",
1313
"babel-preset-jaid": "^5.2.1",
1414
"caniuse-lite": "^1.0.30000940",
15-
"cross-env": "^5.2.0",
1615
"eslint": "^5.15.0",
1716
"eslint-config-jaid": "^1.12.0",
1817
"jest": "^24.1.0",
@@ -22,15 +21,15 @@
2221
},
2322
"scripts": {
2423
"clean": "rimraf dist/ test/**/dist/",
25-
"babel:prod": "rimraf dist/src-transpiled/production && cross-env NODE_ENV=production babel --out-dir dist/src-transpiled/production --source-maps true src",
24+
"babel:prod": "rimraf dist/src-transpiled/production && NODE_ENV=production babel --out-dir dist/src-transpiled/production --source-maps true src",
2625
"babel:dev": "rimraf dist/src-transpiled/development && babel --out-dir dist/src-transpiled/development src",
27-
"babel:test": "rimraf dist/src-transpiled/test && cross-env NODE_ENV=test babel --out-dir dist/src-transpiled/test src",
28-
"build:prod": "cross-env NODE_ENV=production webpack",
26+
"babel:test": "rimraf dist/src-transpiled/test && NODE_ENV=test babel --out-dir dist/src-transpiled/test src",
27+
"build:prod": "NODE_ENV=production webpack",
2928
"build:dev": "webpack",
30-
"test": "npm run build:prod && cross-env NODE_ENV=production MAIN=dist/package/production jest --runInBand",
29+
"test": "npm run build:prod && NODE_ENV=production MAIN=dist/package/production jest --runInBand",
3130
"test:coverage": "npm run test:dev -- --coverage --json --outputFile=dist/jest/stats.json",
32-
"test:dev": "cross-env NODE_ENV=test jest --runInBand",
33-
"test:debug": "cross-env DEBUG=\"$(basename $PWD),$(basename $PWD):*\" NODE_ENV=test node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
34-
"release": "npm run clean && npm test && cross-env git tag v$npm_package_version && git push --tags && cross-env opn https://github.com/$npm_package_author_name/$(basename $PWD)/releases/new?tag=v$npm_package_version"
31+
"test:dev": "NODE_ENV=test jest --runInBand",
32+
"test:debug": "DEBUG=\"$(basename $PWD),$(basename $PWD):*\" NODE_ENV=test node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
33+
"release": "npm run clean && npm test && git tag v$npm_package_version && git push --tags && opn https://github.com/$npm_package_author_name/$(basename $PWD)/releases/new?tag=v$npm_package_version"
3534
}
3635
}

0 commit comments

Comments
 (0)