-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
44 lines (44 loc) · 1.54 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
{
"name": "@power-elements/json-viewer",
"version": "2.1.1",
"description": "Custom Element that shows a JavaScript object's properties as syntax-highlighted JSON.",
"type": "module",
"main": "json-viewer.js",
"module": "json-viewer.js",
"keywords": [
"json",
"viewer",
"javascript",
"custom element",
"zero-dependency",
"web component"
],
"types": "json-viewer.d.ts",
"scripts": {
"build": "run-s build:*",
"build:pretsc": "rm -f json-viewer.d.ts",
"build:tsc": "tsc",
"build:fixdeclaration": "echo \"declare global { interface HTMLElementTagNameMap { 'json-viewer': JsonViewer; } }\" >> json-viewer.d.ts",
"build:docs": "npm run analyze",
"analyze": "run-s analyze:*",
"analyze:readme": "wca --outFile README.md json-viewer.js",
"analyze:custom-elements-json": "wca --format json --outFile custom-elements.json json-viewer.js",
"test": "wtr --node-resolve --coverage",
"test:watch": "wtr --node-resolve --watch --coverage",
"test:update-snapshots": "wtr --node-resolve --update-snapshots",
"test:prune-snapshots": "wtr --node-resolve --prune-snapshots"
},
"author": "Benny Powers <[email protected]>",
"homepage": "https://bennypowers.dev/json-viewer",
"repository": "github:bennypowers/json-viewer",
"license": "ISC",
"devDependencies": {
"@open-wc/testing": "^3.1.7",
"@pwrs/eslint-config": "0.0.7",
"@web/test-runner": "^0.15.0",
"eslint": "^7.4.0",
"lit-html": "^1.2.1",
"npm-run-all": "^4.1.5",
"web-component-analyzer": "^1.1.6"
}
}