59 lines
2.1 KiB
JSON
59 lines
2.1 KiB
JSON
{
|
|
"name": "firstack",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Firstack is a template repo for a tech stack.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"makeuser": "npm run withenv ./scripts/makeuser.ts",
|
|
"dev-docker": "docker compose --profile dev up -d",
|
|
"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": "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",
|
|
"withenv": "tsx ./scripts/run-with-env.ts",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.playbox.link/dylan/firstack.git"
|
|
},
|
|
"author": "",
|
|
"license": "UNLICENSED",
|
|
"dependencies": {
|
|
"@databases/pg": "^5.4.1",
|
|
"@fastify/cookie": "^9.0.4",
|
|
"@fastify/secure-session": "^7.1.0",
|
|
"@fastify/static": "^6.10.2",
|
|
"@firebox/components": "^0.1.5",
|
|
"@firebox/tsutil": "^0.1.2",
|
|
"@sinclair/typebox": "^0.31.5",
|
|
"dotenv": "^16.4.5",
|
|
"execa": "^8.0.1",
|
|
"fastify": "^4.22.0",
|
|
"isomorphic-git": "^1.25.6",
|
|
"react-pico-8": "^4.1.0",
|
|
"react-router-dom": "^6.18.0",
|
|
"uuid": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@databases/pg-migrations": "^5.0.2",
|
|
"@emotion/css": "^11.11.2",
|
|
"@emotion/react": "^11.11.1",
|
|
"@types/node": "^20.11.30",
|
|
"@types/react": "^18.2.21",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@types/uuid": "^9.0.7",
|
|
"esbuild": "^0.19.2",
|
|
"nodemon": "^3.0.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-icons": "^4.10.1",
|
|
"tsx": "^4.7.1",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|