-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
165 lines (165 loc) · 4.92 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "@restart/ui",
"version": "1.9.2",
"description": "Utilities for creating robust overlay components",
"author": {
"name": "Jason Quense",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-restart/ui.git"
},
"license": "MIT",
"main": "cjs/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"node": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
},
"./*": {
"node": {
"types": "./cjs/*.d.ts",
"default": "./cjs/*.js"
},
"require": {
"types": "./cjs/*.d.ts",
"default": "./cjs/*.js"
},
"import": {
"types": "./lib/*.d.ts",
"default": "./lib/*.js"
}
}
},
"sideEffects": false,
"files": [
"lib",
"cjs"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"keywords": [
"react-overlays",
"react-component",
"react",
"overlay",
"react-component",
"tooltip",
"bootstrap",
"popover",
"modal"
],
"scripts": {
"bootstrap": "yarn --network-timeout 100000 && yarn --cwd www --network-timeout 100000",
"build": "rimraf lib && yarn build:esm && yarn build:cjs && yarn build:popper",
"build:esm": "babel src --out-dir lib --delete-dir-on-start --extensions '.ts,.tsx' --ignore='**/*.d.ts' && yarn build:esm:types",
"build:cjs": "babel src --out-dir cjs --env-name cjs --delete-dir-on-start --extensions '.ts,.tsx' --ignore='**/*.d.ts' && yarn build:cjs:types && echo '{\"type\": \"commonjs\"}' > cjs/package.json",
"build:esm:types": "tsc -p . --emitDeclarationOnly --declaration --outDir lib",
"build:cjs:types": "tsc -p . --emitDeclarationOnly --declaration --outDir cjs",
"build:pick": "cherry-pick --cwd=lib --input-dir=../src --cjs-dir=cjs --esm-dir=esm",
"build:popper": "rollup src/popper.ts --file cjs/popper.js --format cjs --name popper --plugin @rollup/plugin-node-resolve && rollup src/popper.ts --file lib/popper.js --format esm --name popper --plugin @rollup/plugin-node-resolve",
"deploy-docs": "yarn --cwd www deploy",
"lint": "eslint src test",
"prepublishOnly": "yarn build",
"release": "rollout",
"start": "yarn --cwd www start",
"tdd": "vitest",
"test": "yarn lint && yarn testonly",
"testonly": "vitest --run"
},
"lint-staged": {
"*.js,*.tsx": "eslint --fix"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"publishConfig": {
"access": "public",
"directory": "lib"
},
"release": {
"conventionalCommits": true
},
"dependencies": {
"@babel/eslint-parser": "^7.25.9",
"@babel/runtime": "^7.26.0",
"@popperjs/core": "^2.11.8",
"@react-aria/ssr": "^3.5.0",
"@restart/hooks": "^0.6.2",
"@types/warning": "^3.0.3",
"dequal": "^2.0.3",
"dom-helpers": "^5.2.0",
"uncontrollable": "^9.0.0",
"warning": "^4.0.3"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"devDependencies": {
"@4c/cli": "^4.0.4",
"@4c/rollout": "^4.0.2",
"@4c/tsconfig": "^0.4.1",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@eslint/js": "^9.17.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/classnames": "^2.3.4",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",
"@types/react-transition-group": "^4.4.12",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-istanbul": "2.1.8",
"babel-eslint": "^10.1.0",
"babel-preset-env-modules": "^1.0.1",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-4catalyzer-typescript": "^3.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"gh-pages": "^3.1.0",
"globals": "^15.14.0",
"hookem": "^3.0.4",
"lint-staged": "^15.3.0",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-transition-group": "^4.4.5",
"rimraf": "^6.0.1",
"rollup": "^4.30.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1",
"vitest": "^2.1.8"
},
"bugs": {
"url": "https://github.com/react-restart/ui/issues"
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}