-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
59 lines (59 loc) · 1.44 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
{
"name": "focus-layers",
"version": "0.6.1",
"author": "Jon Egeland <[email protected]>",
"description": "Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.",
"license": "MIT",
"repository": "discord/focus-layers",
"homepage": "https://github.com/discord/focus-layers#readme",
"keywords": [
"a11y",
"focus",
"focus-lock",
"focus-trap",
"dialog",
"modal",
"alert",
"layer",
"lock",
"trap",
"react",
"hook",
"use",
"typescript",
"micro",
"tiny"
],
"source": "src/useFocusLock.tsx",
"main": "dist/useFocusLock.js",
"types": "dist/useFocusLock.d.ts",
"module": "dist/useFocusLock.module.js",
"unpkg": "dist/useFocusLock.umd.js",
"files": [
"src",
"dist"
],
"scripts": {
"format": "prettier --write '**'",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf dist && microbundle --external react --name useFocusLock",
"examples": "parcel serve examples/index.html",
"prepublishOnly": "npm run -s build"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@types/react": "16.9.19",
"@types/react-dom": "16.9.5",
"microbundle": "^0.11.0",
"parcel": "^1.12.4",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.12.0",
"typescript": "3.9.3"
},
"bugs": {
"url": "https://github.com/discord/focus-layers/issues"
}
}