-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.6 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
{
"name": "chroma-highlight",
"version": "2.4.1",
"description": "A general purpose syntax highlighter in pure Go. Wrapped for Node.js",
"repository": "https://github.com/krymel/chroma-highlight",
"scripts": {
"clean-install": "rimraf bin",
"clean": "rimraf dist",
"build": "tsup src/index.ts --sourcemap --dts --shims --format esm,cjs --minify",
"pretest": "yarn build && cp -R bin dist/",
"test": "node test/index.js && node test/index.mjs",
"prebuild": "yarn clean",
"postbuild": "cp install.ts platform.ts tsconfig.json package.json README.md COPYING dist/",
"postinstall": "ts-node install.ts",
"release": "cd dist && npm publish"
},
"files": [
"*.png",
"index.*",
"COPYING",
"package.json",
"README.md",
"install.ts",
"platform.ts",
"tsconfig.json"
],
"types": "index.d.ts",
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
}
},
"engines": {
"node": ">=16"
},
"author": {
"name": "krymel",
"email": "[email protected]",
"url": "https://github.com/krymel"
},
"bin": {
"chroma-hl": "bin/chroma"
},
"license": "MIT",
"devDependencies": {
"tsup": "^6.5.0"
},
"dependencies": {
"@swc/core": "^1.3.26",
"@swc/helpers": "^0.4.14",
"@types/node": "*",
"regenerator-runtime": "^0.13.11",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}