-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
121 lines (121 loc) · 2.82 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
111
112
113
114
115
116
117
118
119
120
121
{
"name": "react-hamburger-drawer",
"version": "21.11.27",
"description": "Simple lightweight react hamburger navigation drawer.",
"homepage": "https://github.com/vpodk/react-hamburger-drawer",
"repository": "github:vpodk/react-hamburger-drawer",
"license": "Apache-2.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/vpodk/react-hamburger-drawer/issues"
},
"scripts": {
"test": "jest --coverage",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
"build": "webpack"
},
"author": {
"name": "Valentin Podkamennyi",
"email": "[email protected]",
"url": "https://vpodk.com/"
},
"keywords": [
"hamburger menu",
"navigation drawer",
"react"
],
"dependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-focus-bounder": "^1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@testing-library/react": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"babel-loader": "^9.1.2",
"css-loader": "^6.5.1",
"eslint": "^8.3.0",
"eslint-plugin-react": "^7.26.1",
"eslint-webpack-plugin": "^4.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.3.1",
"style-loader": "^3.3.1",
"ts-jest": "^27.0.7",
"webpack": "^5.62.1",
"webpack-cli": "^5.1.4"
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(css|less|scss)$": "identity-obj-proxy"
},
"transform": {
"node_modules/react-focus-bounder/.+\\.(j|t)sx?$": "ts-jest",
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!react-focus-bounder/.*)"
]
},
"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"
},
"settings": {
"react": {
"version": "detect"
}
}
}
}