-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
38 lines (38 loc) · 2.03 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
{
"scripts": {
"lint": "eslint . --ext .ts --ext .tsx --ext .js",
"prettier": "npx prettier --check .",
"prettier:write": "npx prettier --write .",
"build-server": "cd ./src/server && npm i && npm run build && cp -r ./dist/src/server/. ./../../build/",
"build-client": "cd ./src/client && npm i && npm run build && cp -r ./build/. ./../../build/dist/",
"build-client:coverage": "cd ./src/client && npm i && npm run build:coverage && cp -r ./build/. ./../../build/dist/",
"build-docs": "cd ./src/docs && npm i && npm run build && cp -r ./build/. ./../../build/dist/docs",
"copy-migrations": "cp -r ./src/server/migrations ./build/",
"install-deps": "cp ./src/server/package.json ./build/ && cp ./src/server/package.json ./build/ && cd build && npm install --production",
"build": "rm -rf ./build && npm run build-server && npm run build-client && npm run build-docs && npm run copy-migrations && npm run install-deps",
"build:coverage": "rm -rf ./build && npm run build-server && npm run build-client:coverage && npm run copy-migrations && npm run install-deps",
"start": "cd build && NODE_ENV=production node src/index.js",
"cypress": "cross-env CYPRESS_BASE_URL=http://localhost:3000 cypress run --browser chrome",
"cypress:open": "cross-env CYPRESS_BASE_URL=http://localhost:3000 cypress open"
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.12",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.5.0",
"cross-env": "^7.0.3",
"cypress": "^9.5.4",
"cypress-terminal-report": "^3.5.2",
"eslint": "^7.32.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.25.3",
"nyc": "^15.1.0",
"prettier": "2.5.1",
"supertest": "^6.1.6",
"typescript": "^4.5.2",
"use-resize-observer": "^8.0.0"
},
"dependencies": {
"@types/jsonwebtoken": "^8.5.7",
"react-icons": "^4.3.1"
}
}