53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"name": "@mtfos/rs-diff",
|
|
"version": "0.0.6",
|
|
"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 .",
|
|
"test": "ava",
|
|
"publish:linux": "cross-env PLATFORM=linux node scripts/publish.js",
|
|
"publish:darwin": "cross-env PLATFORM=darwin node scripts/publish.js",
|
|
"version": "node ./scripts/version.js"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^3.11.1",
|
|
"cross-env": "^7.0.2",
|
|
"napi-rs": "^0.3.7",
|
|
"typescript": "^3.9.7"
|
|
},
|
|
"dependencies": {
|
|
"@node-rs/helper": "^0.4.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@mtfos/rs-diff-darwin": "^0.0.6",
|
|
"@mtfos/rs-diff-linux": "^0.0.6"
|
|
}
|
|
} |