-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
93 lines (93 loc) · 3 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
{
"name": "messenger",
"version": "1.0.0",
"main": "index.js",
"author": "Roshan Acharya",
"license": "MIT",
"scripts": {
"dev:server": "cross-env NODE_ENV=development ts-node-dev -r dotenv/config --transpileOnly --no-notify server/server.ts",
"dev:client": "cross-env SKIP_PREFLIGHT_CHECK=true npm start --prefix client",
"build:server": "tsc",
"build:client": "npm run build --prefix client",
"build:css": "npm run build:css --prefix client",
"develop": "cross-env NODE_ENV=development concurrently \"npm run dev:server\" \"npm run dev:client\"",
"build": "concurrently \"npm run build:server\" \"npm run build:css\" \"npm run build:client\"",
"lint": "eslint . --fix --ext .ts",
"codegen": "npm run codegen --prefix client",
"start": "node dist/server.js",
"start:prod": "cross-env NODE_ENV=production node -r dotenv/config dist/server.js",
"lint-staged": "lint-staged"
},
"dependencies": {
"@typegoose/typegoose": "^7.2.0",
"@types/react-router-dom": "^5.1.5",
"@types/react-syntax-highlighter": "^11.0.4",
"apollo-server-express": "^2.15.0",
"axios": "^0.19.2",
"bcryptjs": "^2.4.3",
"class-validator": "^0.12.2",
"colors": "^1.4.0",
"connect-mongodb-session": "^2.3.3",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-mongo-sanitize": "^2.0.0",
"express-session": "^1.17.1",
"express-static-gzip": "^2.0.7",
"graphql": "^15.2.0",
"graphql-passport": "^0.6.3",
"helmet": "^3.23.3",
"hpp": "^0.2.3",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.9.20",
"multer": "^1.4.2",
"passport": "^0.4.1",
"passport-auth0": "^1.3.3",
"querystring": "^0.2.0",
"react-showdown": "^2.1.0",
"reflect-metadata": "^0.1.13",
"sharp": "^0.25.4",
"showdown-highlight": "^2.1.4",
"showdown-youtube": "^1.2.1",
"slugify": "^1.4.4",
"type-graphql": "^1.0.0-rc.2",
"uniqid": "^5.2.0",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@types/connect-mongodb-session": "^0.0.3",
"@types/express": "^4.17.6",
"@types/express-mongo-sanitize": "^1.3.2",
"@types/express-session": "^1.17.0",
"@types/helmet": "^0.0.47",
"@types/hpp": "^0.2.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/mongoose": "^5.7.28",
"@types/multer": "^1.4.3",
"@types/node": "^14.0.14",
"@types/passport": "^1.0.3",
"@types/passport-auth0": "^1.0.4",
"@types/sharp": "^0.25.0",
"@types/uniqid": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"concurrently": "^5.2.0",
"eslint": "6.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"ts-node-dev": "^1.0.0-pre.49",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"*.{ts}": "eslint --cache --fix"
}
}