/
package.json
68 lines (68 loc) 路 1.74 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
{
"name": "react-use-form-state",
"version": "0.3.0",
"description": "React hook for managing form and inputs state",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"repository": "wsmd/react-use-form-state",
"homepage": "http://react-use-form-state.now.sh",
"bugs": {
"url": "https://github.com/wsmd/react-use-form-state/issues"
},
"author": "Waseem Dahman <dwaseem@icloud.com>",
"license": "MIT",
"keywords": [
"react",
"form",
"forms",
"state",
"hook"
],
"scripts": {
"build": "rollup -c && cp src/index.d.ts dist/index.d.ts",
"build:dev": "rollup -c -w",
"clean": "rm -rf dist",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"lint": "eslint src",
"prepack": "yarn lint && yarn test",
"prepublishOnly": "yarn clean && yarn build",
"test": "jest --coverage"
},
"files": [
"dist"
],
"jest": {
"watchPathIgnorePatterns": [
"dist"
],
"collectCoverageFrom": [
"src/**"
],
"coveragePathIgnorePatterns": [
"src/index.js"
]
},
"peerDependencies": {
"react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"coveralls": "^3.0.2",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"jest": "^23.6.0",
"react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.3"
}
}