-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.3 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "rxcellent-global-packages",
"description": "git commit, commitizen, eslint, prettier, husky related libraries and scripts",
"version": "0.0.0",
"scripts": {
"prepare": "husky install",
"cz": "git add . && git-cz",
"lint:fix": "eslint ./**/src --ext .jsx,.js,.ts,.tsx --quiet --fix --ignore-path ./.gitignore",
"lint:format": "prettier --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" ",
"lint": "yarn lint:format && yarn lint:fix ",
"lint:lint-staged": "lint-staged",
"build": "sh build.sh"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"pre-commit": "^1.2.2",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"typescript": "^4.8.4"
},
"pre-commit": "lint",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./.cz-config.js"
}
},
"lint-staged": {
"./fe/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"./be/**/*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"./fe/**/*.{scss,less,styl,html}": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}