-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.73 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.73 KB
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
{
"name": "@nocksock/keymap",
"description": "A tiny keyboard-shortcut dispatcher: bind keys (and multi-key sequences) to actions, with stackable layers for modal UIs.",
"version": "0.45.0",
"type": "module",
"main": "./dist/keymap.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"default": "./dist/keymap.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "vite build && tsc",
"test:watch": "vitest",
"test": "vitest --run",
"check:no-only": "! grep -rnE '(it|describe|test|suite|context|bench)\\.only' test",
"test:ci": "pnpm run check:no-only && pnpm run test && pnpm run test:browser",
"test:browser": "wtr --config web-test-runner.config.mjs",
"test:browser:watch": "wtr --config web-test-runner.config.mjs --watch",
"docs": "deno doc --html --name=keymap --unstable-sloppy-imports src/core/keymap.ts",
"release:minor": "pnpm run build && pnpm version minor && pnpm publish --no-git-checks",
"release:patch": "pnpm run build && pnpm version patch && pnpm publish --no-git-checks",
"release:canary": "pnpm run build && pnpm version prerelease --preid=canary && pnpm publish --tag canary"
},
"devDependencies": {
"@esm-bundle/chai": "4.3.4-fix.0",
"@types/node": "^22.10.2",
"@vitest/browser": "^2.1.8",
"@web/dev-server-esbuild": "^1.0.5",
"@web/test-runner": "^0.20.2",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.1",
"jsdom": "^25.0.1",
"playwright": "^1.53.0",
"terser": "^5.37.0",
"typescript": "^5.4.5",
"vite": "^6.1.0",
"vitest": "^2.1.8"
},
"packageManager": "pnpm@9.10.0"
}