-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
135 lines (135 loc) · 4.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "incidental",
"version": "0.1.3",
"main": "index.js",
"repository": "https://github.com/yeukfei02/incidental.git",
"author": "Donald Wu <yeukfei02@gmail.com>",
"license": "MIT",
"engines": {
"node": "16.16.0",
"npm": "8.11.0",
"yarn": "1.22.19"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.2",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/serve-static": "^3.0.0",
"@prisma/client": "^5.3.0",
"axios": "^1.2.2",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"dayjs": "^1.11.7",
"helmet": "^6.0.1",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.4.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.0.0",
"tslib": "^2.3.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@faker-js/faker": "^7.6.0",
"@nestjs/config": "^2.2.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@nrwl/cypress": "15.4.2",
"@nrwl/eslint-plugin-nx": "15.4.2",
"@nrwl/jest": "15.4.2",
"@nrwl/linter": "15.4.2",
"@nrwl/nest": "15.4.2",
"@nrwl/node": "15.4.2",
"@nrwl/nx-cloud": "latest",
"@nrwl/react": "^15.4.2",
"@nrwl/vite": "^15.4.2",
"@nrwl/workspace": "15.4.2",
"@testing-library/react": "13.4.0",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/helmet": "^4.0.0",
"@types/jest": "28.1.1",
"@types/jsonwebtoken": "^9.0.0",
"@types/lodash": "^4.14.191",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"@types/react-router-dom": "5.3.3",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vitejs/plugin-react": "^3.0.0",
"@vitest/coverage-c8": "~0.25.8",
"@vitest/ui": "^0.25.8",
"autoprefixer": "^10.4.13",
"cypress": "^11.0.0",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"git-cz": "^4.9.0",
"husky": "^8.0.0",
"jest": "28.1.1",
"jest-environment-jsdom": "28.1.1",
"jsdom": "~20.0.3",
"nx": "15.4.2",
"postcss": "^8.4.20",
"prettier": "^2.6.2",
"prisma": "^5.3.0",
"react-test-renderer": "18.2.0",
"standard-version": "^9.5.0",
"tailwindcss": "^3.2.4",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"typescript": "~4.8.2",
"vite": "^4.0.1",
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "^4.0.2",
"vitest": "^0.25.8"
},
"scripts": {
"dev": "nx run-many --target=serve --all",
"dev:api": "nx serve api",
"dev:web": "nx serve web",
"start": "node ./dist/apps/api/main.js",
"prebuild": "rimraf ./dist",
"build": "yarn run build:api && yarn run build:web",
"build:api": "nx build api && cp ./apps/api/prisma/schema.prisma ./dist/apps/api",
"build:web": "nx build web",
"test": "yarn run test:api && yarn run test:web",
"test:api": "nx test api",
"test:web": "nx test web",
"lint": "yarn run lint:api && yarn run lint:web",
"lint:api": "nx lint api",
"lint:web": "nx lint web",
"format": "prettier --write 'apps/**/*.{ts,tsx}'",
"prisma:generate": "npx prisma db pull --schema=./apps/api/prisma/schema.prisma && npx prisma generate --schema=./apps/api/prisma/schema.prisma",
"prisma:migrate:dev": "npx prisma migrate dev --schema=./apps/api/prisma/schema.prisma",
"prisma:migrate:reset": "npx prisma migrate reset --schema=./apps/api/prisma/schema.prisma",
"prisma:migrate:deploy": "npx prisma migrate deploy --schema=./apps/api/prisma/schema.prisma",
"prisma:migrate:status": "npx prisma migrate status --schema=./apps/api/prisma/schema.prisma",
"prisma:db:push": "npx prisma db push --schema=./apps/api/prisma/schema.prisma",
"prisma:db:seed": "npx prisma db seed --schema=./apps/api/prisma/schema.prisma",
"prisma:validate": "npx prisma validate --schema=./apps/api/prisma/schema.prisma",
"prisma:format": "npx prisma format --schema=./apps/api/prisma/schema.prisma",
"prisma:studio": "npx prisma studio --schema=./apps/api/prisma/schema.prisma",
"commit": "git-cz",
"release": "standard-version",
"heroku-postbuild": "yarn run build && yarn run prisma:generate",
"prepare": "husky install"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} ./apps/api/prisma/seed.ts"
}
}