{ "name": "@napi-rs/cli", "version": "3.0.0-alpha.100", "description": "Cli tools for napi-rs", "author": "LongYinan ", "homepage": "https://github.com/napi-rs/napi-rs", "license": "MIT", "type": "module", "engines": { "node": ">= 16" }, "bin": { "napi": "./dist/cli.js", "napi-raw": "./cli.mjs" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.cjs" } }, "./package.json": { "import": "./package.json", "require": "./package.json" } }, "files": [ "dist", "src" ], "keywords": [ "cli", "rust", "napi", "n-api", "node-api", "node-addon", "neon" ], "maintainers": [ { "name": "LongYinan", "email": "lynweklm@gmail.com", "homepage": "https://github.com/Brooooooklyn" }, { "name": "forehalo", "homepage": "https://github.com/forehalo" } ], "repository": { "type": "git", "url": "git+https://github.com/napi-rs/napi-rs.git" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "bugs": { "url": "https://github.com/napi-rs/napi-rs/issues" }, "dependencies": { "@inquirer/prompts": "^7.4.0", "@napi-rs/cross-toolchain": "^0.0.19", "@napi-rs/wasm-tools": "^0.0.3", "@octokit/rest": "^22.0.0", "clipanion": "^4.0.0-rc.4", "colorette": "^2.0.20", "debug": "^4.4.0", "emnapi": "^1.4.0", "find-up": "^7.0.0", "js-yaml": "^4.1.0", "lodash-es": "^4.17.21", "semver": "^7.7.1", "typanion": "^3.14.0", "wasm-sjlj": "^1.0.6" }, "devDependencies": { "@emnapi/core": "^1.4.0", "@emnapi/runtime": "^1.4.0", "@oxc-node/core": "^0.0.29", "@std/toml": "npm:@jsr/std__toml@^1.0.8", "@types/debug": "^4.1.12", "@types/inquirer": "^9.0.7", "@types/js-yaml": "^4.0.9", "@types/lodash-es": "^4.17.12", "@types/node": "^22.13.16", "@types/semver": "^7.7.0", "ava": "^6.2.0", "env-paths": "^3.0.0", "prettier": "^3.5.3", "rolldown": "^1.0.0-beta.23", "tslib": "^2.8.1", "typescript": "^5.8.2" }, "peerDependencies": { "@emnapi/runtime": "^1.1.0", "emnapi": "^1.1.0" }, "peerDependenciesMeta": { "@emnapi/runtime": { "optional": true }, "emnapi": { "optional": true } }, "funding": { "type": "github", "url": "https://github.com/sponsors/Brooooooklyn" }, "scripts": { "clean": "node --import @oxc-node/core/register ./clean.ts", "codegen": "node --import @oxc-node/core/register ./codegen/index.ts", "build": "tsc && yarn clean && rolldown -c rolldown.config.js", "test": "node --import @oxc-node/core/register ../node_modules/ava/entrypoints/cli.mjs" }, "ava": { "extensions": { "ts": "module" }, "timeout": "1m", "files": [ "**/__tests__/**/*.spec.ts", "e2e/**/*.spec.ts" ] } }