-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
59 lines (58 loc) · 1.69 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
59
{
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"start": "yarn icons",
"build": "yarn icons:build && yarn website:build",
"icons": "lerna exec --scope @radix-ui/react-icons -- yarn watch",
"icons:build": "lerna exec --scope @radix-ui/react-icons -- yarn build",
"website:build": "lerna exec --scope website -- yarn build",
"prettier": "prettier './**/*.{js,jsx,ts,tsx,json,yml,yaml,css,md,mdx}' --write",
"lint": "eslint './packages/**/*.{js,jsx,ts,tsx}'",
"clean": "npm run clean-logs && npm run clean-modules",
"clean-logs": "rimraf ./packages/*/npm-debug* && rimraf ./*-debug*",
"clean-modules": "rimraf ./packages/*/node_modules/ && rimraf ./node_modules/",
"release": "lerna publish"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"babel-eslint": "10.0.2",
"eslint": "5.16.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "3.11.1",
"eslint-plugin-import": "2.18.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.2",
"eslint-plugin-react-hooks": "1.6.1",
"husky": "^2.7.0",
"lerna": "^3.15.0",
"lint-staged": "^9.0.0",
"prettier": "^2.0.5",
"rimraf": "^2.6.3",
"yarnhook": "^0.4.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "yarnhook",
"post-checkout": "yarnhook",
"post-rewrite": "yarnhook"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{md,mdx,json}": [
"prettier --write",
"git add"
]
}
}