generated from danedwardsdeveloper/express-react-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.92 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
{
"name": "metacritic100",
"version": "1.0.0",
"description": "An API and React app served by Express",
"main": "./dist/server/server.js",
"type": "module",
"scripts": {
"dev": "concurrently \"nodemon --quiet --config nodemon.server.json\" \"pnpm --prefix client run dev\"",
"test": "vitest test/server",
"build": "tsc -p tsconfig.json && cd client && pnpm run build && cd .. && docker build -t metacritic100 . && docker run -p 3000:3000 --env-file .env -e EXPRESS_ENV=build --rm --name express-react-container metacritic100",
"docker": "tsc -p tsconfig.json && cd client && pnpm run build && cd .. && docker build -t metacritic-monorepo . && docker run -p 3000:3000 --env-file .env -e EXPRESS_ENV=build --rm --name metacritic-monorepo-container metacritic-monorepo",
"deploy": "cd ops && node checkVariables && cd .. && tsc -p tsconfig.json && cd client && pnpm run build:production && cd .. && fly deploy $(grep -v '^#' .env | xargs -I {} echo '-e {}')",
"e2e": "vitest"
},
"author": "Dan Edwards",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"bcrypt": "^5.1.1",
"chalk": "^4.1.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"express": "^4.19.2",
"http": "0.0.1-security",
"jsonwebtoken": "^9.0.2",
"mongodb": "^6.8.0",
"mongoose": "^8.5.1",
"nodemon": "^3.1.4"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.14.11",
"@types/supertest": "^6.0.2",
"chai": "^5.1.1",
"chai-http": "^5.0.0",
"chromedriver": "^127.0.0",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"less": "^4.2.0",
"mocha": "^10.7.0",
"open": "^10.1.0",
"puppeteer": "^22.14.0",
"selenium-webdriver": "^4.23.0",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"vitest": "^2.0.4"
}
}