-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.63 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
{
"name": "workshop-react-state-management",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@babel/eslint-parser": "^7.15.0",
"@babel/eslint-plugin": "^7.14.5",
"babel-preset-react-union": "^0.20.0",
"chalk": "^4.1.0",
"eslint": "^7.32.0",
"eslint-config-lundegaard": "^0.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jest-formatting": "^3.0.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^9.0.1",
"husky": "^7.0.2",
"json-server": "^0.16.3",
"jest": "^27.2.0",
"lint-staged": "^10.2.9",
"prettier": "^2.3.2"
},
"scripts": {
"start": "yarn workshop start",
"start:server": "yarn server start",
"build": "yarn workshop build",
"init:dev": "node tools/setupDev",
"workshop": "yarn workspace @workshop/workshop",
"server": "yarn workspace @workshop/server",
"rq-server": "json-server --watch db.json --port 4002",
"lint": "eslint --ext .js ./",
"test": "jest --passWithNoTests",
"format": "prettier --ignore-path .gitignore --write '**/*.{js,ts,json}' && yarn lint --fix",
"format:check": "prettier --list-different --ignore-path .gitignore --write '**/*.{js,ts,json}' && yarn lint --fix",
"prepare": "husky install"
},
"workspaces": [
"workshop",
"exercises/*",
"solutions/*",
"packages/*"
],
"resolutions": {
"theme-ui": "0.3.1",
"@theme-ui/color": "0.3.1",
"@theme-ui/match-media": "0.3.1",
"@theme-ui/presets": "0.3.0",
"@theme-ui/prism": "0.3.0"
},
"lint-staged": {
"*.js": [
"prettier --write",
"yarn lint --cache --fix"
]
}
}