-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
61 lines (61 loc) · 2.13 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
60
61
{
"private": true,
"workspaces": {
"packages": ["packages/*"],
"nohoist": ["**/mdlz-prmtz"]
},
"scripts": {
"init": "yarn radix-system:build && yarn radix:build",
"start": "npm-run-all --parallel radix-system radix radix:storybook website",
"website": "lerna exec --scope website -- yarn start",
"website:build": "lerna exec --scope website -- yarn build",
"radix": "lerna exec --scope @modulz/radix -- yarn watch",
"radix:storybook": "lerna exec --scope @modulz/radix -- yarn storybook",
"radix:build": "lerna exec --scope @modulz/radix -- yarn build",
"radix-system": "lerna exec --scope @modulz/radix-system -- yarn watch",
"radix-system:build": "lerna exec --scope @modulz/radix-system -- yarn build",
"build": "yarn radix-system:build && yarn radix:build && yarn website: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": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"babel-eslint": "10.0.3",
"eslint": "6.7.2",
"eslint-config-react-app": "^5.1.0",
"eslint-plugin-flowtype": "4.5.2",
"eslint-plugin-import": "2.19.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-react-hooks": "2.3.0",
"husky": "^3.1.0",
"lerna": "^3.19.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"yarnhook": "^0.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && lerna exec --scope @modulz/radix -- yalc check",
"post-rewrite": "yarnhook"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{md,json}": [
"prettier --write",
"git add"
]
}
}