-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
35 lines (35 loc) · 1.23 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
{
"name": "highlightjs-cedar",
"version": "0.5.0",
"description": "highlight.js support for Cedar policy and Cedar schema syntax",
"author": "cedar-policy",
"license": "Apache-2.0",
"repository": {
"url": "https://github.com/cedar-policy/highlightjs-cedar"
},
"main": "src/cedar.js",
"scripts": {
"dev": "cd test/vite && vite",
"test": "npm run prettier && vitest",
"prettier": "prettier --check .",
"testdata": "cd test && node update-html-files.js",
"build": "npm run buildjs && npm run buildmin && npm run buildesm && npm run buildcjs && npm run buildmincss",
"buildjs": "esbuild src/webbundle.js --outfile=dist/hljs-cedar.js --bundle",
"buildmin": "esbuild src/webbundle.js --outfile=dist/hljs-cedar.min.js --bundle --minify",
"buildesm": "esbuild src/cedar.js --outfile=dist/hljs-cedar.mjs --format=esm",
"buildcjs": "esbuild src/cedar.js --outfile=dist/hljs-cedar.cjs --format=cjs",
"buildmincss": "esbuild src/github.css --outfile=dist/github.min.css --minify"
},
"keywords": [
"highlightjs",
"highlight",
"cedar",
"cedarschema"
],
"devDependencies": {
"highlight.js": "^11.11.1",
"prettier": "^3.5.2",
"vite": "^6.2.0",
"vitest": "^3.0.7"
}
}