1 | {
|
2 | "name": "ipfsd-ctl",
|
3 | "version": "12.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 | "types": "./dist/src/index.d.ts",
|
50 | "import": "./src/index.js"
|
51 | }
|
52 | },
|
53 | "eslintConfig": {
|
54 | "extends": "ipfs",
|
55 | "parserOptions": {
|
56 | "sourceType": "module"
|
57 | }
|
58 | },
|
59 | "release": {
|
60 | "branches": [
|
61 | "master"
|
62 | ],
|
63 | "plugins": [
|
64 | [
|
65 | "@semantic-release/commit-analyzer",
|
66 | {
|
67 | "preset": "conventionalcommits",
|
68 | "releaseRules": [
|
69 | {
|
70 | "breaking": true,
|
71 | "release": "major"
|
72 | },
|
73 | {
|
74 | "revert": true,
|
75 | "release": "patch"
|
76 | },
|
77 | {
|
78 | "type": "feat",
|
79 | "release": "minor"
|
80 | },
|
81 | {
|
82 | "type": "fix",
|
83 | "release": "patch"
|
84 | },
|
85 | {
|
86 | "type": "chore",
|
87 | "release": "patch"
|
88 | },
|
89 | {
|
90 | "type": "docs",
|
91 | "release": "patch"
|
92 | },
|
93 | {
|
94 | "type": "test",
|
95 | "release": "patch"
|
96 | },
|
97 | {
|
98 | "scope": "no-release",
|
99 | "release": false
|
100 | }
|
101 | ]
|
102 | }
|
103 | ],
|
104 | [
|
105 | "@semantic-release/release-notes-generator",
|
106 | {
|
107 | "preset": "conventionalcommits",
|
108 | "presetConfig": {
|
109 | "types": [
|
110 | {
|
111 | "type": "feat",
|
112 | "section": "Features"
|
113 | },
|
114 | {
|
115 | "type": "fix",
|
116 | "section": "Bug Fixes"
|
117 | },
|
118 | {
|
119 | "type": "chore",
|
120 | "section": "Trivial Changes"
|
121 | },
|
122 | {
|
123 | "type": "docs",
|
124 | "section": "Trivial Changes"
|
125 | },
|
126 | {
|
127 | "type": "test",
|
128 | "section": "Tests"
|
129 | }
|
130 | ]
|
131 | }
|
132 | }
|
133 | ],
|
134 | "@semantic-release/changelog",
|
135 | "@semantic-release/npm",
|
136 | "@semantic-release/github",
|
137 | "@semantic-release/git"
|
138 | ]
|
139 | },
|
140 | "scripts": {
|
141 | "lint": "aegir lint",
|
142 | "build": "aegir build",
|
143 | "test": "aegir test",
|
144 | "test:node": "aegir test -t node",
|
145 | "test:chrome": "aegir test -t browser",
|
146 | "test:firefox": "aegir test -t browser -- --browser firefox",
|
147 | "release": "aegir release"
|
148 | },
|
149 | "dependencies": {
|
150 | "@hapi/boom": "^10.0.0",
|
151 | "@hapi/hapi": "^20.0.0",
|
152 | "@libp2p/interface-peer-id": "^1.0.4",
|
153 | "@libp2p/logger": "^2.0.0",
|
154 | "@multiformats/multiaddr": "^10.1.8",
|
155 | "execa": "^6.1.0",
|
156 | "ipfs-utils": "^9.0.1",
|
157 | "joi": "^17.2.1",
|
158 | "merge-options": "^3.0.1",
|
159 | "nanoid": "^4.0.0",
|
160 | "p-wait-for": "^4.1.0",
|
161 | "temp-write": "^5.0.0",
|
162 | "wherearewe": "^1.0.2"
|
163 | },
|
164 | "devDependencies": {
|
165 | "@types/hapi__hapi": "^20.0.9",
|
166 | "aegir": "^37.0.15",
|
167 | "go-ipfs": "^0.13.0",
|
168 | "ipfs": "^0.63.5",
|
169 | "ipfs-client": "^0.8.3",
|
170 | "ipfs-core-types": "^0.11.1",
|
171 | "ipfs-http-client": "^57.0.3",
|
172 | "util": "^0.12.4"
|
173 | },
|
174 | "browser": {
|
175 | "./src/endpoint/server.js": "./src/endpoint/server.browser.js",
|
176 | "./src/utils.js": "./src/utils.browser.js",
|
177 | "./src/ipfsd-daemon.js": "./src/ipfsd-client.js",
|
178 | "go-ipfs": false
|
179 | },
|
180 | "jsdelivr": "dist/index.min.js",
|
181 | "unpkg": "dist/index.min.js"
|
182 | }
|