filecoin-pin
Version:
Bridge IPFS content to Filecoin Onchain Cloud using familiar tools
148 lines (147 loc) • 4.26 kB
JSON
{
"name": "filecoin-pin",
"version": "0.14.0",
"description": "Bridge IPFS content to Filecoin Onchain Cloud using familiar tools",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"browser": {
"types": "./dist/index.browser.d.ts",
"default": "./dist/index.browser.js"
},
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./core": {
"browser": {
"types": "./dist/core/browser.d.ts",
"default": "./dist/core/browser.js"
},
"types": "./dist/core/index.d.ts",
"default": "./dist/core/index.js"
},
"./core/car": {
"browser": {
"types": "./dist/core/car/browser.d.ts",
"default": "./dist/core/car/browser.js"
},
"types": "./dist/core/car/index.d.ts",
"default": "./dist/core/car/index.js"
},
"./core/data-set": {
"types": "./dist/core/data-set/index.d.ts",
"default": "./dist/core/data-set/index.js"
},
"./core/payments": {
"types": "./dist/core/payments/index.d.ts",
"default": "./dist/core/payments/index.js"
},
"./core/piece": {
"types": "./dist/core/piece/index.d.ts",
"default": "./dist/core/piece/index.js"
},
"./core/synapse": {
"types": "./dist/core/synapse/index.d.ts",
"default": "./dist/core/synapse/index.js"
},
"./core/upload": {
"types": "./dist/core/upload/index.d.ts",
"default": "./dist/core/upload/index.js"
},
"./core/unixfs": {
"browser": {
"types": "./dist/core/unixfs/browser.d.ts",
"default": "./dist/core/unixfs/browser.js"
},
"types": "./dist/core/unixfs/index.d.ts",
"default": "./dist/core/unixfs/index.js"
},
"./core/utils": {
"types": "./dist/core/utils/index.d.ts",
"default": "./dist/core/utils/index.js"
},
"./version-check": {
"types": "./dist/common/version-check.d.ts",
"default": "./dist/common/version-check.js"
}
},
"bin": {
"filecoin-pin": "dist/cli.js"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.js.map",
"dist/**/*.d.ts.map",
"src/**/*.ts",
"README.md",
"LICENSE.md"
],
"scripts": {
"build": "tsc && node scripts/write-version.mjs",
"dev": "tsx watch src/cli.ts server",
"start": "node dist/cli.js server",
"test": "npm run lint && npm run typecheck && vitest run",
"test:unit": "vitest run --project unit",
"test:integration": "vitest run --project integration",
"test:browser": "vitest run --project browser",
"test:watch": "vitest",
"lint": "tsc && biome check --no-errors-on-unmatched --files-ignore-unknown=true .",
"lint:fix": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --fix .",
"typecheck": "tsc --noEmit",
"docs": "typedoc",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/filecoin-project/filecoin-pin.git"
},
"keywords": [
"ipfs",
"filecoin",
"pinning",
"helia",
"typescript"
],
"author": "Rod Vagg <rod@vagg.org>",
"license": "Apache-2.0 OR MIT",
"bugs": {
"url": "https://github.com/filecoin-project/filecoin-pin/issues"
},
"homepage": "https://github.com/filecoin-project/filecoin-pin#readme",
"dependencies": {
"@clack/prompts": "^0.11.0",
"@filoz/synapse-core": "^0.1.4",
"@filoz/synapse-sdk": "^0.36.1",
"@helia/unixfs": "^6.0.1",
"@ipld/car": "^5.4.2",
"commander": "^14.0.1",
"ethers": "^6.15.0",
"fastify": "^5.6.0",
"helia": "^6.0.1",
"it-to-buffer": "^4.0.10",
"multiformats": "^13.4.1",
"p-queue": "^9.0.1",
"picocolors": "^1.1.1",
"pino": "^10.0.0",
"semver": "^7.6.3"
},
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@ipld/dag-cbor": "^9.2.5",
"@types/node": "^24.5.1",
"@types/semver": "^7.5.8",
"@vitest/browser-playwright": "^4.0.13",
"@vitest/coverage-v8": "^4.0.13",
"playwright-chromium": "^1.56.1",
"tsx": "^4.20.5",
"typedoc": "^0.28.14",
"typescript": "^5.9.2",
"vitest": "^4.0.13"
},
"publishConfig": {
"access": "public"
}
}