Files
pdf-inspector/napi/package.json
T
Abimael MartellandClaude Opus 4.6 9154085e2c fix publish: generate platform packages manually, add optionalDependencies
Skip napi prepublish/artifacts commands that require GitHub API auth.
Instead, create platform package.json files and copy binaries directly.
Add optionalDependencies to main package so npm/bun auto-selects the
right binary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 11:52:12 -07:00

41 lines
898 B
JSON

{
"name": "@firecrawl/pdf-inspector-js",
"version": "0.2.0",
"main": "index.js",
"types": "index.d.ts",
"license": "MIT",
"files": [
"index.js",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/firecrawl/pdf-inspector"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "public"
},
"napi": {
"binaryName": "pdf-inspector",
"targets": [
"x86_64-unknown-linux-gnu",
"aarch64-apple-darwin"
],
"package": {
"name": "@firecrawl/pdf-inspector-js"
}
},
"optionalDependencies": {
"@firecrawl/pdf-inspector-js-linux-x64-gnu": "0.2.0",
"@firecrawl/pdf-inspector-js-darwin-arm64": "0.2.0"
},
"scripts": {
"build": "napi build --platform --release",
"build:debug": "napi build --platform"
},
"devDependencies": {
"@napi-rs/cli": "^3.4.1"
}
}