-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
86 lines (86 loc) · 2.11 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
{
"name": "tinykeys",
"version": "3.0.0",
"description": "A tiny (~650 B) & modern library for keybindings.",
"author": "Jamie Kyle <me@thejameskyle.com>",
"license": "MIT",
"repository": "jamiebuilds/tinykeys",
"source": "src/tinykeys.ts",
"main": "dist/tinykeys.js",
"module": "dist/tinykeys.module.js",
"unpkg": "dist/tinykeys.umd.js",
"types": "dist/tinykeys.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/tinykeys.module.js",
"require": "./dist/tinykeys.js"
}
},
"keywords": [
"key",
"keys",
"bindings",
"hot",
"hotkeys",
"a11y",
"accessibility",
"keyboard",
"navigation",
"event",
"handler",
"react",
"vue",
"angular",
"ember",
"mousetrap",
"shortcuts"
],
"scripts": {
"check": "npm run -s typecheck && npm run -s lint && npm run -s check:format",
"typecheck": "tsc --noEmit",
"test": "TS_NODE_PROJECT=./tsconfig.test.json nyc --reporter=lcov --reporter=text-summary ava",
"lint": "eslint '**'",
"format": "prettier --write '**'",
"check:format": "prettier --check '**'",
"build": "rm -rf dist && microbundle --inline none",
"build:example": "rm -rf example-dist && parcel build example/index.html -d example-dist --public-url ./",
"start": "rm -rf example-dist && parcel example/index.html -d example-dist",
"precommit": "lint-staged",
"prepublishOnly": "npm run -s build"
},
"devDependencies": {
"@types/canvas-confetti": "^1.6.4",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.7.1",
"ava": "^3.11.0",
"canvas-confetti": "^1.9.3",
"eslint": "^7.5.0",
"eslint-plugin-ava": "^12.0.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"microbundle": "^0.13.0",
"nyc": "^15.1.0",
"parcel": "^1.12.4",
"prettier": "^2.0.5",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"lint-staged": {
"*": [
"prettier --write",
"git add"
]
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"require": [
"ts-node/register"
]
}
}