Skip to content

Commit

Permalink
fixups for package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous committed Oct 25, 2023
1 parent 99bdb8d commit 6f72741
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"start": "tsc && electron .",
"build": "tsc && electron-builder build",
"tsc": "tsc",
"lint": "eslint --ext .ts ."
"lint": "eslint --ext .ts .",
"postinstall": "npm run tsc"
},
"keywords": [],
"author": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"scripts": {
"dev": "pm2-dev pm2.config.js",
"user-data-reset": "rm -rf user-data && mkdir user-data",
"zod-models-build": "npm run build -w zod-models",
"web": "WEB_PORT=8081 ADMIN_WS_PORT=1101 APP_WS_PORT=8101 npm run dev -w web",
"web2": "WEB_PORT=8082 ADMIN_WS_PORT=1102 APP_WS_PORT=8102 npm run dev -w web",
"web3": "WEB_PORT=8083 ADMIN_WS_PORT=1103 APP_WS_PORT=8103 npm run dev -w web",
Expand All @@ -23,10 +22,11 @@
"electron3": "WEB_PORT=8083 ACORN_AGENT_NUM=3 npm run start -w electron",
"electron4": "WEB_PORT=8084 ACORN_AGENT_NUM=4 npm run start -w electron",
"electron-tsc": "npm run tsc -w electron",
"build": "bash scripts/build.sh",
"download-happs": "bash scripts/download-happs.sh",
"zod-models-build": "npm run build -w zod-models",
"build": "bash scripts/build.sh",
"storybook": "npm run storybook -w web",
"postinstall": "npm run download-happs && npm run electron-tsc && npm run zod-models-build"
"postinstall": "npm run download-happs"
},
"author": "Connor Turland <[email protected]>",
"license": "CAL-1.0",
Expand Down
3 changes: 2 additions & 1 deletion zod-models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "dist/zodModels.js",
"scripts": {
"build": "npx tsc",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "npm run build"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit 6f72741

Please sign in to comment.