{ "name": "@napi-rs/cli", "version": "3.0.0-alpha.30", "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": { "@napi-rs/cross-toolchain": "^0.0.14", "@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.45.0", "inquirer": "^9.2.12", "js-yaml": "^4.1.0", "lodash-es": "^4.17.21", "semver": "^7.5.4", "toml": "^3.0.0", "typanion": "^3.14.0" }, "devDependencies": { "@emnapi/core": "^0.45.0", "@emnapi/runtime": "^0.45.0", "@types/debug": "^4.1.12", "@types/inquirer": "^9.0.7", "@types/js-yaml": "^4.0.9", "@types/lodash-es": "^4.17.12", "@types/node": "^20.10.5", "ava": "^6.0.0", "env-paths": "^3.0.0", "esbuild": "^0.19.8", "prettier": "^3.1.0", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript": "^5.3.2" }, "peerDependencies": { "@emnapi/runtime": "^0.45.0", "@tybys/wasm-util": "^0.8.0", "emnapi": "^0.45.0" }, "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" ] } }