generated from wayfair-incubator/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
110 lines (110 loc) · 2.53 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
108
109
110
{
"name": "react-focus-bounder",
"version": "1.1.6",
"description": "Focus looping component based on focus bounders.",
"homepage": "https://github.com/wayfair-incubator/react-focus-bounder",
"repository": "github:wayfair-incubator/react-focus-bounder",
"license": "MIT",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/wayfair-incubator/react-focus-bounder/issues"
},
"scripts": {
"build": "webpack",
"lint": "eslint --ext .ts,.tsx ./",
"test": "jest --coverage"
},
"keywords": [
"focus-bounder",
"focus-loop",
"focus-trap",
"react"
],
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.7",
"@babel/preset-env": "7.23.8",
"@babel/preset-react": "7.23.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^18.0.0",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.34.0",
"eslint-plugin-react": "^7.32.2",
"jest": "^27.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^27.1.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"peerDependencies": {
"react": "^16.4.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.4.0 || ^17.0.0 || ^18.0.0"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"no-empty": "warn",
"react/jsx-uses-react": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
}
}
}