-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.91 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "jslint-configs",
"version": "3.0.1",
"description": "The best linting configurations for JS, React, React Native, Node and Jest",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "ssh+https://github.com/InamTaj/jslint-configs.git"
},
"homepage": "https://github.com/InamTaj/jslint-configs",
"author": {
"name": "Inam Taj",
"email": "[email protected]",
"url": "https://github.com/InamTaj/"
},
"scripts": {
"lint": "eslint --config config-node.js *.js",
"lint-staged": "lint-staged",
"format:markdown": "prettier --parser markdown --write ./*.md",
"clean": "rimraf dist",
"prebuild": "yarn clean",
"build": "mkdir dist; cp config*.js dist; cp index.js dist; cp package.json dist; cp README.md dist;",
"preminify": "yarn build",
"minify": "find dist -iname \"*.js\" -exec yarn uglifyjs {} --compress -o {} \\;",
"prepare": "yarn lint-staged && yarn minify"
},
"devDependencies": {
"eslint": "^7.9.0",
"husky": "^4.3.0",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"uglify-js": "^3.10.4"
},
"dependencies": {
"babel-eslint": "^10.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-react-native": "^3.10.0"
},
"peerDependencies": {
"eslint": ">=6"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"yarn lint --fix"
],
"*.md": [
"yarn format:markdown"
]
},
"engines": {
"node": ">=8",
"npm": ">=6"
},
"license": "MIT",
"keywords": [
"linting",
"eslint",
"react",
"node",
"jest",
"hooks"
],
"private": false,
"bugs": "https://github.com/InamTaj/jslint-configs/issues"
}