-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 844 Bytes
/
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
{
"name": "await-prompt",
"description": "await any prompt/modal with a `window.prompt`-like API + react hooks",
"author": "Arvin Nabavi",
"license": "MIT",
"version": "1.0.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [
"hook",
"react",
"prompt",
"modal",
"await",
"async",
"window.prompt",
"usePrompt",
"useModal"
],
"scripts": {
"build": "tsup index.tsx --format cjs,esm --dts",
"change": "pnpm changeset",
"release": "pnpm run build && changeset publish",
"lint": "tsc"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.3"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}
}