mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
121 lines
2.7 KiB
JSON
121 lines
2.7 KiB
JSON
{
|
|
"name": "@napi-rs/cli",
|
|
"version": "3.5.0",
|
|
"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": "^8.0.0",
|
|
"@napi-rs/cross-toolchain": "^1.0.3",
|
|
"@napi-rs/wasm-tools": "^1.0.1",
|
|
"@octokit/rest": "^22.0.1",
|
|
"clipanion": "^4.0.0-rc.4",
|
|
"colorette": "^2.0.20",
|
|
"emnapi": "^1.7.1",
|
|
"es-toolkit": "^1.41.0",
|
|
"js-yaml": "^4.1.0",
|
|
"obug": "^2.0.0",
|
|
"semver": "^7.7.3",
|
|
"typanion": "^3.14.0"
|
|
},
|
|
"devDependencies": {
|
|
"@emnapi/runtime": "^1.7.1",
|
|
"@oxc-node/core": "^0.0.35",
|
|
"@std/toml": "npm:@jsr/std__toml@^1.0.11",
|
|
"@types/inquirer": "^9.0.9",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^24.10.0",
|
|
"@types/semver": "^7.7.1",
|
|
"ava": "^6.4.1",
|
|
"empathic": "^2.0.0",
|
|
"env-paths": "^3.0.0",
|
|
"prettier": "^3.6.2",
|
|
"tsdown": "^0.17.0",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@emnapi/runtime": "^1.7.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@emnapi/runtime": {
|
|
"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": "2m",
|
|
"workerThreads": false,
|
|
"files": [
|
|
"**/__tests__/**/*.spec.ts",
|
|
"e2e/**/*.spec.ts"
|
|
]
|
|
}
|
|
}
|