-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
35 lines (35 loc) · 1.06 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
{
"private": true,
"workspaces": [
"packages/*"
],
"resolutions": {
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0"
},
"description": "Workspace for react-sticky-box",
"scripts": {
"lint": "eslint --max-warnings=0 'packages/*/src/**/*.{js,jsx,ts,tsx}'",
"is-prettier": "prettier --list-different 'packages/*/src/**/*.{js,json,css,jsx,ts,tsx,md,mdx}'",
"prettier": "prettier --write",
"prettier:all": "prettier --write 'packages/*/src/**/*.{js,json,css,jsx,ts,tsx,md,mdx}'",
"precommit": "lint-staged",
"prepare": "husky install",
"build:docs": "yarn workspace react-sticky-box build && yarn workspace @react-sticky-box/docs build"
},
"devDependencies": {
"eslint": "^8.52.0",
"eslint-config-react-app": "^7.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3"
},
"lint-staged": {
"packages/*/src/**/*.{js,json,css,mdx,jsx,ts,tsx,md,mdx} *.js": [
"npm run prettier",
"npm run lint",
"git add"
]
},
"version": "0.0.1"
}