-
Notifications
You must be signed in to change notification settings - Fork 111
/
package.json
107 lines (107 loc) · 4.12 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
{
"name": "Together",
"version": "1.0.0",
"description": "Together is a new app designed for 100devs. Together is a group calendar for public events, so you can see what's going on in your community. We're making it easier to find out about the events that are happening in Discord and let you know how much fun they'll be!",
"main": "server.js",
"scripts": {
"start": "cd server && node server.js",
"dev": "npm --prefix server run dev",
"build": "npm --prefix client run build",
"dev-concurrent": "concurrently \"npm:start-client\" \"npm:dev\"",
"start-client": "npm --prefix client start",
"start-mockServer": "npm --prefix client run dev",
"dev-concurrent-mockServer": "concurrently \"npm:start-client\" \"npm:start-mockServer\"",
"lint": "eslint . && npm run prettier",
"lint:fix": "eslint --fix",
"prettier": "prettier --check \"./**/*.{js,jsx,ts,tsx,css,md,json}\" --config ./.prettierrc",
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" --config ./.prettierrc",
"test-backend": "cross-env NODE_ENV=test MOCK_USER=true jest --coverage --coverage-reporters=\"json\" && mkdir -p .nyc_output && mv coverage/coverage-final.json .nyc_output/coverage-final.json",
"coverage-concurrent": "concurrently \"npm --prefix client run start:coverage\" \"npm --prefix server run start:coverage\" \"npm --prefix server run dev:mongo\"",
"wait-for-coverage-concurrent": "cross-env MOCK_USER=false BROWSER=none DISABLE_ESLINT_PLUGIN=true NODE_ENV=test DB_STRING=mongodb://127.0.0.1:27017/ DISCORD_CLIENT_ID=1 DISCORD_CLIENT_SECRET=1 start-server-and-test coverage-concurrent http://127.0.0.1:3000",
"test-frontend": "npm run wait-for-coverage-concurrent -- \"cypress run\" && nyc merge server/.nyc_output .nyc_output/server.json && nyc report --reporter html --reporter lcov",
"dev-frontend-tests": "npm run wait-for-coverage-concurrent -- \"cypress open\"",
"test": "concurrently \"npm:test-backend\" \"npm:test-frontend\"",
"prepare": "husky install"
},
"author": "",
"license": "MIT",
"dependencies": {
"@js-temporal/polyfill": "^0.4.3",
"connect-mongo": "^3.2.0",
"cross-env": "^7.0.3",
"date-fns": "^2.29.3",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-flash": "^0.0.2",
"express-session": "^1.17.1",
"joi": "^17.7.0",
"mongodb": "^3.7.3",
"mongoose": "^5.12.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nanoid": "^3.3.4",
"passport": "^0.6.0",
"passport-discord": "^0.1.4",
"react-router-dom": "^6.13.0"
},
"devDependencies": {
"@cypress/code-coverage": "^3.10.0",
"@cypress/instrument-cra": "^1.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"autoprefixer": "^10.4.13",
"axios": "^1.1.3",
"concurrently": "^7.5.0",
"cypress": "^12.2.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"formidable": "^2.1.2",
"framer-motion": "^8.5.0",
"http-proxy-middleware": "^2.0.6",
"husky": "^8.0.3",
"jest": "^27.5.1",
"jsbi": "^4.3.0",
"json-server": "^0.17.1",
"lint-staged": "^13.1.2",
"mongodb-memory-server": "^8.10.1",
"nock": "^13.2.9",
"nodemon": "^2.0.20",
"nyc": "^15.1.0",
"postcss": "^8.4.18",
"prettier": "^2.8.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.39.3",
"react-icons": "^4.7.1",
"react-scripts": "5.0.1",
"start-server-and-test": "^1.15.2",
"supertest": "^6.3.3",
"tailwindcss": "^3.2.2",
"validator": "^13.6.0",
"web-vitals": "^2.1.4"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}