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

Commit beaefaf

Browse files
author
rsavian
committed
remove cross-env where not needed
1 parent a86b632 commit beaefaf

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Diff for: package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
"description": "Simple React Hot Loading example with Hapi Server-side rendering",
55
"scripts": {
66
"---------- HELPERS -----------------------------------------------------------------------------": "",
7-
"remove": "cross-env rimraf dist",
8-
"buildServer": "cross-env tsc -project tsconfig.server.json",
9-
"watchServer": "cross-env tsc -watch -project tsconfig.server.json",
10-
"removeAndBuildServer": "cross-env npm run remove && npm run buildServer",
7+
"remove": "rimraf dist",
8+
"buildServer": "tsc -project tsconfig.server.json",
9+
"watchServer": "tsc -watch -project tsconfig.server.json",
10+
"removeAndBuildServer": "npm run remove && npm run buildServer",
1111
"start": "cross-env NODE_ENV=production node ./dist/server.js",
1212
"---------- DEVELOPMENT -------------------------------------------------------------------------": "",
13-
"predev": "cross-env npm run removeAndBuildServer",
14-
"dev": "cross-env npm run watchServer & npm run devServer",
13+
"predev": "npm run removeAndBuildServer",
14+
"dev": "npm run watchServer & npm run devServer",
1515
"devServer": "cross-env BABEL_ENV=client NODE_ENV=development nodemon ./dist/server.js",
1616
"---------- STAGING -----------------------------------------------------------------------------": "",
17-
"prestaging:build": "cross-env npm run removeAndBuildServer",
17+
"prestaging:build": "npm run removeAndBuildServer",
1818
"staging:build": "cross-env BABEL_ENV=client NODE_ENV=staging webpack",
19-
"staging": "cross-env npm run staging:build && npm run start",
19+
"staging": "npm run staging:build && npm run start",
2020
"---------- PRODUCTION --------------------------------------------------------------------------": "",
21-
"preprod:build": "cross-env npm run removeAndBuildServer",
21+
"preprod:build": "npm run removeAndBuildServer",
2222
"prod:build": "cross-env BABEL_ENV=client NODE_ENV=production webpack -p",
23-
"prod": "cross-env npm run prod:build && npm run start",
23+
"prod": "npm run prod:build && npm run start",
2424
"---------- TESTING -----------------------------------------------------------------------------": "",
25-
"test": "cross-env npm run lint && npm run unit",
26-
"lint": "cross-env tslint 'src/**/*.ts{,x}' --exclude 'src/_declare/**/*'",
27-
"unit": "cross-env jest",
25+
"test": "npm run lint && npm run unit",
26+
"lint": "tslint 'src/**/*.ts{,x}' --exclude 'src/_declare/**/*'",
27+
"unit": "jest",
2828
"------------------------------------------------------------------------------------------------": ""
2929
},
3030
"repository": {

0 commit comments

Comments
 (0)