Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.88 KB
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": "4.3.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 .",
"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 <andrew@wethecollective.com> (https://wethecollective.com)",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.5",
"@microsoft/api-extractor": "^7.59.4",
"@types/node": "~26.6.5",
"@types/react": "~19.3.0",
"@types/react-dom": "~19.3.0",
"@typescript-eslint/eslint-plugin": "~8.72.1",
"@typescript-eslint/parser": "~8.72.1",
"@vitejs/plugin-react-swc": "^4.3.3",
"eslint": "~9.39.5",
"eslint-config-prettier": "~10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"globals": "^17.13.0",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"postcss": "^8.5.32",
"postcss-scss": "^4.0.9",
"prettier": "~3.9.10",
"react": "19.3.1",
"react-dom": "19.3.1",
"sass": "^1.106.1",
"stylelint": "^17.16.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-order": "^8.1.2",
"stylelint-selector-bem-pattern": "^5.0.0",
"typescript": "~6.0.3",
"vite": "^8.3.5",
"vite-plugin-dts": "~5.1.2"
},
"peerDependencies": {
"react": "17 - 19",
"react-dom": "17 - 19"
},
"dependencies": {
"@changesets/changelog-github": "~1.0.1",
"@changesets/cli": "~3.0.3"
}
}