|
122 | 122 | ] |
123 | 123 | }, |
124 | 124 | "scripts": { |
| 125 | + "clean": "aegir clean", |
125 | 126 | "lint": "aegir lint", |
126 | | - "build": "tsc", |
127 | | - "postbuild": "npm run build:copy-proto-files", |
128 | | - "generate": "npm run generate:proto && npm run generate:proto-types", |
129 | | - "generate:proto": "pbjs -t static-module -w es6 -r libp2p-dht-message --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/message/dht.js ./src/message/dht.proto", |
130 | | - "generate:proto-types": "pbts -o src/message/dht.d.ts src/message/dht.js", |
131 | | - "build:copy-proto-files": "cp src/message/dht.js src/message/dht.d.ts dist/src/message", |
132 | | - "pretest": "npm run build", |
133 | | - "test": "aegir test -t node -f ./dist/test", |
134 | | - "test:node": "aegir test -t node -f ./dist/test", |
| 127 | + "build": "aegir build", |
| 128 | + "generate": "protons ./src/message/dht.proto", |
| 129 | + "test": "aegir test -t node", |
| 130 | + "test:node": "aegir test -t node", |
135 | 131 | "dep-check": "aegir dep-check", |
136 | | - "release": "semantic-release" |
| 132 | + "release": "aegir release" |
137 | 133 | }, |
138 | 134 | "dependencies": { |
139 | 135 | "@libp2p/crypto": "^0.22.9", |
140 | | - "@libp2p/interfaces": "^1.3.18", |
141 | | - "@libp2p/logger": "^1.1.2", |
142 | | - "@libp2p/peer-id": "^1.1.8", |
143 | | - "@libp2p/record": "^1.0.0", |
144 | | - "@libp2p/topology": "^1.1.6", |
| 136 | + "@libp2p/interfaces": "^1.3.20", |
| 137 | + "@libp2p/logger": "^1.1.3", |
| 138 | + "@libp2p/peer-id": "^1.1.9", |
| 139 | + "@libp2p/record": "^1.0.2", |
| 140 | + "@libp2p/topology": "^1.1.7", |
145 | 141 | "@multiformats/multiaddr": "^10.1.5", |
146 | 142 | "any-signal": "^3.0.0", |
147 | 143 | "datastore-core": "^7.0.0", |
|
165 | 161 | "p-map": "^5.3.0", |
166 | 162 | "p-queue": "^7.2.0", |
167 | 163 | "private-ip": "^2.3.3", |
168 | | - "protobufjs": "^6.11.2", |
| 164 | + "protons-runtime": "^1.0.2", |
169 | 165 | "streaming-iterables": "^6.0.0", |
170 | 166 | "timeout-abort-controller": "^3.0.0", |
171 | 167 | "uint8arrays": "^3.0.0", |
172 | 168 | "varint": "^6.0.0" |
173 | 169 | }, |
174 | 170 | "devDependencies": { |
175 | | - "@libp2p/interface-compliance-tests": "^1.1.20", |
176 | | - "@libp2p/peer-id-factory": "^1.0.8", |
177 | | - "@libp2p/peer-store": "^1.0.7", |
| 171 | + "@libp2p/interface-compliance-tests": "^1.1.21", |
| 172 | + "@libp2p/peer-id-factory": "^1.0.9", |
| 173 | + "@libp2p/peer-store": "^1.0.8", |
178 | 174 | "@types/lodash.random": "^3.2.6", |
179 | 175 | "@types/lodash.range": "^3.2.6", |
180 | 176 | "@types/node": "^16.11.26", |
181 | 177 | "@types/varint": "^6.0.0", |
182 | 178 | "@types/which": "^2.0.1", |
183 | | - "aegir": "^36.1.3", |
| 179 | + "aegir": "^37.0.8", |
184 | 180 | "datastore-level": "^8.0.0", |
185 | 181 | "delay": "^5.0.0", |
186 | 182 | "execa": "^6.0.0", |
|
190 | 186 | "lodash.random": "^3.2.0", |
191 | 187 | "lodash.range": "^3.2.0", |
192 | 188 | "p-retry": "^5.0.0", |
| 189 | + "protons": "^3.0.2", |
193 | 190 | "sinon": "^13.0.1", |
194 | 191 | "ts-sinon": "^2.0.2", |
195 | 192 | "which": "^2.0.2" |
|
0 commit comments