UNPKG

@vmg-anysphere/napi-rs-cli

Version:
126 lines (125 loc) 2.86 kB
{ "name": "@vmg-anysphere/napi-rs-cli", "version": "3.2.0-modules.3", "description": "Cli tools for napi-rs", "author": "LongYinan <lynweklm@gmail.com>", "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", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "files": [ "dist", "src", "!__tests__" ], "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.8.4", "@napi-rs/cross-toolchain": "^1.0.3", "@napi-rs/wasm-tools": "^1.0.1", "@octokit/rest": "^22.0.0", "clipanion": "^4.0.0-rc.4", "colorette": "^2.0.20", "debug": "^4.4.1", "emnapi": "^1.5.0", "empathic": "^2.0.0", "es-toolkit": "^1.39.10", "js-yaml": "^4.1.0", "semver": "^7.7.2", "typanion": "^3.14.0" }, "devDependencies": { "@emnapi/core": "^1.5.0", "@emnapi/runtime": "^1.5.0", "@oxc-node/core": "^0.0.32", "@std/toml": "npm:@jsr/std__toml@^1.0.10", "@types/debug": "^4.1.12", "@types/inquirer": "^9.0.9", "@types/js-yaml": "^4.0.9", "@types/node": "^24.3.1", "@types/semver": "^7.7.1", "ava": "^6.4.1", "env-paths": "^3.0.0", "prettier": "^3.6.2", "tsdown": "^0.15.0", "tslib": "^2.8.1", "typescript": "^5.9.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": { "codegen": "node --import @oxc-node/core/register ./codegen/index.ts", "build": "tsdown", "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" ] } }