Skip to content

Commit 9220ba8

Browse files
authored
Merge pull request #60 from lelemathrin/main
add `cross-env` package to avoid Node errors
2 parents 311a6e8 + b6b01cb commit 9220ba8

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dependencies": {
1010
"commander": "^11.1.0",
1111
"crawlee": "^3.0.0",
12+
"cross-env": "^7.0.3",
1213
"glob": "^10.3.10",
1314
"inquirer": "^9.2.12",
1415
"playwright": "*",
@@ -24,8 +25,8 @@
2425
"scripts": {
2526
"preinstall": "npx playwright install",
2627
"start": "npm run start:dev",
27-
"start:cli": "NODE_ENV=development npm run build && node dist/src/cli.js",
28-
"start:dev": "NODE_ENV=development npm run build && node dist/src/main.js",
28+
"start:cli": "cross-env NODE_ENV=development npm run build && node dist/src/cli.js",
29+
"start:dev": "cross-env NODE_ENV=development npm run build && node dist/src/main.js",
2930
"start:prod": "node dist/main.js",
3031
"build": "tsc",
3132
"fmt": "prettier --write ."

0 commit comments

Comments
 (0)