-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.94 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
{
"name": "@wethegit/react-modal",
"version": "3.0.0",
"description": "A customizable, accessible modal window component for React projects.",
"files": [
"dist"
],
"sideEffects": [
"**/*.css"
],
"type": "module",
"style": "./dist/style.css",
"css": "./dist/style.css",
"main": "./dist/react-modal.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/main.d.ts",
"default": "./dist/react-modal.js"
},
"require": "./dist/react-modal.cjs"
},
"./style.css": "./dist/style.css"
},
"scripts": {
"start": "vite",
"build": "rm -rf dist && vite build",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish",
"lint:scripts": "eslint --report-unused-disable-directives --max-warnings 0 --ext .tsx,ts --ignore-path .gitignore .",
"lint:styles": "stylelint src/**/*.{css,scss}",
"lint": "npm run lint:scripts && npm run lint:styles",
"format": "prettier . --write",
"prepare": "husky"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{css,scss}": "stylelint --fix",
"*": "prettier -w -u"
},
"keywords": [
"react",
"modal",
"dialog",
"dialogue",
"window",
"lightbox",
"accessible"
],
"homepage": "https://github.com/wethegit/react-modal",
"repository": {
"type": "git",
"url": "https://github.com/wethegit/react-modal"
},
"bugs": {
"url": "https://github.com/wethegit/react-modal/issues"
},
"author": "Andrew Rubin <[email protected]> (https://wethecollective.com)",
"license": "MIT",
"devDependencies": {
"@types/node": "~20.17.0",
"@types/react": "~18.3.3",
"@types/react-dom": "~18.3.0",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"@vitejs/plugin-react-swc": "^3.0.0",
"eslint": "~8.57.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "~9.1.0",
"eslint-config-react-app": "~7.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.7",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"postcss": "^8.4.23",
"postcss-scss": "^4.0.6",
"prettier": "~2.8.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"sass": "^1.62.1",
"stylelint": "^15.6.2",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"stylelint-selector-bem-pattern": "^2.1.1",
"typescript": "~5.6.2",
"vite": "^4.3.2",
"vite-plugin-dts": "~3.9.1"
},
"peerDependencies": {
"react": "17 - 18",
"react-dom": "17 - 18"
},
"dependencies": {
"@changesets/changelog-github": "~0.5.0",
"@changesets/cli": "~2.27.1",
"@wethegit/react-hooks": "^3.0.1"
}
}