Skip to content

Commit f80225d

Browse files
committed
chore(templates): replace rm -rf with rimraf & support cross-env
1 parent fdbff93 commit f80225d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

generators/app/templates/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"dev": "backpack dev",
1515
"prebuild": "yarn clean",
1616
"build": "backpack build",
17-
"start": "NODE_ENV=production node build/index.js",
18-
"purge": "rm -rf node_modules",
19-
"clean": "rm -rf build",
17+
"start": "cross-env NODE_ENV=production node build/index.js",
18+
"purge": "rimraf node_modules",
19+
"clean": "rimraf build",
2020
"format": "prettier --write --ignore-path .gitignore .",
2121
"format:check": "prettier --check --ignore-path .gitignore .",
2222
"lint": "eslint --quiet --ignore-path .gitignore --ext .ts .",
@@ -28,6 +28,7 @@
2828
"dependencies": {
2929
"@boringcodes/utils": "*",
3030
"body-parser": "*",
31+
"cross-env": "*",
3132
"express": "*",
3233
"http-status-codes": "*",
3334
"morgan": "*",
@@ -53,6 +54,7 @@
5354
"husky": "*",
5455
"lint-staged": "*",
5556
"prettier": "*",
57+
"rimraf": "*",
5658
"standard-version": "*",
5759
"typescript": "*"
5860
}

0 commit comments

Comments
 (0)