forked from KittyGiraudel/a11y-dialog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.55 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
{
"name": "a11y-dialog",
"version": "7.5.0",
"description": "A tiny script to make dialog windows accessible to assistive technology users.",
"homepage": "https://a11y-dialog.netlify.app/",
"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 -p 5000",
"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",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/preset-env": "^7.18.6",
"@rollup/plugin-node-resolve": "^14.0.1",
"@rollup/plugin-typescript": "^8.3.3",
"cypress": "^10.3.0",
"cypress-real-events": "^1.7.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rollup": "^2.75.7",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.7.4"
},
"dependencies": {
"focusable-selectors": "^0.4.0"
}
}