-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
107 lines (107 loc) · 2.62 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
{
"name": "react-test",
"version": "0.21.3",
"description": "Expressive testing library for React to make sure your code works as expected. Write better code, ship fewer bugs.",
"homepage": "https://react-test.dev/",
"repository": "https://github.com/franciscop/react-test.git",
"bugs": "https://github.com/franciscop/react-test/issues",
"funding": "https://www.paypal.me/franciscopresencia/19",
"author": "Francisco Presencia <[email protected]> (https://francisco.io/)",
"license": "MIT",
"scripts": {
"build": "rollup -c",
"lint": "prettier src --write",
"size": "echo $(gzip -c index.js | wc -c) bytes",
"start": "jest src/ --watch",
"pretest": "prettier --write readme.md src",
"test": "jest ./src/ --coverage --detectOpenHandles"
},
"keywords": [
"react",
"test",
"testing",
"expressive",
"jest"
],
"main": "index.js",
"files": [],
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"babel-polyfill": "^6.26.0",
"core-js": "^3.6.4",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-react": "^7.19.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"prettier": "^2.4.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0"
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"src/**/*.js"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 3
}
],
"@babel/preset-react"
]
},
"eslintConfig": {
"env": {
"node": true,
"commonjs": true,
"es6": true,
"browser": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"jest"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"react/prop-types": "off"
}
}
}