preliminary stuff
This commit is contained in:
16
package.json
16
package.json
@@ -6,15 +6,14 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev-docker": "docker compose --profile dev up -d",
|
||||
"dev-server": "echo \"starting server\" && npm run dev-ts ./src/server/index.ts",
|
||||
"dev-ts": "nodemon --require 'dotenv/config'",
|
||||
"dev-watch-client": "ts-node ./scripts/watch.ts",
|
||||
"dev-server": "echo \"starting server\" && npm run withenv ./src/server/index.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",
|
||||
"prod-build-client": "ts-node ./scripts/build.ts",
|
||||
"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 \"running migrations\" && npm run prod-migrate && echo \"starting server\" && npm run prod-ts ./src/server/index.ts",
|
||||
"prod-ts": "ts-node --require 'dotenv/config'",
|
||||
"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",
|
||||
"withenv": "tsx ./scripts/run-with-env.ts",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
@@ -30,8 +29,11 @@
|
||||
"@firebox/components": "^0.1.7",
|
||||
"@firebox/tsutil": "^0.1.2",
|
||||
"@sinclair/typebox": "^0.31.5",
|
||||
"@types/katex": "^0.16.7",
|
||||
"dotenv": "^16.3.1",
|
||||
"fastify": "^4.22.0"
|
||||
"fastify": "^4.22.0",
|
||||
"katex": "^0.16.10",
|
||||
"tsx": "^4.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@databases/pg-migrations": "^5.0.2",
|
||||
|
||||
Reference in New Issue
Block a user