-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
144 lines (144 loc) · 4.96 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
136
137
138
139
140
141
142
143
144
{
"name": "VaaS",
"version": "0.4.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/oslabs-beta/VaaS"
},
"scripts": {
"dev:server": "nodemon --watch src/server/ --watch src/server --exec 'ts-node src/server/index.ts'",
"dev:windows": "nodemon --watch src/server/ --watch src/server --exec ts-node src/server/index.ts",
"dev:client": "yarn build:client && vite --config vite.config.ts dev --open",
"build": "rimraf dist && tsc -p tsconfig.prod.json && yarn build:client && yarn build:server && yarn copy-files",
"build:client": "vite build --outDir dist/client --ssrManifest",
"build:server": "vite build --ssr src/client/entry-server.tsx --outDir dist/server",
"test": "NODE_ENV=test vitest --environment jsdom",
"test:windows": "set NODE_ENV=test&&vitest --environment jsdom",
"test:server": "NODE_ENV=test nodemon --watch src/server/ --watch src/server --exec 'ts-node src/server/index.ts'",
"test:server/windows": "set NODE_ENV=test&&nodemon --watch src/server/ --watch src/server --exec ts-node src/server/index.ts",
"test:watch": "NODE_ENV=testvitest --watch",
"coverage": "NODE_ENV=test vitest --coverage",
"serve": "yarn build && cross-env NODE_ENV=production yarn ts-node ./server",
"serve:local": "vite serve",
"clean": "rimraf dist/",
"copy-files": "copyfiles images/* dist/assets && copyfiles index.html dist && copyfiles -f dist/client/assets/* dist/assets",
"prepare": "husky install",
"postinstall": "husky install",
"lint": "eslint --ext .js,.jsx,.ts,.tsx, src"
},
"dependencies": {
"@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0",
"@mui/icons-material": "^5.10.2",
"@mui/lab": "^5.0.0-alpha.110",
"@mui/material": "^5.10.2",
"@reduxjs/toolkit": "^1.8.4",
"@tanstack/react-query": "^4.19.0",
"@tanstack/react-query-devtools": "^4.19.1",
"@types/cookie-parser": "^1.4.3",
"@types/isomorphic-fetch": "^0.0.36",
"autoprefixer": "^10.4.8",
"axios": "^1.2.0",
"compression": "1.7.4",
"cookie-parser": "^1.4.6",
"cross-env": "^7.0.3",
"cypress-mongodb": "^5.1.4",
"isomorphic-fetch": "^3.0.0",
"material-ui-popup-state": "^5.0.4",
"nodemon": "^2.0.19",
"serve-static": "^1.15.0",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@loadable/component": "^5.15.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/bcrypt": "^5.0.0",
"@types/compression": "1.7.2",
"@types/concurrently": "6.4.0",
"@types/cors": "^2.8.12",
"@types/eslint": "8.4.6",
"@types/express": "^4.17.13",
"@types/findup-sync": "^4.0.2",
"@types/js-yaml": "^4.0.5",
"@types/jwt-simple": "^0.5.33",
"@types/loadable__component": "^5.13.4",
"@types/node": "18.7.14",
"@types/node-fetch": "^2.6.2",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/react-gauge-chart": "^0.4.0",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@types/supertest": "^2.0.12",
"@types/vis": "^4.21.24",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vitejs/plugin-react": "^2.0.1",
"@vitest/coverage-c8": "^0.28.4",
"bcrypt": "^5.1.0",
"bcryptjs": "^2.4.3",
"chart.js": "^4.0.1",
"concurrently": "7.3.0",
"copyfiles": "^2.4.1",
"core-js": "^3.26.1",
"cors": "^2.8.5",
"cypress": "^12.5.1",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.0.3",
"eslint": "^8.23.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.6",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.2",
"faker": "^6.6.6",
"findup-sync": "^5.0.0",
"fs": "^0.0.1-security",
"husky": "^8.0.2",
"install": "^0.13.0",
"js-yaml": "^4.1.0",
"jsdom": "^20.0.3",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^3.1.2",
"jwt-simple": "^0.5.6",
"lint-staged": "^13.0.4",
"mongoose": "^6.7.2",
"path": "^0.12.7",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"react-gauge-chart": "^0.4.0",
"react-graph-vis": "^1.0.7",
"react-json-view": "^1.21.3",
"react-redux": "^8.0.5",
"react-router-dom": "^6.4.3",
"react-scripts": "^5.0.1",
"redux-thunk": "^2.4.2",
"rimraf": "^3.0.2",
"supertest": "^6.3.3",
"typescript": "4.8.2",
"uuid": "^9.0.0",
"verror": "^1.10.1",
"vite": "3.0.9",
"vitest": "^0.28.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --config ./.prettierrc.js --write"
],
"src/**/*.{css,scss,md,html,json}": [
"prettier --config ./.prettierrc.js --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}