-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.85 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 1.85 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
{
"name": "@profpowell/code-block",
"version": "2.5.1",
"description": "A code block web component with syntax highlighting (via highlight.js), copy functionality, line numbers, and theme support",
"type": "module",
"main": "dist/code-block.js",
"module": "dist/code-block.js",
"types": "code-block.d.ts",
"exports": {
".": {
"types": "./code-block.d.ts",
"import": "./dist/code-block.js",
"default": "./dist/code-block.js"
}
},
"publishConfig" : {
"access": "public"
},
"files": [
"dist",
"code-block.d.ts",
"custom-elements.json",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "playwright test",
"test:ui": "playwright test --ui",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\"",
"analyze": "cem analyze --litelement",
"prepublishOnly": "npm run build && npm run analyze"
},
"keywords": [
"web-components",
"custom-elements",
"vanilla-js",
"code-block",
"syntax-highlighting",
"copy-code",
"highlight.js",
"line-numbers",
"dark-mode",
"profpowell-web-components"
],
"author": "Prof Thomas Powell",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ProfPowell/code-block.git"
},
"bugs": {
"url": "https://github.com/ProfPowell/code-block/issues"
},
"homepage": "https://profpowell.github.io/code-block/",
"dependencies": {
"highlight.js": "^11.11.1"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.11.0",
"@playwright/test": "^1.57.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"vite": "^6.0.0"
},
"customElements": "custom-elements.json"
}