forked from Together-100Devs/Together
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 3.08 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 3.08 KB
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
{
"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",
"engines": {
"node": ">=22.14.0"
},
"scripts": {
"client:build": "npm run build --workspace=client",
"client:dev": "npm start --workspace=client",
"client:start": "npm start --workspace=client",
"dev": "concurrently \"npm:client:dev\" \"npm:server:dev\"",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css,md,json}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,md,json}\"",
"lint": "eslint .",
"lint:fix": "eslint --fix",
"prepare": "husky install",
"prettier": "prettier --check \"**/*.{js,jsx,ts,tsx,css,md,json}\" --config ./.prettierrc",
"server:coverage": "npm run start:coverage --workspace=server",
"server:dev": "npm run dev --workspace=server",
"server:dev:mongo": "npm run dev:mongo --workspace=server",
"server:start": "npm run start --workspace=server",
"start": "npm run client:build && npm run server:start",
"start-client": "cd client && npm start",
"test": "concurrently \"npm:test:backend\" \"npm:test:frontend\"",
"test:backend": "cross-env MOCK_USER=true jest --coverage --coverage-reporters=\"json\" && mkdir -p .nyc_output && mv coverage/coverage-final.json .nyc_output/coverage-final.json",
"test:e2e": "cross-env MOCK_USER=false NODE_ENV=test DB_STRING=mongodb://127.0.0.1:27017/ DISCORD_CLIENT_ID=1 DISCORD_CLIENT_SECRET=1 concurrently --success command-cypress --kill-others --names client,mongodb,server,cypress \"npm:client:start\" \"npm:server:dev:mongo\" \"wait-on http-get://localhost:27017/ && npm run --workspace=server start:coverage\" \"wait-on http://localhost:3000 && cypress run\"",
"test:e2e:dev": "cross-env MOCK_USER=false NODE_ENV=test DB_STRING=mongodb://127.0.0.1:27017/ DISCORD_CLIENT_ID=1 DISCORD_CLIENT_SECRET=1 concurrently --success command-cypress --kill-others --names client,mongodb,server,cypress \"npm:client:start\" \"npm:server:dev:mongo\" \"wait-on http-get://localhost:27017/ && npm run --workspace=server start:coverage\" \"wait-on http://localhost:3000 && cypress open\"",
"test:frontend": "echo \"No tests yet\" && exit 0"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@cypress/code-coverage": "^3.14.1",
"concurrently": "^7.5.0",
"cross-env": "^7.0.3",
"cypress": "^12.2.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.20",
"husky": "^8.0.3",
"jest": "^27.5.1",
"lint-staged": "^13.1.2",
"prettier": "^2.8.3",
"wait-on": "^8.0.3"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
]
},
"workspaces": [
"client",
"server"
]
}