-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
110 lines (110 loc) · 3.14 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "focus-trap-vue",
"version": "4.0.3",
"packageManager": "[email protected]",
"description": "Vue component to trap the focus within a DOM element",
"main": "dist/focus-trap-vue.cjs.js",
"browser": "dist/focus-trap-vue.esm-browser.js",
"unpkg": "dist/focus-trap-vue.global.js",
"jsdelivr": "dist/focus-trap-vue.global.js",
"module": "dist/focus-trap-vue.esm-bundler.js",
"types": "dist/focus-trap-vue.d.ts",
"sideEffects": false,
"author": {
"name": "Eduardo San Martin Morote",
"url": "https://esm.dev",
"email": "[email protected]"
},
"scripts": {
"build": "rollup -c rollup.config.mjs",
"dev": "vite serve --port 4200",
"start": "vite serve --mode production --port 4200",
"demo:build": "vite build",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:e2e": "start-server-and-test start http-get://localhost:4200 cy:run",
"build:dts": "api-extractor run --local --verbose",
"release": "bash scripts/release.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"size": "size-limit",
"lint": "prettier -c --parser typescript \"{src,__tests__,e2e}/**/*.[jt]s?(x)\"",
"lint:fix": "pnpm run lint --write",
"test:types": "tsc --build tsconfig.json",
"test": "pnpm run test:types && pnpm run test:e2e && pnpm run build && pnpm run build:dts",
"prepare": "simple-git-hooks"
},
"files": [
"dist/*.js",
"dist/focus-trap-vue.d.ts",
"LICENSE",
"README.md"
],
"keywords": [
"focus",
"trap",
"a11y",
"accessibility",
"modal",
"component",
"block",
"lock",
"vue"
],
"license": "MIT",
"devDependencies": {
"@microsoft/api-extractor": "^7.47.7",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-small-lib": "^11.1.4",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/compiler-sfc": "^3.4.38",
"chalk": "^5.3.0",
"conventional-changelog-cli": "^5.0.0",
"cypress": "^13.14.1",
"cypress-plugin-tab": "^1.0.5",
"focus-trap": "^7.5.4",
"lint-staged": "^15.2.10",
"prettier": "^2.8.8",
"rollup": "^4.21.2",
"rollup-plugin-typescript2": "^0.36.0",
"scule": "^1.3.0",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.4",
"start-server-and-test": "^2.0.5",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vue": "^3.4.38"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "node scripts/verifyCommit.mjs"
},
"lint-staged": {
"*.{js,mjs,json,cjs}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"size-limit": [
{
"path": "size-checks/basic.js"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/posva/focus-trap-vue.git"
},
"bugs": {
"url": "https://github.com/posva/focus-trap-vue/issues"
},
"homepage": "https://github.com/posva/focus-trap-vue#readme",
"peerDependencies": {
"focus-trap": "^7.0.0",
"vue": "^3.0.0"
}
}