-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.38 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
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
{
"name": "code-preview-element",
"version": "3.0.0",
"description": "A code block that renders itself: live, editable HTML samples in an isolated iframe.",
"type": "module",
"main": "dist/code-preview.js",
"types": "dist/code-preview.d.ts",
"style": "dist/code-preview.css",
"customElements": "dist/custom-elements.json",
"exports": {
".": {
"types": "./dist/code-preview.d.ts",
"default": "./dist/code-preview.js"
},
"./hljs": {
"types": "./dist/code-preview-hljs.d.ts",
"default": "./dist/code-preview-hljs.js"
},
"./options": {
"types": "./dist/code-preview-options.d.ts",
"default": "./dist/code-preview-options.js"
},
"./style": "./dist/code-preview.css",
"./theme": "./dist/code-preview-hljs.css",
"./custom-elements.json": "./dist/custom-elements.json",
"./dist/*": "./dist/*",
"./src/*": "./src/*"
},
"files": [
"dist",
"src"
],
"homepage": "https://stamat.github.io/code-preview-element/",
"repository": {
"type": "git",
"url": "https://github.com/stamat/code-preview-element.git"
},
"bugs": {
"url": "https://github.com/stamat/code-preview-element/issues"
},
"keywords": [
"custom-element",
"web-component",
"code",
"preview",
"iframe",
"editor",
"documentation",
"highlight"
],
"author": "Nikola Stamatovic <@stamat>",
"contributors": [],
"license": "MIT",
"scripts": {
"dev": "poops",
"//manifest": "Ahead of poops in build and prepack, not inside it: poops runs `exec` last, and the copy into _site that hands this file to the demo page runs well before that — on a fresh checkout it would be copying something that does not exist yet. poops.json's exec runs it again so a watch rebuild picks up an edited JSDoc block.",
"manifest": "cem analyze --globs src/element.ts --outdir dist",
"build": "npm run manifest && poops -b",
"prepack": "npm run manifest && poops -b",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "npm run lint && npm run typecheck && node --test"
},
"dependencies": {
"codejar": "^4.3.0",
"highlight.js": "^11.11.1"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.11.0",
"eslint": "^9.39.5",
"jsdom": "^29.1.1",
"neostandard": "^0.13.0",
"poops": "^2.0.0",
"poops-docs-theme": "^1.1.2",
"typescript": "^5.6.3"
}
}