main
json 169 lines 4.14 KB
Raw
1 {
2 "name": "@ipshipyard/libp2p-inspector-metrics",
3 "version": "2.0.0",
4 "description": "Collect libp2p metrics and send them to browser DevTools",
5 "author": "info@ipshipyard.com",
6 "license": "Apache-2.0 OR MIT",
7 "homepage": "https://github.com/ipshipyard/js-libp2p-inspector/tree/main/packages/libp2p-inspector-metrics#readme",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/ipshipyard/js-libp2p-inspector.git"
11 },
12 "bugs": {
13 "url": "https://github.com/ipshipyard/js-libp2p-inspector/issues"
14 },
15 "publishConfig": {
16 "access": "public",
17 "provenance": true
18 },
19 "type": "module",
20 "types": "./dist/src/index.d.ts",
21 "files": [
22 "src",
23 "dist",
24 "!dist/test",
25 "!**/*.tsbuildinfo"
26 ],
27 "exports": {
28 ".": {
29 "types": "./dist/src/index.d.ts",
30 "import": "./dist/src/index.js"
31 }
32 },
33 "release": {
34 "branches": [
35 "main"
36 ],
37 "plugins": [
38 [
39 "@semantic-release/commit-analyzer",
40 {
41 "preset": "conventionalcommits",
42 "releaseRules": [
43 {
44 "breaking": true,
45 "release": "major"
46 },
47 {
48 "revert": true,
49 "release": "patch"
50 },
51 {
52 "type": "feat",
53 "release": "minor"
54 },
55 {
56 "type": "fix",
57 "release": "patch"
58 },
59 {
60 "type": "docs",
61 "release": "patch"
62 },
63 {
64 "type": "test",
65 "release": "patch"
66 },
67 {
68 "type": "deps",
69 "release": "patch"
70 },
71 {
72 "scope": "no-release",
73 "release": false
74 }
75 ]
76 }
77 ],
78 [
79 "@semantic-release/release-notes-generator",
80 {
81 "preset": "conventionalcommits",
82 "presetConfig": {
83 "types": [
84 {
85 "type": "feat",
86 "section": "Features"
87 },
88 {
89 "type": "fix",
90 "section": "Bug Fixes"
91 },
92 {
93 "type": "chore",
94 "section": "Trivial Changes"
95 },
96 {
97 "type": "docs",
98 "section": "Documentation"
99 },
100 {
101 "type": "deps",
102 "section": "Dependencies"
103 },
104 {
105 "type": "test",
106 "section": "Tests"
107 }
108 ]
109 }
110 }
111 ],
112 "@semantic-release/changelog",
113 "@semantic-release/npm",
114 "@semantic-release/github",
115 [
116 "@semantic-release/git",
117 {
118 "assets": [
119 "CHANGELOG.md",
120 "package.json"
121 ]
122 }
123 ]
124 ]
125 },
126 "scripts": {
127 "clean": "aegir clean",
128 "lint": "aegir lint",
129 "dep-check": "aegir dep-check",
130 "doc-check": "aegir doc-check",
131 "build": "aegir build",
132 "test": "aegir test -t browser",
133 "test:chrome": "aegir test -t browser --cov",
134 "test:firefox": "aegir test -t browser --browser firefox",
135 "release": "aegir release"
136 },
137 "dependencies": {
138 "@libp2p/gossipsub": "^15.0.11",
139 "@libp2p/identify": "^4.0.9",
140 "@libp2p/interface": "^3.1.0",
141 "@libp2p/interface-internal": "^3.0.9",
142 "@libp2p/logger": "^6.2.2",
143 "@libp2p/peer-id": "^6.0.4",
144 "@libp2p/ping": "^3.0.9",
145 "@libp2p/simple-metrics": "^2.0.9",
146 "@libp2p/utils": "^7.0.9",
147 "@multiformats/multiaddr": "^13.0.1",
148 "cborg": "^4.3.2",
149 "dns-packet": "^5.6.1",
150 "it-length-prefixed": "^10.0.1",
151 "it-pipe": "^3.0.1",
152 "it-pushable": "^3.2.3",
153 "it-rpc": "^1.2.1",
154 "multicast-dns": "^7.2.5",
155 "multiformats": "^13.4.2",
156 "progress-events": "^1.0.1",
157 "stream-to-it": "^1.0.1",
158 "uint8arrays": "^5.1.0"
159 },
160 "devDependencies": {
161 "@libp2p/crypto": "^5.1.13",
162 "aegir": "^47.0.25",
163 "sinon-ts": "^2.0.0"
164 },
165 "browser": {
166 "./src/messages/messages.js": "./src/messages/messages.browser.js"
167 },
168 "sideEffects": false
169 }