/
package.json
74 lines (74 loc) · 2.16 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
{
"name": "focus-fly",
"version": "2.1.0",
"type": "module",
"description": "焦点管理。Focus management.",
"main": "output/focus-fly.cjs",
"exports": {
"import": "./output/focus-fly.esm.js",
"require": "./output/focus-fly.cjs"
},
"sideEffects": false,
"files": [
"package.json",
"README.md",
"CHANGELOG.md",
"LICENSE",
"index.js",
"index.d.ts",
"utils.js",
"output",
"!output/focus-fly.umd.js",
"!output/focus-fly.umd.js.map",
"!output/focus-fly.umd.min.js",
"!output/focus-fly.umd.min.js.map"
],
"types": "index.d.ts",
"scripts": {
"start": "npm run compile:demo -- --watch",
"build": "npm run compile",
"compile": "npm run compile:esm && npm run compile:cjs && npm run compile:umd",
"compile:demo": "BUILD_ENV=demo BABEL_ENV=es5 rollup -c",
"compile:esm": "BUILD_ENV=esm BABEL_ENV=esm rollup -c",
"compile:cjs": "BUILD_ENV=cjs BABEL_ENV=es5 rollup -c",
"compile:umd": "BUILD_ENV=umd BABEL_ENV=es5 rollup -c",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"check:files": "npm pack --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wswmsword/focus-fly.git"
},
"keywords": [
"focus",
"focus-management",
"accessibility",
"keyboard",
"tab-sequence",
"focus-lock",
"focus-trap"
],
"author": "wsWmsword",
"license": "ISC",
"bugs": {
"url": "https://github.com/wswmsword/focus-fly/issues"
},
"homepage": "https://github.com/wswmsword/focus-fly#readme",
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/user-event": "^14.4.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"rollup": "^3.20.2",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^2.0.2"
}
}