-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.76 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
{
"name": "cutopia",
"version": "1.0.0",
"workspaces": [
"types",
"frontend",
"backend"
],
"private": true,
"description": "CUtopia is a course review and timetable planning website for CUHK students.",
"repository": "https://github.com/cutopia-labs/CUtopia.git",
"license": "MIT",
"scripts": {
"fe": "yarn workspace cutopia-frontend",
"be": "yarn workspace cutopia-backend",
"types": "yarn workspace cutopia-types",
"prebootstrap": "yarn && yarn types build && yarn load-data",
"bootstrap": "yarn prebootstrap && yarn bootstrap:all",
"bootstrap:fe": "yarn prebootstrap && yarn fe bootstrap",
"bootstrap:all": "yarn fe bootstrap && yarn be bootstrap",
"prepare": "husky install",
"load-data": "git submodule update --init --remote",
"mount-data": "yarn fe move-data && yarn be move-data",
"loadnmount": "yarn load-data && yarn mount-data",
"build:fe": "yarn fe build",
"test": "jest",
"postinstall": "yarn types build",
"reinstall": "lerna clean --yes && yarn"
},
"devDependencies": {
"@types/nprogress": "^0.2.0",
"@types/pluralize": "^0.0.29",
"@types/jest": "^28.1.6",
"@types/loader-utils": "^2.0.3",
"@types/lodash": "^4.14.182",
"@types/node": "^18.7.13",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^28.0.0",
"lerna": "^5.4.3",
"lint-staged": ">=11.1.2",
"prettier": "^2.3.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
}
}