Add board compilation
This commit is contained in:
14
package.json
14
package.json
@@ -6,14 +6,17 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev-docker": "docker compose --profile dev up -d",
|
||||
"dev-server": "echo \"starting server\" && npm run withenv ./src/server/index.ts",
|
||||
"dev-server": "npm run withenv ./src/server/index.ts",
|
||||
"dev-build-client": "npm run withenv ./scripts/build.ts",
|
||||
"dev-watch-client": "npm run withenv ./scripts/watch.ts",
|
||||
"dev-migrate": "source ./.env && pg-migrations apply --directory ./src/database/migrations",
|
||||
"prod-migrate": "pg-migrations apply --directory ./src/database/migrations",
|
||||
"dev-start": "echo \"building frontend\" && npm run dev-build-client && echo \"starting server\" && npm run dev-server",
|
||||
"prod-build-client": "npm run withenv ./scripts/build.ts",
|
||||
"prod-docker": "docker compose --profile prod up -d",
|
||||
"prod-start": "echo \"building frontend\" && npm run prod-build-client && echo \"${DATABASE_URL}\" && echo \"running migrations\" && npm run prod-migrate && echo \"starting server\" && npm run withenv ./src/server/index.ts",
|
||||
"prod-server": "npm run withenv ./src/server/index.ts",
|
||||
"prod-start": "echo \"building frontend\" && npm run prod-build-client && echo \"starting server\" && npm run prod-server",
|
||||
"withenv": "tsx ./scripts/run-with-env.ts",
|
||||
"make-svgs": "npm run withenv ./scripts/make-svgs.ts",
|
||||
"compile-content": "npm run withenv ./scripts/compile-content.ts",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
@@ -30,9 +33,12 @@
|
||||
"@firebox/tsutil": "^0.1.2",
|
||||
"@sinclair/typebox": "^0.31.5",
|
||||
"@types/katex": "^0.16.7",
|
||||
"@types/object-hash": "^3.0.6",
|
||||
"dotenv": "^16.3.1",
|
||||
"execa": "^8.0.1",
|
||||
"fastify": "^4.22.0",
|
||||
"katex": "^0.16.10",
|
||||
"object-hash": "^3.0.0",
|
||||
"tsx": "^4.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user