-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.35 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
{
"name": "rc-project-server",
"version": "1.0.0",
"main": "app.ts",
"license": "MIT",
"dependencies": {
"@types/jest": "^27.0.1",
"axios": "^0.21.1",
"connect-mongo": "^4.4.1",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-session": "^1.17.2",
"helmet": "^4.6.0",
"mongodb-memory-server": "^6.9.6",
"mongoose": "^5.12.14",
"simple-oauth2": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/express-session": "^1.17.3",
"@types/node": "^16.6.0",
"@types/simple-oauth2": "^4.1.0",
"@types/supertest": "^2.0.11",
"dotenv": "^10.0.0",
"jest": "^27.0.6",
"supertest": "^6.1.3",
"ts-node-dev": "^1.1.6",
"typescript": "^4.3.4"
},
"scripts": {
"remove:builds": "cd client && rm -rf build && cd .. && rm -rf dist",
"dev": "NODE_ENV=development ts-node-dev --require dotenv/config src/server.ts",
"test:server": "NODE_ENV=test jest",
"test:e2e": "cd client && yarn cypress run",
"start:devStatic": "NODE_ENV=development node --require dotenv/config dist/server.js",
"start:test": "NODE_ENV=test node --require dotenv/config dist/server.js",
"start:testStatic": "yarn build && yarn start:test",
"start": "node dist/server.js",
"build:client": "cd client && yarn install --production=false && export SKIP_PREFLIGHT_CHECK=true && yarn build && cd ..",
"build:server": "yarn tsc",
"build": "yarn remove:builds && yarn build:client && yarn build:server",
"deploy": "git add . && git commit -m deploy && git push heroku main"
},
"jest": {
"verbose": false,
"testPathIgnorePatterns": [
"<rootDir>/client/cypress/"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
},
"repository": "github:artsze/rc-prjkt",
"engines": {
"node": ">=14.x"
}
}