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

54 lines
2.2 KiB
JSON
Raw Normal View History

2020-10-12 13:35:33 +09:00
{
"name": "frourio",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "npm run migrate:up && run-p dev:*",
"dev:front": "next dev",
"dev:server": "cd server && node_modules/.bin/webpack --watch --mode=development",
"dev:aspida": "aspida --watch",
"dev:frourio": "cd server && node_modules/.bin/frourio --watch",
"dev:prisma": "cd server && node_modules/.bin/prisma generate --watch",
"build": "run-p build:front build:server",
"build:front": "aspida && next build && next export",
"build:server": "npm run migrate:up && npm run build:frourio && cd server && node_modules/.bin/webpack --mode=production",
"build:frourio": "cd server && node_modules/.bin/prisma generate && node_modules/.bin/frourio",
"build:types": "aspida && npm run build:frourio",
"install:server": "cd server && yarn install",
"lint": "eslint --ext .ts,.js,.tsx .",
"lint:fix": "npm run lint -- --fix",
"start": "run-p start:*",
"start:front": "next start",
"start:server": "cd server && cross-env NODE_ENV=production node index.js",
"typecheck": "npm run build:types && tsc --noEmit && tsc --noEmit -p server",
"migrate": "npm run migrate:save && npm run migrate:up",
"migrate:save": "cd server && node_modules/.bin/prisma migrate save --create-db --experimental",
"migrate:up": "cd server && node_modules/.bin/prisma migrate up --create-db --experimental",
"migrate:down": "cd server && node_modules/.bin/prisma migrate down --experimental"
},
"dependencies": {
"@aspida/fetch": "^0.10.0",
"@aspida/swr": "^0.2.0",
"class-validator": "^0.12.2",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"swr": "^0.3.5"
},
"devDependencies": {
"@types/node": "^14.11.2",
"@types/react": "^16.9.49",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"ts-loader": "^8.0.4",
"typescript": "^4.0.3"
}
}