-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
117 lines (117 loc) · 3.97 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
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "react-uniformed",
"version": "0.0.20",
"description": "Scalable forms for React using hooks",
"main": "dist/react-uniformed.js",
"types": "dist/index.d.ts",
"author": "Jay Harris <[email protected]>",
"license": "MIT",
"private": false,
"repository": "https://github.com/j-a-y-h/react-uniformed.git",
"homepage": "https://github.com/j-a-y-h/react-uniformed",
"keywords": [
"react",
"hooks",
"form",
"uniform",
"validation",
"react-hooks",
"react-hooks-form",
"react-form",
"react-form-hooks"
],
"scripts": {
"test": "jest",
"test:watch": "yarn test --watch",
"test:coverage": "rimraf ./coverage && yarn test --coverage --silent || true",
"test:coveralls": "yarn test --coverage --coverageReporters=text-lcov | coveralls",
"test:stability": "yarn test && yarn lint",
"lint": "eslint src --color",
"size": "yarn bundle:prod --silent && bundlesize",
"clean": "rimraf ./dist ./node_modules/.cache",
"start:examples": "yarn build:examples && webpack-dev-server --mode development --config=webpack.examples.config.js",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"open:report": "open-cli ./coverage/report.html -- 'google chrome'",
"open:coverage": "open-cli ./coverage/lcov-report/index.html -- 'google chrome'",
"bundle:prod": "yarn build --config ./webpack.prod.config.js",
"build": "yarn clean && webpack",
"build:prod": "yarn test:stability && yarn bundle:prod",
"build:js": "yarn clean && yarn tsc ./src/index.ts --target ESNEXT --outdir dist &> /dev/null",
"build:docs": "rimraf docs && yarn typedoc --ignoreCompilerErrors",
"build:examples": "yarn build --config ./webpack.examples.config.js && copyfiles -f examples/index.html dist",
"storybook": "yarn start-storybook",
"prettier": "prettier --write src",
"prettier:test": "prettier --write test"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-actions": "^5.3.9",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-info": "^5.3.9",
"@storybook/core": "^5.3.9",
"@storybook/react": "^5.3.9",
"@testing-library/react": "^9.5.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.0.17",
"@types/react": "^16.8.20",
"@types/react-dom": "^16.8.5",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"babel-polyfill": "^6.26.0",
"babel-preset-react-app": "^9.1.1",
"bundlesize": "^0.18.0",
"copyfiles": "^2.1.1",
"coveralls": "^3.0.6",
"eslint": "^7.4.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.6",
"eslint-plugin-tsdoc": "^0.2.5",
"husky": "^4.2.5",
"jest": "^25.1.0",
"jest-html-reporters": "^1.1.8",
"open-cli": "^5.0.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react": "^16.8.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"rimraf": "^2.6.3",
"ts-jest": "^25.1.0",
"ts-loader": "^6.2.1",
"typedoc": "^0.17.7",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^3.9.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.2",
"webpack-merge": "^4.2.2"
},
"bundlesize": [
{
"path": "./dist/react-uniformed.min.js",
"maxSize": "5.5 kB"
}
],
"husky": {
"hooks": {
"pre-push": "yarn test:stability",
"pre-commit": "pretty-quick --staged"
}
}
}