1 | {
|
2 | "name": "@testing-library/react-hooks",
|
3 | "version": "3.3.0",
|
4 | "description": "Simple and complete React hooks testing utilities that encourage good testing practices.",
|
5 | "main": "lib/index.js",
|
6 | "keywords": [
|
7 | "testing",
|
8 | "react",
|
9 | "hooks",
|
10 | "unit",
|
11 | "integration"
|
12 | ],
|
13 | "files": [
|
14 | "lib",
|
15 | "src",
|
16 | "pure.js",
|
17 | "dont-cleanup-after-each.js"
|
18 | ],
|
19 | "author": "Michael Peyper <mpeyper7@gmail.com>",
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "https://github.com/testing-library/react-hooks-testing-library.git"
|
23 | },
|
24 | "license": "MIT",
|
25 | "scripts": {
|
26 | "prepare": "npm run build",
|
27 | "build": "babel --out-dir lib src",
|
28 | "format": "prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"",
|
29 | "coverage": "codecov",
|
30 | "test": "jest",
|
31 | "test:ci": "npm run test && npm run coverage",
|
32 | "docs:dev": "docz dev",
|
33 | "docs:build": "docz build",
|
34 | "contributors:add": "all-contributors add"
|
35 | },
|
36 | "dependencies": {
|
37 | "@babel/runtime": "^7.5.4",
|
38 | "@types/testing-library__react-hooks": "^3.0.0"
|
39 | },
|
40 | "devDependencies": {
|
41 | "@babel/cli": "7.10.1",
|
42 | "@babel/core": "7.10.2",
|
43 | "@babel/plugin-proposal-object-rest-spread": "7.10.1",
|
44 | "@babel/plugin-transform-modules-commonjs": "7.10.1",
|
45 | "@babel/plugin-transform-runtime": "7.10.1",
|
46 | "@babel/preset-env": "7.10.2",
|
47 | "@babel/preset-react": "7.10.1",
|
48 | "all-contributors-cli": "6.15.0",
|
49 | "babel-eslint": "10.1.0",
|
50 | "babel-plugin-module-resolver": "4.0.0",
|
51 | "codecov": "3.7.0",
|
52 | "docz": "2.3.1",
|
53 | "docz-theme-default": "1.2.0",
|
54 | "eslint": "7.1.0",
|
55 | "eslint-config-prettier": "6.11.0",
|
56 | "eslint-plugin-prettier": "3.1.3",
|
57 | "husky": "4.2.5",
|
58 | "jest": "26.0.1",
|
59 | "lint-staged": "10.2.9",
|
60 | "prettier": "2.0.5",
|
61 | "prettier-eslint": "10.1.1",
|
62 | "prettier-eslint-cli": "5.0.0",
|
63 | "react": "16.13.1",
|
64 | "react-test-renderer": "16.13.1"
|
65 | },
|
66 | "peerDependencies": {
|
67 | "react": ">=16.9.0",
|
68 | "react-test-renderer": ">=16.9.0"
|
69 | },
|
70 | "jest": {
|
71 | "collectCoverage": true,
|
72 | "coverageDirectory": "./coverage/",
|
73 | "collectCoverageFrom": [
|
74 | "**/src/**"
|
75 | ],
|
76 | "testURL": "http://localhost/"
|
77 | },
|
78 | "prettier": {
|
79 | "printWidth": 100,
|
80 | "semi": false,
|
81 | "singleQuote": true,
|
82 | "arrowParens": "always",
|
83 | "proseWrap": "always",
|
84 | "trailingComma": "none"
|
85 | },
|
86 | "eslintConfig": {
|
87 | "extends": [
|
88 | "plugin:prettier/recommended"
|
89 | ],
|
90 | "parser": "babel-eslint"
|
91 | },
|
92 | "husky": {
|
93 | "hooks": {
|
94 | "pre-commit": "lint-staged"
|
95 | }
|
96 | },
|
97 | "lint-staged": {
|
98 | "*.{js,ts,json,yml,md,mdx}": [
|
99 | "prettier-eslint --write"
|
100 | ]
|
101 | }
|
102 | }
|