Skip to content

Commit

Permalink
Reorg scripts for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
teekay committed Nov 5, 2024
1 parent 708321f commit 4551248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
},
"scripts": {
"generate": "json2ts -i schemas/**/* -o generated/ && ts-auto-guard --paths ./generated/*.ts --export-all && ts-auto-guard --paths ./src/**/*.interface.ts --export-all",
"build": "tsc -p tsconfig.json",
"watch": "tsc -p tsconfig.json -w",
"api": "ts-node src/api.ts",
"web": "ts-node src/web.ts",
"cli": "ts-node src/cli.ts",
"sql": "pgtyped -c config.json",
"test": "jest",
"build:sass": "node-sass assets/scss -o public/css --output-style compressed",
"prebuild": "yarn generate",
"build": "tsc -p tsconfig.json",
"postbuild": "copyfiles \"./src/**/*.hbs\" \"./public/**/*\" \"./public/assets/**/*\" build",
"clean": "rm -rf build && rm -rf generated",
"ts-node": "ts-node",
Expand All @@ -25,7 +26,6 @@
"prestart": "node ./build/src/cli.js db:migrate",
"start": "node ./build/src/web.js",
"start-api": "node ./build/src/api.js",
"watch": "tsc -p tsconfig.json -w",
"func": "func start --verbose",
"zip:app": "zip -q -r webapp.zip . -x@.appserviceignore -x .appserviceignore",
"zip:api": "zip -q -r funcapp.zip . -x@.funcignore -x .funcignore"
Expand Down

0 comments on commit 4551248

Please sign in to comment.