forked from focus-trap/focus-trap-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.05 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
{
"name": "focus-trap-react",
"version": "6.0.0",
"description": "A React component that traps focus.",
"main": "dist/focus-trap-react.js",
"types": "index.d.ts",
"scripts": {
"demo-bundle": "browserify demo/js -t babelify --extension=.jsx -o demo/demo-bundle.js",
"start": "budo demo/js/index.js:demo-bundle.js --dir demo --live -- -t babelify --extension=.jsx",
"lint": "eslint .",
"format": "prettier --single-quote --write src/*.js test/*.js demo/js/*.js",
"build": "babel src -d dist",
"jest": "jest",
"pretest": "npm run lint && npm run build",
"test": "jest",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidtheclark/focus-trap-react.git"
},
"files": [
"dist",
"src",
"index.d.ts"
],
"keywords": [
"react",
"reactjs",
"react-component",
"aria",
"accessibility",
"modal",
"dialog",
"focus",
"keyboard"
],
"author": "David Clark",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidtheclark/focus-trap-react/issues"
},
"homepage": "https://github.com/davidtheclark/focus-trap-react#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.3.0",
"budo": "^9.4.1",
"eslint": "^3.13.1",
"eslint-plugin-react": "^6.10.3",
"jest": "^23.4.0",
"prettier": "^1.2.2",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"dependencies": {
"focus-trap": "^4.0.2"
},
"peerDependencies": {
"react": "0.14.x || ^15.0.0 || ^16.0.0",
"react-dom": "0.14.x || ^15.0.0 || ^16.0.0"
},
"babel": {
"presets": [
"react",
"es2015"
],
"plugins": [
"transform-class-properties"
]
},
"jest": {
"setupFiles": [
"<rootDir>/test/jest-setup.js"
],
"clearMocks": true,
"testURL": "http://localhost"
}
}