{ "name": "@napi-rs/cli", "version": "3.0.0-alpha.5", "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": { "default": "./dist/index.js", "types": "./dist/index.d.ts" }, "require": { "default": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "./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": { "@octokit/rest": "^20.0.2", "@tybys/wasm-util": "0.8.0", "clipanion": "^3.2.1", "colorette": "^2.0.20", "debug": "^4.3.4", "emnapi": "0.43.1", "inquirer": "^9.2.11", "js-yaml": "^4.1.0", "lodash-es": "^4.17.21", "toml": "^3.0.0", "typanion": "^3.14.0" }, "devDependencies": { "@emnapi/core": "0.43.1", "@emnapi/runtime": "0.43.1", "@types/debug": "^4.1.10", "@types/inquirer": "^9.0.6", "@types/js-yaml": "^4.0.8", "@types/lodash-es": "^4.17.10", "ava": "^5.3.1", "env-paths": "^3.0.0", "esbuild": "^0.19.5", "prettier": "^3.0.3", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript": "^5.2.2" }, "peerDependencies": { "@emnapi/runtime": "0.43.1", "@tybys/wasm-util": "0.8.0", "emnapi": "0.43.1" }, "peerDependenciesMeta": { "@emnapi/runtime": { "optional": true }, "@tybys/wasm-util": { "optional": true }, "emnapi": { "optional": true } }, "funding": { "type": "github", "url": "https://github.com/sponsors/Brooooooklyn" }, "scripts": { "codegen": "node --loader ts-node/esm/transpile-only ./codegen/index.ts", "build": "tsc && yarn build:cjs", "build:cjs": "node ./esbuild.mjs", "test": "node --loader ts-node/esm/transpile-only ../node_modules/ava/entrypoints/cli.mjs" }, "ava": { "extensions": { "ts": "module" }, "files": [ "**/__tests__/**/*.spec.ts" ] } }