1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00
_/frourio/server/package.json

50 lines
1.7 KiB
JSON

{
"name": "frourio-server",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "npm run migrate:up && run-p dev:*",
"dev:server": "webpack --watch --mode=development",
"dev:frourio": "frourio --watch",
"dev:prisma": "prisma generate --watch",
"build": "npm run build:frourio && webpack --mode=production",
"build:frourio": "npm run migrate:up && prisma generate && frourio",
"migrate": "npm run migrate:save && npm run migrate:up",
"migrate:save": "prisma migrate save --create-db --experimental",
"migrate:up": "prisma migrate up --create-db --experimental",
"migrate:down": "prisma migrate down --experimental",
"pm2:start": "pm2 start pm2.config.json --env production",
"pm2:stop": "pm2 stop pm2.config.json",
"pm2:delete": "pm2 delete pm2.config.json",
"pm2:logs": "pm2 logs",
"pm2:monit": "pm2 monit",
"start": "cross-env NODE_ENV=production node index.js"
},
"dependencies": {
"@prisma/client": "^2.8.0",
"class-validator": "^0.12.2",
"dotenv": "^8.2.0",
"fastify": "^3.7.0",
"fastify-auth": "^1.0.1",
"fastify-cors": "^4.1.0",
"fastify-helmet": "^5.0.3",
"fastify-multipart": "^3.3.0",
"fastify-static": "^3.3.0",
"pm2": "^4.4.1"
},
"devDependencies": {
"@prisma/cli": "^2.8.0",
"@types/busboy": "^0.2.3",
"cross-env": "^7.0.2",
"frourio": "^0.19.1",
"nodemon-webpack-plugin": "^4.3.2",
"npm-run-all": "^4.1.5",
"ts-loader": "^8.0.10",
"ts-node": "^9.0.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "^4.0.5",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-node-externals": "^2.5.2"
}
}