1 | {
|
2 | "name": "jslint-configs",
|
3 | "version": "3.0.0",
|
4 | "description": "The best linting configurations for JS, React, React Native, Node and Jest",
|
5 | "main": "index.js",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "ssh+https://github.com/InamTaj/jslint-configs.git"
|
9 | },
|
10 | "homepage": "https://github.com/InamTaj/jslint-configs",
|
11 | "author": {
|
12 | "name": "Inam Taj",
|
13 | "email": "inamullahtaj@gmail.com",
|
14 | "url": "https://github.com/InamTaj/"
|
15 | },
|
16 | "scripts": {
|
17 | "lint": "eslint --config config-node.js *.js",
|
18 | "lint-staged": "lint-staged",
|
19 | "format:markdown": "prettier --parser markdown --write ./*.md",
|
20 | "clean": "rimraf dist",
|
21 | "prebuild": "yarn clean",
|
22 | "build": "mkdir dist; cp config*.js dist; cp index.js dist; cp package.json dist; cp README.md dist;",
|
23 | "preminify": "yarn build",
|
24 | "minify": "find dist -iname \"*.js\" -exec yarn uglifyjs {} --compress -o {} \\;",
|
25 | "prepublish": "yarn lint-staged && yarn minify"
|
26 | },
|
27 | "devDependencies": {
|
28 | "eslint": "^7.9.0",
|
29 | "husky": "^4.3.0",
|
30 | "lint-staged": "^10.3.0",
|
31 | "prettier": "^2.1.1",
|
32 | "rimraf": "^3.0.2",
|
33 | "uglify-js": "^3.10.4"
|
34 | },
|
35 | "dependencies": {
|
36 | "babel-eslint": "^10.1.0",
|
37 | "eslint-plugin-import": "^2.18.2",
|
38 | "eslint-plugin-jest": "^24.0.1",
|
39 | "eslint-plugin-node": "^11.1.0",
|
40 | "eslint-plugin-react": "^7.17.0",
|
41 | "eslint-plugin-react-hooks": "^4.1.2",
|
42 | "eslint-plugin-react-native": "^3.10.0"
|
43 | },
|
44 | "peerDependencies": {
|
45 | "eslint": ">=6"
|
46 | },
|
47 | "husky": {
|
48 | "hooks": {
|
49 | "pre-commit": "yarn lint-staged"
|
50 | }
|
51 | },
|
52 | "lint-staged": {
|
53 | "*.{js,jsx}": [
|
54 | "yarn lint --fix"
|
55 | ],
|
56 | "*.md": [
|
57 | "yarn format:markdown"
|
58 | ]
|
59 | },
|
60 | "engines": {
|
61 | "node": ">=8",
|
62 | "npm": ">=6"
|
63 | },
|
64 | "license": "MIT",
|
65 | "keywords": [
|
66 | "linting",
|
67 | "eslint",
|
68 | "react",
|
69 | "node",
|
70 | "jest",
|
71 | "hooks"
|
72 | ],
|
73 | "private": false,
|
74 | "bugs": "https://github.com/InamTaj/jslint-configs/issues"
|
75 | }
|