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

51 lines
1.7 KiB
JSON
Raw Normal View History

2020-10-12 13:35:33 +09:00
{
"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",
2020-11-19 16:16:33 +09:00
"build": "npm run build:frourio && webpack --mode=production",
"build:frourio": "npm run migrate:up && prisma generate && frourio",
2020-10-12 13:35:33 +09:00
"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",
2020-11-19 16:16:33 +09:00
"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",
2020-10-12 13:35:33 +09:00
"start": "cross-env NODE_ENV=production node index.js"
},
"dependencies": {
"@prisma/client": "^2.8.0",
"class-validator": "^0.12.2",
"dotenv": "^8.2.0",
2020-11-19 16:16:33 +09:00
"fastify": "^3.7.0",
2020-10-12 13:35:33 +09:00
"fastify-auth": "^1.0.1",
"fastify-cors": "^4.1.0",
"fastify-helmet": "^5.0.3",
2020-11-19 16:16:33 +09:00
"fastify-multipart": "^3.3.0",
"fastify-static": "^3.3.0",
"pm2": "^4.4.1"
2020-10-12 13:35:33 +09:00
},
"devDependencies": {
"@prisma/cli": "^2.8.0",
2020-11-19 16:16:33 +09:00
"@types/busboy": "^0.2.3",
2020-10-12 13:35:33 +09:00
"cross-env": "^7.0.2",
2020-11-19 16:16:33 +09:00
"frourio": "^0.19.1",
2020-10-12 13:35:33 +09:00
"nodemon-webpack-plugin": "^4.3.2",
"npm-run-all": "^4.1.5",
2020-11-19 16:16:33 +09:00
"ts-loader": "^8.0.10",
2020-10-12 13:35:33 +09:00
"ts-node": "^9.0.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
2020-11-19 16:16:33 +09:00
"typescript": "^4.0.5",
2020-10-12 13:35:33 +09:00
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-node-externals": "^2.5.2"
}
}