1 | {
|
2 | "name": "ipfsd-ctl",
|
3 | "version": "11.0.0",
|
4 | "description": "Spawn IPFS Daemons, JS or Go",
|
5 | "license": "Apache-2.0 OR MIT",
|
6 | "homepage": "https://github.com/ipfs/js-ipfsd-ctl#readme",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git+https://github.com/ipfs/js-ipfsd-ctl.git"
|
10 | },
|
11 | "bugs": {
|
12 | "url": "https://github.com/ipfs/js-ipfsd-ctl/issues"
|
13 | },
|
14 | "keywords": [
|
15 | "daemon",
|
16 | "ipfs",
|
17 | "node"
|
18 | ],
|
19 | "engines": {
|
20 | "node": ">=16.0.0",
|
21 | "npm": ">=7.0.0"
|
22 | },
|
23 | "type": "module",
|
24 | "types": "./dist/src/index.d.ts",
|
25 | "typesVersions": {
|
26 | "*": {
|
27 | "*": [
|
28 | "*",
|
29 | "dist/*",
|
30 | "dist/src/*",
|
31 | "dist/src/*/index"
|
32 | ],
|
33 | "src/*": [
|
34 | "*",
|
35 | "dist/*",
|
36 | "dist/src/*",
|
37 | "dist/src/*/index"
|
38 | ]
|
39 | }
|
40 | },
|
41 | "files": [
|
42 | "src",
|
43 | "dist",
|
44 | "!dist/test",
|
45 | "!**/*.tsbuildinfo"
|
46 | ],
|
47 | "exports": {
|
48 | ".": {
|
49 | "import": "./src/index.js"
|
50 | }
|
51 | },
|
52 | "eslintConfig": {
|
53 | "extends": "ipfs",
|
54 | "parserOptions": {
|
55 | "sourceType": "module"
|
56 | }
|
57 | },
|
58 | "release": {
|
59 | "branches": [
|
60 | "master"
|
61 | ],
|
62 | "plugins": [
|
63 | [
|
64 | "@semantic-release/commit-analyzer",
|
65 | {
|
66 | "preset": "conventionalcommits",
|
67 | "releaseRules": [
|
68 | {
|
69 | "breaking": true,
|
70 | "release": "major"
|
71 | },
|
72 | {
|
73 | "revert": true,
|
74 | "release": "patch"
|
75 | },
|
76 | {
|
77 | "type": "feat",
|
78 | "release": "minor"
|
79 | },
|
80 | {
|
81 | "type": "fix",
|
82 | "release": "patch"
|
83 | },
|
84 | {
|
85 | "type": "chore",
|
86 | "release": "patch"
|
87 | },
|
88 | {
|
89 | "type": "docs",
|
90 | "release": "patch"
|
91 | },
|
92 | {
|
93 | "type": "test",
|
94 | "release": "patch"
|
95 | },
|
96 | {
|
97 | "scope": "no-release",
|
98 | "release": false
|
99 | }
|
100 | ]
|
101 | }
|
102 | ],
|
103 | [
|
104 | "@semantic-release/release-notes-generator",
|
105 | {
|
106 | "preset": "conventionalcommits",
|
107 | "presetConfig": {
|
108 | "types": [
|
109 | {
|
110 | "type": "feat",
|
111 | "section": "Features"
|
112 | },
|
113 | {
|
114 | "type": "fix",
|
115 | "section": "Bug Fixes"
|
116 | },
|
117 | {
|
118 | "type": "chore",
|
119 | "section": "Trivial Changes"
|
120 | },
|
121 | {
|
122 | "type": "docs",
|
123 | "section": "Trivial Changes"
|
124 | },
|
125 | {
|
126 | "type": "test",
|
127 | "section": "Tests"
|
128 | }
|
129 | ]
|
130 | }
|
131 | }
|
132 | ],
|
133 | "@semantic-release/changelog",
|
134 | "@semantic-release/npm",
|
135 | "@semantic-release/github",
|
136 | "@semantic-release/git"
|
137 | ]
|
138 | },
|
139 | "scripts": {
|
140 | "lint": "aegir lint",
|
141 | "build": "aegir build",
|
142 | "test": "aegir test",
|
143 | "test:node": "aegir test -t node",
|
144 | "test:chrome": "aegir test -t browser",
|
145 | "test:firefox": "aegir test -t browser -- --browser firefox",
|
146 | "release": "aegir release"
|
147 | },
|
148 | "dependencies": {
|
149 | "@hapi/boom": "^10.0.0",
|
150 | "@hapi/hapi": "^20.0.0",
|
151 | "@libp2p/interfaces": "^1.3.32",
|
152 | "@libp2p/logger": "^1.1.4",
|
153 | "@multiformats/multiaddr": "^10.1.8",
|
154 | "execa": "^6.1.0",
|
155 | "ipfs-utils": "^9.0.1",
|
156 | "joi": "^17.2.1",
|
157 | "merge-options": "^3.0.1",
|
158 | "nanoid": "^3.1.3",
|
159 | "p-wait-for": "^4.1.0",
|
160 | "temp-write": "^5.0.0",
|
161 | "wherearewe": "^1.0.2"
|
162 | },
|
163 | "devDependencies": {
|
164 | "@types/hapi__hapi": "^20.0.9",
|
165 | "aegir": "^37.0.15",
|
166 | "go-ipfs": "^0.12.0",
|
167 | "ipfs": "^0.62.1",
|
168 | "ipfs-client": "^0.7.0",
|
169 | "ipfs-core-types": "^0.10.1",
|
170 | "ipfs-http-client": "^56.0.1",
|
171 | "util": "^0.12.4"
|
172 | },
|
173 | "browser": {
|
174 | "./src/endpoint/server.js": "./src/endpoint/server.browser.js",
|
175 | "./src/utils.js": "./src/utils.browser.js",
|
176 | "./src/ipfsd-daemon.js": "./src/ipfsd-client.js",
|
177 | "go-ipfs": false
|
178 | },
|
179 | "jsdelivr": "dist/index.min.js",
|
180 | "unpkg": "dist/index.min.js"
|
181 | }
|