{ "name": "rs-diff", "version": "0.0.1", "description": "Template project for writing node package with napi-rs", "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" }, "publishConfig": { "registry": "https://npm.trj.tw", "access": "public" }, "scripts": { "build": "cargo build --release && napi build --platform --release ./index", "build:debug": "cargo build && napi build --platform ./index", "prepublishOnly": "node ./scripts/publish.js", "test": "ava", "version": "node ./scripts/version.js" }, "devDependencies": { "@octokit/rest": "^18.0.3", "ava": "^3.11.1", "chalk": "^4.1.0", "husky": "^4.2.5", "lint-staged": "^10.2.11", "napi-rs": "^0.2.4", "prettier": "^2.0.5", "putasset": "^5.0.3", "typescript": "^3.9.7" }, "dependencies": { "@node-rs/helper": "^0.2.1" }, "lint-staged": { "*.@(js|ts|tsx)": ["prettier --write"], "*.@(yml|yaml)": ["prettier --parser yaml --write"], "*.md": ["prettier --parser markdown --write"], "*.json": ["prettier --parser json --write"] }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all", "singleQuote": true, "arrowParens": "always", "parser": "typescript" }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }