forked from testing-library/react-hooks-testing-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.57 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
{
"name": "@sstdev/react-hooks",
"version": "3.2.1",
"description": "Simple and complete React hooks testing utilities that encourage good testing practices.",
"main": "lib/index.js",
"keywords": [
"testing",
"react",
"hooks",
"unit",
"integration"
],
"files": [
"lib",
"src",
"pure.js",
"dont-cleanup-after-each.js"
],
"author": "Michael Peyper <mpeyper7@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/testing-library/react-hooks-testing-library.git"
},
"license": "MIT",
"scripts": {
"prepare": "npm run build",
"build": "babel --out-dir lib src",
"format": "prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"",
"coverage": "codecov",
"test": "jest",
"test:ci": "npm run test && npm run coverage",
"docs:dev": "docz dev",
"docs:build": "docz build",
"contributors:add": "all-contributors add"
},
"dependencies": {
"@babel/runtime": "^7.5.4",
"@types/testing-library__react-hooks": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "7.10.1",
"@babel/core": "7.10.1",
"@babel/plugin-proposal-object-rest-spread": "7.10.1",
"@babel/plugin-transform-modules-commonjs": "7.10.1",
"@babel/plugin-transform-runtime": "7.10.1",
"@babel/preset-env": "7.10.1",
"@babel/preset-react": "7.10.1",
"all-contributors-cli": "6.15.0",
"babel-eslint": "10.1.0",
"babel-plugin-module-resolver": "4.0.0",
"codecov": "3.7.0",
"docz": "2.3.1",
"docz-theme-default": "1.2.0",
"eslint": "7.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.3",
"husky": "4.2.5",
"jest": "26.0.1",
"lint-staged": "10.2.7",
"prettier": "2.0.5",
"prettier-eslint": "10.1.1",
"prettier-eslint-cli": "5.0.0",
"react": "16.13.1",
"react-test-renderer": "16.13.1"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-test-renderer": ">=16.9.0"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"**/src/**"
],
"testURL": "http://localhost/"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"arrowParens": "always",
"proseWrap": "always",
"trailingComma": "none"
},
"eslintConfig": {
"extends": [
"plugin:prettier/recommended"
],
"parser": "babel-eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,json,yml,md,mdx}": [
"prettier-eslint --write",
"git add"
]
}
}