forked from rolling-scopes/rsschool-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.45 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
{
"name": "rsschool-app",
"version": "1.0.0",
"private": true,
"scripts": {
"postinstall": "concurrently \"cd ./client && npm install\" \"cd ./server && npm install\"",
"start": "concurrently \"cd ./client && npm start\" \"cd ./server && npm start\"",
"test": "cd ./client && npm run test && cd ../server && npm run test && cd ..",
"test-watch": "cd ./client && npm run test-watch && cd ../server && npm run test-watch",
"coverage": "cd ./client && npm run coverage && cd ../server && npm run coverage",
"lint": "eslint . --ext .ts,.tsx",
"format": "prettier --write \"server/**/*.{ts,tsx}\" \"client/**/*.{ts,tsx,js}\" \"common/**/*.{ts,tsx,js}\"",
"ci:format": "prettier --check \"server/**/*.{ts,tsx}\" \"client/**/*.{ts,tsx,js}\"",
"ci:lint": "eslint . --ext .ts,.tsx",
"ci:build": "concurrently \"cd ./client && npm run ci:build\" \"cd ./server && npm run build\"",
"db:restore": "docker exec -i db psql -U rs_master -d rs_school < ./setup/backup-local.sql",
"db:dump": "pg_dump -h localhost --username rs_master rs_school --file ./setup/backup-local.sql",
"db:up": "docker-compose -f ./setup/docker-compose.yml up -d",
"db:down": "docker-compose -f ./setup/docker-compose.yml down"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.23.0",
"concurrently": "6.1.0",
"eslint": "7.26.0",
"prettier": "2.3.0",
"typescript": "4.2.4"
}
}