52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "@mtfos/rs-diff",
|
|
"version": "0.0.5",
|
|
"description": "Template project for writing node package with napi-rs",
|
|
"author": "Jay <jay@trj.tw>",
|
|
"main": "index.js",
|
|
"repository": "https://git.trj.tw/nodejs/rs-diff.git",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"napi-rs",
|
|
"NAPI",
|
|
"N-API",
|
|
"Rust",
|
|
"node-addon",
|
|
"node-addon-api"
|
|
],
|
|
"files": [
|
|
"index.d.ts",
|
|
"index.js"
|
|
],
|
|
"os": [
|
|
"darwin",
|
|
"linux",
|
|
"win32"
|
|
],
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"engines": {
|
|
"node": ">= 8.9"
|
|
},
|
|
"scripts": {
|
|
"build": "cargo build --release && napi build --platform --release .",
|
|
"build:debug": "cargo build && napi build --platform .",
|
|
"prepublishOnly": "node ./scripts/publish.js",
|
|
"test": "ava",
|
|
"version": "node ./scripts/version.js"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^3.11.1",
|
|
"napi-rs": "^0.3.7",
|
|
"typescript": "^3.9.7"
|
|
},
|
|
"dependencies": {
|
|
"@node-rs/helper": "^0.4.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@mtfos/rs-diff-darwin": "^0.0.4",
|
|
"@mtfos/rs-diff-linux": "^0.0.4"
|
|
}
|
|
}
|