napi-rs/cli/package.json
LongYinan 9f2ed2f8e8
chore(release): publish
- @napi-rs/cli@3.1.1
 - @napi-rs/triples@2.0.5
 - @napi-rs/wasm-runtime@1.0.3
2025-08-08 20:16:28 +08:00

135 lines
3.1 KiB
JSON

{
"name": "@napi-rs/cli",
"version": "3.1.1",
"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",
"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": "^1.0.0",
"@napi-rs/wasm-tools": "^1.0.0",
"@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"
},
"devDependencies": {
"@emnapi/core": "^1.4.0",
"@emnapi/runtime": "^1.4.0",
"@oxc-node/core": "^0.0.30",
"@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": "latest",
"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"
]
}
}