1 | {
|
2 | "name": "ipfs",
|
3 | "version": "0.66.1",
|
4 | "description": "JavaScript implementation of the IPFS specification",
|
5 | "license": "Apache-2.0 OR MIT",
|
6 | "homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs#readme",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git+https://github.com/ipfs/js-ipfs.git"
|
10 | },
|
11 | "bugs": {
|
12 | "url": "https://github.com/ipfs/js-ipfs/issues"
|
13 | },
|
14 | "keywords": [
|
15 | "IPFS"
|
16 | ],
|
17 | "engines": {
|
18 | "node": ">=16.0.0",
|
19 | "npm": ">=7.0.0"
|
20 | },
|
21 | "bin": {
|
22 | "jsipfs": "src/cli.js"
|
23 | },
|
24 | "type": "module",
|
25 | "types": "./dist/src/index.d.ts",
|
26 | "typesVersions": {
|
27 | "*": {
|
28 | "*": [
|
29 | "*",
|
30 | "dist/*",
|
31 | "dist/src/*",
|
32 | "dist/src/*/index"
|
33 | ],
|
34 | "src/*": [
|
35 | "*",
|
36 | "dist/*",
|
37 | "dist/src/*",
|
38 | "dist/src/*/index"
|
39 | ]
|
40 | }
|
41 | },
|
42 | "files": [
|
43 | "src",
|
44 | "dist",
|
45 | "!dist/test",
|
46 | "!**/*.tsbuildinfo"
|
47 | ],
|
48 | "exports": {
|
49 | ".": {
|
50 | "types": "./dist/src/index.d.ts",
|
51 | "import": "./src/index.js"
|
52 | },
|
53 | "./path": {
|
54 | "types": "./src/path.d.ts",
|
55 | "browser": "./src/path.browser.js",
|
56 | "import": "./src/path.js"
|
57 | }
|
58 | },
|
59 | "eslintConfig": {
|
60 | "extends": "ipfs",
|
61 | "parserOptions": {
|
62 | "sourceType": "module"
|
63 | }
|
64 | },
|
65 | "scripts": {
|
66 | "build": "aegir build",
|
67 | "prepublishOnly": "node scripts/update-version.js",
|
68 | "lint": "aegir lint",
|
69 | "test:interface:core": "aegir test -f test/interface-core.js",
|
70 | "test:interface:client": "aegir test -f test/interface-client.js",
|
71 | "test:interface:http-js": "aegir test -f test/interface-http-js.js",
|
72 | "test:interface:http-go": "aegir test -f test/interface-http-go.js",
|
73 | "test:interop": "cross-env DEBUG=$DEBUG IPFS_LOGGING=$IPFS_LOGGING IPFS_JS_EXEC=$PWD/src/cli.js KUBO_RPC_MODULE=$PWD/../ipfs-http-client/src/index.js LIBP2P_TCP_REUSEPORT=false ipfs-interop",
|
74 | "test:external": "aegir test-dependant",
|
75 | "clean": "aegir clean",
|
76 | "dep-check": "aegir dep-check -i ipfs-core-types -i @types/*"
|
77 | },
|
78 | "dependencies": {
|
79 | "@libp2p/logger": "^2.0.5",
|
80 | "ipfs-cli": "^0.16.1",
|
81 | "ipfs-core": "^0.18.1",
|
82 | "semver": "^7.3.2",
|
83 | "update-notifier": "^6.0.0"
|
84 | },
|
85 | "devDependencies": {
|
86 | "@libp2p/webrtc-star-signalling-server": "^3.0.0",
|
87 | "@libp2p/websockets": "^5.0.0",
|
88 | "@types/semver": "^7.3.4",
|
89 | "@types/update-notifier": "^6.0.1",
|
90 | "aegir": "^37.11.0",
|
91 | "cross-env": "^7.0.0",
|
92 | "go-ipfs": "^0.12.0",
|
93 | "interface-ipfs-core": "^0.158.1",
|
94 | "ipfs-client": "^0.10.1",
|
95 | "ipfs-core-types": "^0.14.1",
|
96 | "ipfs-http-client": "^60.0.1",
|
97 | "ipfs-interop": "^10.0.0",
|
98 | "ipfs-utils": "^9.0.13",
|
99 | "ipfsd-ctl": "^13.0.0",
|
100 | "iso-url": "^1.0.0",
|
101 | "kubo-rpc-client": "^3.0.0",
|
102 | "merge-options": "^3.0.4",
|
103 | "mock-ipfs-pinning-service": "^0.4.2",
|
104 | "url": "^0.11.0"
|
105 | },
|
106 | "optionalDependencies": {
|
107 | "electron-webrtc": "^0.3.0",
|
108 | "wrtc": "^0.4.6"
|
109 | },
|
110 | "browser": {
|
111 | "./src/cli.js": false,
|
112 | "./src/path.js": "./src/path.browser.js",
|
113 | "go-ipfs": false
|
114 | }
|
115 | }
|