forked from eBay/nice-modal-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.15 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
{
"name": "@ebay/nice-modal-react",
"version": "1.2.7",
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"repository": "https://github.com/eBay/nice-modal-react",
"scripts": {
"build": "rm -rf lib && yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"dev": "tsc -w",
"codecov": "codecov",
"gendoc": "typedoc",
"test": "jest"
},
"files": [
"/lib"
],
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"testMatch": [
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"testRunner": "<rootDir>/node_modules/jest-circus/runner.js",
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"resetMocks": true
},
"babel": {
"presets": [
"react-app"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"babel-preset-react-app": "^10.0.0",
"codecov": "^3.8.3",
"eslint": "^7.30.0",
"eslint-plugin-jest": "^24.3.7",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.10.1",
"jest": "^27.0.6",
"jest-circus": "^27.0.6",
"nyc": "^15.1.0",
"react": "^17.0.2",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.2",
"typedoc": "^0.21.7",
"typescript": "^4.3.5"
},
"resolutions": {
"glob-parent": "6.0.1"
},
"peerDependencies": {
"react": ">16.8.0",
"react-dom": ">16.8.0"
}
}