-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.19 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 2.19 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
{
"name": "eslint-plugin-react-prefer-function-component-development",
"description": "ESLint plugin that prevents the use of JSX class components",
"license": "MIT",
"author": "Tate <tatethurston@gmail.com>",
"homepage": "https://github.com/tatethurston/eslint-plugin-react-prefer-function-component#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/tatethurston/eslint-plugin-react-prefer-function-component.git"
},
"bugs": {
"url": "https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues"
},
"scripts": {
"build": "yarn clean && yarn tsc",
"build:watch": "yarn build --watch",
"clean": "rm -rf dist/*",
"lint": "yarn typecheck && prettier --check . && prettier-package-json --list-different package.json && eslint .",
"lint:fix": "prettier --write . && prettier-package-json --write package.json && eslint --fix .",
"lint:fix:md": "prettier --write '*.md'",
"lint:fix:package": "prettier-package-json --write package.json",
"lint:fix:ts": "eslint --fix './src/**/*.ts{,x}'",
"package:build": "yarn build && yarn package:prune && yarn package:copy:files",
"package:copy:files": "cp ./LICENSE ./README.md dist/ && cp ./public.package.json dist/package.json",
"package:prune": "find dist -name test.* -delete",
"test": "yarn jest src/*",
"test:ci": "yarn test --coverage",
"typecheck": "yarn tsc --noEmit",
"typecheck:watch": "yarn typecheck --watch"
},
"devDependencies": {
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@types/eslint": "^8.4.1",
"@types/estree": "^0.0.51",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.30",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"codecov": "^3.8.3",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^4.3.0",
"jest": "^28.0.3",
"prettier": "^2.6.2",
"prettier-package-json": "^2.6.3",
"typescript": "^4.6.4"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
}
}