forked from freeCodeCamp/chapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.89 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
{
"name": "chapter",
"version": "0.0.1",
"description": "A self-hosted event management tool for nonprofits",
"main": "server/index.js",
"directories": {
"doc": "docs"
},
"engines": {
"node": "18.16.0",
"npm": "8.19.4"
},
"scripts": {
"dev:client": "dotenv -- npm -w=client run dev",
"dev:server": "npm -w=server run dev",
"dev:server:coverage": "npm -w=server run dev:coverage",
"db:migrate:dev": "npm run prisma migrate dev",
"db:migrate:reset": "npm run prisma migrate reset -- --force",
"db:reset": "npm run -w=server build && npm run prisma db push && npm run prisma db seed",
"both": "concurrently -c 'auto' \"npm run dev:server\" \"npm run dev:client\" \"./server/wait-for localhost:5000 -- npm -w=client run gen:dev\"",
"both:coverage": "cross-env NODE_ENV=test concurrently \"npm run dev:server:coverage\" \"npm run dev:client\" \"./server/wait-for localhost:5000 -- npm -w=client run gen:dev\"",
"build": "cross-env NODE_ENV=production docker compose -f docker-compose.yml build",
"build:coverage": "cross-env NODE_ENV=test npm run build",
"clean": "shx rm ./server/tsconfig.tsbuildinfo && npm run prisma -- generate",
"gen": "npm -w=client run gen",
"start": "docker compose -f docker-compose.yml -f docker-compose.production.yml up -d",
"start:ci": "docker compose -f docker-compose.yml -f docker-compose.ci.yml up -d",
"stop": "docker compose down",
"change-user": "node scripts/change-user.js",
"change-user:banned": "npm run change-user [email protected]",
"change-user:test": "npm run change-user [email protected]",
"change-user:admin": "npm run change-user [email protected]",
"change-user:owner": "npm run change-user [email protected]",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:coverage:report": "npx nyc report",
"test": "jest --coverage --verbose",
"test:watch": "jest --watchAll",
"postinstall": "node scripts/postInstall.js && npm run change-user:owner",
"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.7",
"@types/jest": "29.5.1",
"@types/node-fetch": "2.6.3",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"concurrently": "7.6.0",
"cross-env": "7.0.3",
"cypress": "10.11.0",
"cypress-mailhog": "1.7.0",
"cypress-wait-until": "1.7.2",
"dotenv": "16.0.3",
"eslint": "8.39.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-react": "1.1.7",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "26.9.0",
"eslint-plugin-no-only-tests": "2.6.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"husky": "8.0.3",
"is-docker": "2.2.1",
"jest": "29.5.0",
"jest-environment-jsdom": "28.1.3",
"lint-staged": "13.2.1",
"prettier": "2.8.8",
"shx": "0.3.4",
"ts-jest": "29.1.0",
"typescript": "5.0.4"
},
"nyc": {
"report-dir": "cypress-coverage"
},
"workspaces": [
"client",
"server"
]
}