-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
91 lines (91 loc) · 2.31 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": "react-hooks-use-modal",
"version": "3.3.1",
"author": "shibe97",
"description": "A react hook which can open the modal with react-portal",
"repository": {
"type": "git",
"url": "git+https://github.com/microcmsio/react-hooks-use-modal.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/microcmsio/react-hooks-use-modal/issues"
},
"homepage": "https://github.com/microcmsio/react-hooks-use-modal#readme",
"source": "src/index.tsx",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./future": {
"import": "./dist/future/index.mjs",
"require": "./dist/future/index.js"
}
},
"dependencies": {
"body-scroll-lock": "^4.0.0-beta.0",
"focus-trap-react": "^10.0.2"
},
"devDependencies": {
"@types/body-scroll-lock": "^3.1.0",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"css-loader": "^6.7.2",
"esbuild-css-modules-plugin": "^2.6.3",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"gh-pages": "^2.1.1",
"html-webpack-plugin": "^5.3.2",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"style-loader": "^3.3.1",
"ts-loader": "^8.2.0",
"tsup": "^6.5.0",
"typescript": "^4.3.5",
"webpack": "^5.50.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"scripts": {
"lint": "eslint --ext .ts --ext .tsx . --cache",
"build": "tsup",
"watch": "tsup --watch",
"start:demo": "webpack-dev-server --mode development",
"build:demo": "webpack --mode production",
"deploy:demo": "gh-pages -d examples/dist",
"lint-staged": "lint-staged",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint",
"prettier --write"
]
},
"eslintConfig": {
"extends": [
"react-app",
"prettier"
],
"ignorePatterns": [
"*.config.js",
"dist"
]
},
"prettier": {
"singleQuote": true,
"semi": true
}
}