Skip to content

Commit

Permalink
Use cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Nov 27, 2023
1 parent 85489f5 commit 3ce1d0b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
25 changes: 19 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"prebuild": "npm run lint",
"lint": "eslint --cache --ext .ts,.tsx src",
"build": "npm run build:server && npm run build:ui",
"build:server": "NODE_OPTIONS='--max-old-space-size=1024' tsc",
"build:server": "cross-env NODE_OPTIONS='--max-old-space-size=1024' tsc",
"build:ui": "node --experimental-modules build.mjs",
"prepare": "rimraf dist && npm run build",
"prestart": "npm run build",
"start": "node cli.js",
"serve": "npm run build:server && npm start",
"dev": "npm run serve & BUILD_MODE=development npm run build:ui",
"deploy": "rimraf dist/ui && IS_WEB=1 npm run build:ui && gh-pages --dist dist/ui",
"dev": "npm run serve & cross-env BUILD_MODE=development npm run build:ui",
"deploy": "rimraf dist/ui && cross-env IS_WEB=1 npm run build:ui && gh-pages --dist dist/ui",
"test": "jest"
},
"author": "Jeremy Rose <[email protected]>",
Expand Down Expand Up @@ -68,6 +68,7 @@
},
"dependencies": {
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.17.9",
"flatten-svg": "^0.3.0",
"optimize-paths": "^1.2.2",
Expand Down

0 comments on commit 3ce1d0b

Please sign in to comment.