{ "name": "genius-core-sdk-node", "version": "1.0.0", "description": "Template project for writing node package with napi-rs", "main": "index.js", "repository": "git@github.com:napi-rs/package-template.git", "license": "MIT", "keywords": [ "napi-rs", "NAPI", "N-API", "Rust", "node-addon", "node-addon-api" ], "files": [ "index.d.ts", "index.js" ], "napi": { "name": "genius-core-sdk-node", "triples": { "defaults": true, "additional": [ "x86_64-unknown-linux-musl", "aarch64-unknown-linux-gnu", "i686-pc-windows-msvc", "armv7-unknown-linux-gnueabihf", "aarch64-apple-darwin", "aarch64-linux-android", "x86_64-unknown-freebsd", "aarch64-unknown-linux-musl", "aarch64-pc-windows-msvc", "armv7-linux-androideabi" ] } }, "engines": { "node": ">= 10" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "scripts": { "artifacts": "napi artifacts", "bench": "node -r @swc-node/register benchmark/bench.ts", "build": "napi build --cargo-name genius_core_client --platform --release --pipe \"prettier -w\" genius-core-sdk-node", "build:debug": "napi build --platform --pipe \"prettier -w\"", "format": "run-p format:prettier format:rs format:toml", "format:prettier": "prettier . -w", "format:toml": "taplo format", "format:rs": "cargo fmt", "lint": "eslint . -c ./.eslintrc.yml", "lint-staged": "lint-staged", "prepare": "husky", "prepublishOnly": "napi prepublish -t npm", "test": "ava", "version": "napi version" }, "devDependencies": { "@napi-rs/cli": "^2.16.4", "@swc-node/register": "^1.6.8", "@swc/core": "^1.3.95", "@taplo/cli": "^0.7.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "ava": "^6.0.0", "benny": "^3.7.1", "chalk": "^5.3.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.29.0", "eslint-plugin-prettier": "^5.0.1", "husky": "^9.0.11", "lint-staged": "^15.2.7", "npm-run-all2": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2" }, "lint-staged": { "*.rs": [ "cargo fmt -- --emit files" ], "*.@(js|ts|tsx)": [ "eslint -c .eslintrc.yml --fix" ], "*.@(js|ts|tsx|yml|yaml|md|json)": [ "prettier --write" ], "*.toml": [ "taplo format" ] }, "ava": { "require": [ "@swc-node/register" ], "extensions": [ "ts" ], "timeout": "2m", "workerThreads": false, "environmentVariables": { "TS_NODE_PROJECT": "./tsconfig.json" } }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all", "singleQuote": true, "arrowParens": "always" }, "packageManager": "yarn@4.1.1" }