-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
87 lines (87 loc) · 2.81 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
{
"name": "ninja-keys",
"version": "1.2.2",
"description": "Ninja Keys",
"main": "dist/ninja-keys.js",
"module": "dist/ninja-keys.js",
"type": "module",
"exports": {
".": "./dist/ninja-keys.js",
"./ninja-header": "./dist/ninja-header.js"
},
"scripts": {
"start": "npm run build && concurrently -k -r \"npm run serve\" \"npm run build:watch\"",
"build": "tsc",
"build:watch": "tsc --watch",
"clean": "rimraf dist/",
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
"lint:eslint": "eslint 'src/**/*.ts'",
"lint:lit-analyzer": "lit-analyzer",
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
"analyze": "cem analyze --litelement --globs \"src/**/*.ts\"",
"analyze:watch": "cem analyze --litelement --globs \"src/**/*.ts\" --watch",
"serve": "wds --root-dir=. --node-resolve --watch",
"demo": "tsc && rollup -c --file docs/ninja-keys.bundled.js && wds --root-dir=. --open=./docs/ --node-resolve --watch",
"serve:prod": "MODE=prod npm run serve",
"bundle": "npm run build && rollup -c --file dist/ninja-keys.bundled.js",
"checksize": "rollup -c ; cat dist/ninja-keys.bundled.js | gzip -9 | wc -c ; rm dist/ninja-keys.bundled.js",
"prepublish": "npm run clean && npm run build",
"publish": "clean-publish",
"publish-test": "rimraf package && clean-publish --without-publish --temp-dir package"
},
"keywords": [
"web-components",
"lit-element",
"typescript",
"react",
"vue",
"javascript",
"keyboard",
"hotkeys",
"shortcut",
"keypress",
"hotkey"
],
"author": "Serhii Slieptsov <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/ssleptsov/ninja-keys",
"repository": {
"type": "git",
"url": "[email protected]:ssleptsov/ninja-keys.git"
},
"clean-publish": {
"files": [
"dev",
"docs",
"rollup.config.js",
"web-dev-server.config.mjs"
]
},
"dependencies": {
"@material/mwc-icon": "0.25.3",
"hotkeys-js": "3.8.7",
"lit": "2.2.6"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.5.3",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.30.0",
"@web/dev-server": "0.1.25",
"@web/dev-server-rollup": "^0.3.9",
"@webcomponents/webcomponentsjs": "^2.6.0",
"clean-publish": "3.4.2",
"concurrently": "6.3.0",
"eslint": "^7.32.0",
"lit-analyzer": "^1.1.10",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup-plugin-minify-html-literals": "1.2.6",
"rollup-plugin-summary": "^1.2.3",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.3.5"
},
"customElements": "custom-elements.json"
}