-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
84 lines (84 loc) · 3.22 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
{
"name": "cmpct",
"version": "1.0.0",
"main": "build/index.js",
"repository": "[email protected]:link00000000/cmpct.git",
"author": "link00000000 <[email protected]>",
"license": "MIT",
"engines": {
"node": "14.x",
"yarn": "1.22.x"
},
"devDependencies": {
"@types/app-root-path": "^1.2.4",
"@types/async-redis": "^1.1.1",
"@types/express": "^4.17.11",
"@types/express-http-proxy": "^1.6.1",
"@types/mongodb": "^3.6.8",
"@types/ua-parser-js": "^0.7.35",
"@types/ws": "^7.4.0",
"cross-env": "^7.0.3",
"husky": "4",
"lint-staged": ">=10",
"ngrok": "^3.4.0",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1"
},
"dependencies": {
"app-root-path": "^3.0.0",
"async-redis": "^1.1.7",
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"http-proxy-middleware": "^1.0.6",
"http-status-codes": "^2.1.4",
"mongodb": "^3.6.4",
"mongoose": "^5.11.17",
"nanoid": "^3.1.20",
"spacetime": "^6.13.0",
"spacetime-informal": "https://github.com/spencermountain/spacetime-informal#2001ed63bed1a5031993e348c1cc303afaa835ca",
"typescript": "^4.1.3",
"ua-parser-js": "^0.7.24",
"winston": "^3.3.3",
"ws": "^7.4.3"
},
"scripts": {
"start": "cross-env NODE_ENV=production node build",
"clean": "rimraf build logs node_modules client/build client/node_modules *.log",
"build": "run-p --print-label --print-name build:*",
"build:server": "tsc",
"build:client": "yarn --cwd client build",
"dev": "run-s --silent dev:open-browser dev:databases dev:start",
"dev:start": "run-p --print-label --print-name --race dev:server dev:client",
"dev:open-browser": "open-cli http://localhost:8080",
"dev:server": "nodemon --watch index.ts --watch src --ext ts,json --exec cross-env NODE_ENV=development node -r ts-node/register --inspect index.ts",
"dev:client": "cross-env BROWSER=none NODE_ENV=development yarn --cwd client start",
"dev:databases": "run-s mongo:start redis:start",
"dev:databases-stop": "docker-compose down",
"dev:databases-clean": "docker volume rm cmpct_mongo-data cmpct_redis-data",
"lint:files": "prettier --write --ignore-unknown --ignore-path .gitignore",
"lint": "npm run lint:files .",
"mongo:start": "docker-compose up -d mongo",
"mongo:attach": "docker-compose exec mongo mongo",
"redis:start": "docker-compose up -d redis",
"redis:attach": "docker-compose exec redis redis-cli",
"heroku:deploy": "run-s heroku:dependencies build",
"heroku:dependencies": "cd client && yarn",
"heroku-postbuild": "yarn heroku:deploy",
"ngrok": "ngrok start --all --config ./ngrok.yml"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*": "npm run lint:files"
}
}