-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.69 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
{
"name": "@syntect/node",
"version": "0.0.5",
"main": "index.js",
"types": "index.d.ts",
"bin": {
"syntect-css": "./bin/syntect-css"
},
"napi": {
"name": "node",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"license": "MIT",
"keywords": [
"highlight",
"rust",
"syntect",
"textmate",
"native",
"node"
],
"devDependencies": {
"@napi-rs/cli": "^2.3.0"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"build:wasm": "cargo build --release --target wasm32-unknown-unknown --no-default-features --features=target_wasm && yarn wasm-bindgen",
"build:wasm:debug": "cargo build --target wasm32-unknown-unknown --no-default-features --features=target_wasm && yarn wasm-bindgen:debug",
"wasm-bindgen": "wasm-bindgen --out-dir wasm/dist ./target/wasm32-unknown-unknown/release/syntect.wasm",
"wasm-bindgen:debug": "wasm-bindgen --out-dir wasm/dist ./target/wasm32-unknown-unknown/debug/syntect.wasm",
"prepublishOnly": "napi prepublish --skip-gh-release",
"version": "napi version"
},
"description": "Syntect (Syntax highlighter in Rust) for Node.js",
"repository": "https://github.com/Menci/syntect-js",
"author": "Menci <huanghaorui301@gmail.com>"
}