forked from freeCodeCamp/chapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.82 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
{
"name": "chapter",
"version": "0.0.1",
"description": "A self-hosted event management tool for nonprofits",
"main": "server/index.js",
"directories": {
"doc": "docs"
},
"engines": {
"node": "16.15.0",
"npm": "8.7.0"
},
"scripts": {
"dev:client": "npm -w=client run dev",
"dev:server": "npm -w=server run dev",
"db:seed": "npm run prisma -- db seed",
"db:sync": "npm run prisma -- db push --force-reset",
"db:reset": "npm run build:server && npm run db:sync && npm run db:seed",
"db:reset:users": "npm -w=server run reset:users",
"both": "concurrently \"npm run dev:server\" \"npm run dev:client\" \"./server/wait-for localhost:5000 -- npm -w=client run gen:dev\"",
"build": "npm run build:client && npm run build:server",
"build:client": "npm -w=client run build",
"build:server": "npm -w=server run build",
"build:docker-ci": "npx cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml -f docker-compose.ci.yml build",
"clean": "shx rm ./server/tsconfig.tsbuildinfo",
"gen": "npm -w=client run gen",
"start": "concurrently \"npm run start:server\" \"npm run start:client\"",
"start:server": "npm -w=server start",
"start:client": "npm -w=client start",
"start:docker": "npx cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d",
"stop:docker": "docker-compose down",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:coverage:report": "npx nyc report",
"test": "npx jest --coverage --verbose",
"test:watch": "npx jest --watchAll",
"postinstall": "node scripts/postInstall.js",
"lint": "eslint './**/*.{ts,tsx,js,jsx}'",
"lint-and-test": "npm run lint && npm run test",
"lint:fix": "eslint './**/*.{ts,tsx,js,jsx}' --fix",
"pretty": "prettier --write client/**/*.ts* server/**/*.ts",
"prepare": "is-docker || husky install",
"prisma": "npx -w=server dotenv -e ../.env -- prisma",
"reminders:send": "npm -w=server run reminders:send"
},
"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",
"devDependencies": {
"@faker-js/faker": "6.3.1",
"@testing-library/cypress": "8.0.2",
"@types/chai": "4.3.1",
"@types/jest": "27.4.1",
"@types/jsonwebtoken": "8.5.8",
"@types/node": "16.11.33",
"@types/nodemailer": "6.4.4",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.15",
"@types/sinon": "10.0.11",
"@types/sinon-chai": "3.2.8",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.19.0",
"@typescript-eslint/parser": "5.19.0",
"concurrently": "7.1.0",
"cross-env": "7.0.3",
"cypress": "9.5.4",
"cypress-mailhog": "1.4.0",
"cypress-wait-until": "1.7.2",
"dotenv": "16.0.0",
"eslint": "8.13.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react": "1.1.7",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "26.1.5",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"husky": "7.0.4",
"is-docker": "2.2.1",
"jest": "27.5.1",
"jsonwebtoken": "8.5.1",
"lint-staged": "12.3.8",
"prettier": "2.6.2",
"shx": "0.3.4",
"ts-jest": "27.1.4",
"typescript": "4.6.3",
"@cypress/code-coverage": "3.9.12"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"npm run pretty"
]
},
"nyc": {
"report-dir": "cypress-coverage"
},
"workspaces": [
"client",
"server"
]
}