forked from freeCodeCamp/chapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 4.07 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
{
"name": "chapter",
"version": "0.0.1",
"description": "A self-hosted event management tool for nonprofits",
"main": "server/index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"dev": "ts-node-dev --no-notify -P tsconfig.server.json ./server/app.ts",
"typeorm": "ts-node -P tsconfig.server.json ./node_modules/.bin/typeorm",
"db:generate": "yarn typeorm migration:generate -n",
"db:drop": "yarn typeorm schema:drop",
"db:seed": "ts-node -P tsconfig.server.json ./db/generator/index.ts",
"db:migrate": "yarn typeorm migration:run",
"db:reset": "yarn db:drop && yarn db:migrate && yarn db:seed",
"both": "concurrently \"yarn dev\" \"yarn --cwd='./client' dev\"",
"build:client": "yarn --cwd='./client' build",
"start": "ts-node -P tsconfig.server.json ./server/production.ts",
"production": "yarn build:client && yarn start",
"test": "npx jest --coverage --verbose",
"test:watch": "npx jest --watchAll",
"postinstall": "node scripts/postInstall.js",
"lint": "eslint './**/*.{ts,tsx,js,jsx}'",
"lint:fix": "eslint './**/*.{ts,tsx,js,jsx}' --fix",
"pretty": "prettier --write client/**/*.ts* server/**/*.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freeCodeCamp/chapter.git"
},
"keywords": [
"chapter",
"meetup",
"open-source"
],
"author": "[email protected]",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/freeCodeCamp/chapter/issues"
},
"homepage": "https://github.com/freeCodeCamp/chapter#readme",
"dependencies": {
"@types/cors": "^2.8.7",
"apollo-server-express": "^2.16.1",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-transform-typescript-metadata": "^0.2.2",
"class-validator": "^0.12.2",
"cors": "^2.8.5",
"cross-fetch": "^3.0.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"express-response-errors": "^1.0.4",
"faker": "^4.1.0",
"fork-ts-checker-webpack-plugin": "^1.5.1",
"graphql": "^15.3.0",
"is-docker": "^2.0.0",
"morgan": "^1.9.1",
"next": "^9.5.1",
"nodemailer": "^6.3.1",
"pg": "^8.0.3",
"pg-hstore": "^2.3.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.1.3",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"type-graphql": "^1.0.0-rc.3",
"typeorm": "^0.2.20",
"typescript": "^3.9.7"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@testing-library/react": "^9.3.0",
"@types/bluebird": "^3.5.28",
"@types/chai": "^4.2.4",
"@types/express": "^4.17.1",
"@types/faker": "^4.1.8",
"@types/get-port": "^4.2.0",
"@types/jest": "^25.1.4",
"@types/morgan": "^1.7.37",
"@types/next": "^8.0.6",
"@types/node": "^14.14.6",
"@types/nodemailer": "^6.2.2",
"@types/pg": "^7.14.5",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"@types/sinon-chai": "^3.2.3",
"@types/supertest": "^2.0.8",
"@types/swagger-ui-express": "^4.1.1",
"@types/validator": "^10.11.3",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"chai": "^4.2.0",
"concurrently": "^5.2.0",
"cross-env": "^6.0.3",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.4.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-jest": "^22.20.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"get-port": "^5.0.0",
"husky": "^3.0.9",
"jest": "^25.1.0",
"lint-staged": "^9.4.2",
"nodemon": "^1.19.4",
"prettier": "^1.19.1",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-node-dev": "^1.0.0-pre.56"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"npm run pretty",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.8"
}
}