-
Notifications
You must be signed in to change notification settings - Fork 232
/
Copy pathpackage.json
96 lines (96 loc) · 2.34 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
{
"name": "react-hooks-testing-library",
"version": "0.4.0",
"description": "Simple component wrapper for testing React hooks",
"main": "lib/index.js",
"typings": "typings/index.d.ts",
"files": [
"lib",
"src",
"typings",
"cleanup-after-each.js",
"README.md",
"LICENSE.md"
],
"author": "Michael Peyper",
"repository": {
"type": "git",
"url": "https://github.com/mpeyper/react-hooks-testing-library.git"
},
"license": "MIT",
"scripts": {
"prepare": "npm run build",
"build": "babel --out-dir lib src",
"format": "prettier-eslint --write \"**/*.{js,json,md}\"",
"coverage": "codecov",
"test": "jest",
"test:ci": "npm run test && npm run coverage",
"contributors:add": "all-contributors add"
},
"dependencies": {
"@babel/runtime": "^7.4.2",
"react-testing-library": "^6.0.3"
},
"devDependencies": {
"@babel/cli": "7.4.3",
"@babel/core": "7.4.3",
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/plugin-transform-modules-commonjs": "7.4.3",
"@babel/plugin-transform-runtime": "7.4.3",
"@babel/preset-env": "7.4.3",
"@babel/preset-react": "7.0.0",
"@types/react": "16.8.13",
"all-contributors-cli": "6.3.0",
"babel-eslint": "10.0.1",
"babel-plugin-module-resolver": "3.2.0",
"codecov": "3.3.0",
"eslint": "5.16.0",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-prettier": "3.0.1",
"husky": "1.3.1",
"jest": "24.7.1",
"lint-staged": "8.1.5",
"prettier": "1.17.0",
"prettier-eslint": "8.8.2",
"prettier-eslint-cli": "4.7.1",
"react": "16.8.6",
"react-dom": "16.8.6",
"typescript": "3.4.3",
"typings-tester": "0.3.2"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"**/src/**"
],
"testURL": "http://localhost/"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"arrowParens": "always"
},
"eslintConfig": {
"extends": [
"plugin:prettier/recommended"
],
"parser": "babel-eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md}": [
"prettier-eslint --write",
"git add"
]
}
}