-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.48 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.48 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "react-hook-use-state",
"version": "1.1.0",
"description": "useState() with confidence",
"main": "lib/index.js",
"types": "index.d.ts",
"scripts": {
"build": "npm run clean && babel src --out-dir lib --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\"",
"clean": "rimraf lib coverage",
"cover": "npm run test -- --coverage",
"cover:codacy": "npm run cover && cat ./coverage/lcov.info | codacy-coverage",
"format": "eslint --max-warnings=0 --fix \"src/**/*.js\" && remark *.md --output",
"lint": "eslint --max-warnings=0 \"src/**/*.js\" && remark -f *.md",
"prepublishOnly": "npm run clean && npm run format && npm run lint && npm run test && npm run build",
"test": "jest --bail --verbose",
"test:watch": "npm run test -- --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"!(.eslintrc).js": [
"eslint --max-warnings=0"
],
"*.md": [
"remark -f"
]
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/we-code-now/react-hook-use-state.git"
},
"keywords": [
"react",
"hook",
"hooks",
"state",
"setState",
"set-state",
"useState",
"use-state"
],
"author": "Steven <steven@wecodenow.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/we-code-now/react-hook-use-state/issues"
},
"homepage": "https://github.com/we-code-now/react-hook-use-state#readme",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.3",
"babel-jest": "^24.9.0",
"codacy-coverage": "^3.4.0",
"eslint": "^6.1.0",
"eslint-config-airbnb": "^18.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"husky": "^3.0.3",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"remark-cli": "^7.0.0",
"remark-preset-lint-recommended": "^3.0.3",
"rimraf": "^3.0.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5"
}
}