forked from focus-trap/focus-trap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.75 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
{
"name": "focus-trap",
"version": "5.0.0",
"description": "Trap focus within a DOM node.",
"main": "index.js",
"module": "dist/focus-trap.mjs",
"types": "index.d.ts",
"scripts": {
"build": "npm run build-dev && npm run minify",
"build-dev": "npm run clean && npm run rollup && browserify index.js -s focusTrap > dist/focus-trap.js",
"clean": "del-cli dist && make-dir dist",
"demo-bundle": "browserify demo/js/index.js -o demo/demo-bundle.js",
"format": "prettier --write '**/*.{js,json}'",
"lint": "eslint .",
"minify": "uglifyjs dist/focus-trap.js > dist/focus-trap.min.js",
"precommit": "lint-staged",
"prepublishOnly": "npm run build",
"rollup": "rollup --config",
"start": "budo demo/js/index.js:demo-bundle.js --dir demo --live",
"test": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidtheclark/focus-trap.git"
},
"keywords": [
"focus",
"accessibility",
"trap",
"capture",
"keyboard",
"modal"
],
"author": "David Clark",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidtheclark/focus-trap/issues"
},
"homepage": "https://github.com/davidtheclark/focus-trap#readme",
"dependencies": {
"tabbable": "^4.0.0",
"xtend": "^4.0.1"
},
"devDependencies": {
"browserify": "^13.3.0",
"budo": "^9.4.1",
"del-cli": "^1.1.0",
"eslint": "^3.13.1",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"make-dir-cli": "^1.0.0",
"prettier": "^1.14.0",
"rollup": "^1.12.3",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"uglify-js": "^3.3.22"
},
"files": [
"dist",
"index.js",
"index.d.ts"
]
}