forked from KittyGiraudel/a11y-dialog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.56 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
{
"name": "a11y-dialog",
"version": "6.1.0",
"description": "A tiny script to make dialog windows accessible to assistive technology users.",
"homepage": "https://github.com/KittyGiraudel/a11y-dialog",
"license": "MIT",
"main": "dist/a11y-dialog.js",
"module": "dist/a11y-dialog.esm.js",
"types": "dist/a11y-dialog.d.ts",
"keywords": [
"modal",
"dialog",
"accessibility",
"a11y",
"focus"
],
"author": "Kitty Giraudel (https://kittygiraudel.com)",
"repository": {
"type": "git",
"url": "https://github.com/KittyGiraudel/a11y-dialog"
},
"files": [
"dist/*"
],
"scripts": {
"build": "rollup -c",
"serve": "npx serve cypress/fixtures",
"test": "cypress run",
"compress": "gzip -9 -fkc dist/a11y-dialog.min.js > dist/a11y-dialog.min.js.gz",
"show": "ls -lh dist/a11y-dialog.min.js.gz | awk '{print \"Gzipped script size:\", $5\"B\"}'",
"size": "npm run build -- --silent && npm run compress --silent && npm run show && rm dist/a11y-dialog.min.js.gz"
},
"husky": {
"pre-commit": "lint-staged",
"post-rewrite": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"cypress": "^6.4.0",
"cypress-plugin-tab": "^1.0.5",
"gitbook-cli": "^2.3.2",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rollup": "^2.39.0",
"rollup-plugin-terser": "^7.0.2"
},
"dependencies": {
"focusable-selectors": "^0.3.0"
}
}