Skip to content

Commit eaecefe

Browse files
committed
Add cross-env
1 parent af728f4 commit eaecefe

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@
66
"homepage": "./",
77
"scripts": {
88
"react:start": "react-scripts start",
9-
"build": "BUILD_PATH='./react' react-scripts build",
10-
"start": "npm run react:build; electron .",
9+
"build": "cross-env BUILD_PATH='./react' react-scripts build",
10+
"start": "npm run build; electron .",
1111
"electron": "electron .",
12-
"dist:linux": "npm run react:build; electron-builder --linux",
12+
"dist:linux": "npm run build; electron-builder --linux",
1313
"dist:linux:noRebuild": "electron-builder --linux",
1414
"dist:mac:noRebuild": "electron-builder --mac",
15-
"dist:mac": "npm run react:build; electron-builder --mac"
15+
"dist:mac": "npm run build; electron-builder --mac"
1616
},
1717
"author": "N-Ziermann <n-ziermann@protonmail.com>",
1818
"license": "MIT",
1919
"dependencies": {
2020
"classnames": "^2.3.1",
2121
"cli-truncate": "^3.1.0",
22+
"cross-env": "^7.0.3",
2223
"express": "^4.17.2",
2324
"ip": "^1.1.5",
2425
"open": "^8.4.0",

0 commit comments

Comments
 (0)