-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
executable file
·104 lines (104 loc) · 3.37 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "usetheform",
"version": "3.4.1",
"description": "React library for composing declarative forms in React and managing their state.",
"main": "./build/index.js",
"module": "./build/es/index.js",
"types": "./build/index.d.ts",
"repository": "github:iusehooks/usetheform",
"homepage": "https://iusehooks.github.io/usetheform",
"scripts": {
"build": "npm run clean && node ./build_config/build.js",
"clean": "rimraf build coverage",
"prepare": "npm run clean && npm run lint && npm run test && npm run build",
"lint": "eslint --ext .jsx --ext .js src __tests__ examples cypress --fix",
"pretest": "npm run lint",
"test": "cross-env NODE_ENV=test jest -u",
"test:watch": "npm run test -- --watch",
"test:cov": "npm test -- --coverage",
"coveralls": "npm run test:cov && cat ./coverage/lcov.info | coveralls",
"docz:dev": "rimraf .docz && docz dev",
"docz:build": "docz build",
"docz:serve": "docz build && docz serve",
"dev": "rimraf dev coverage && concurrently \"node ./build_config/dev.js\" \"browser-sync start --server examples --ss dev --files dev --files examples\"",
"cy:open": "npx cypress open",
"cy:run": "npx cypress run",
"cy:server": "rimraf dev coverage && concurrently \"node ./build_config/dev.js\" \"browser-sync start --server cypress/server --ss dev --files dev --files cypress/server\""
},
"author": "Antonio Pangallo (https://github.com/antoniopangallo)",
"files": [
"build/index.js",
"build/index.d.ts",
"build/index.es.js",
"build/es",
"build/umd"
],
"keywords": [
"usetheform",
"form",
"state",
"react form",
"react-hooks",
"hooks"
],
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@reach/router": "^1.3.4",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-replace": "^2.3.4",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"browser-sync": "^2.26.13",
"child_process": "^1.0.2",
"concurrently": "^5.3.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"cypress": "^6.6.0",
"docz": "^2.3.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"gatsby": "2.29.1",
"gatsby-link": "^2.8.0",
"gatsby-plugin-sass": "^2.8.0",
"gatsby-react-router-scroll": "^3.4.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-json-tree": "^0.13.0",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-terser": "^7.0.2"
},
"jest": {
"testRegex": "(/__tests__/.*\\.spec\\.js)$",
"collectCoverageFrom": [
"src/**/{!(index),}.js"
]
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
}
}