| 1 | { |
| 2 | "name": "@ipshipyard/libp2p-devtools", |
| 3 | "version": "2.0.2", |
| 4 | "description": "Browser DevTools plugin to inspect a libp2p node running on the current page", |
| 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-devtools#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 | "dist", |
| 23 | "public", |
| 24 | "src", |
| 25 | "devtools.html", |
| 26 | "devtools.js", |
| 27 | "manifest.json", |
| 28 | "!dist/test", |
| 29 | "!**/*.tsbuildinfo" |
| 30 | ], |
| 31 | "exports": { |
| 32 | ".": { |
| 33 | "types": "./dist/src/index.d.ts", |
| 34 | "import": "./dist/src/index.js" |
| 35 | } |
| 36 | }, |
| 37 | "release": { |
| 38 | "branches": [ |
| 39 | "main" |
| 40 | ], |
| 41 | "plugins": [ |
| 42 | [ |
| 43 | "@semantic-release/commit-analyzer", |
| 44 | { |
| 45 | "preset": "conventionalcommits", |
| 46 | "releaseRules": [ |
| 47 | { |
| 48 | "breaking": true, |
| 49 | "release": "major" |
| 50 | }, |
| 51 | { |
| 52 | "revert": true, |
| 53 | "release": "patch" |
| 54 | }, |
| 55 | { |
| 56 | "type": "feat", |
| 57 | "release": "minor" |
| 58 | }, |
| 59 | { |
| 60 | "type": "fix", |
| 61 | "release": "patch" |
| 62 | }, |
| 63 | { |
| 64 | "type": "docs", |
| 65 | "release": "patch" |
| 66 | }, |
| 67 | { |
| 68 | "type": "test", |
| 69 | "release": "patch" |
| 70 | }, |
| 71 | { |
| 72 | "type": "deps", |
| 73 | "release": "patch" |
| 74 | }, |
| 75 | { |
| 76 | "scope": "no-release", |
| 77 | "release": false |
| 78 | } |
| 79 | ] |
| 80 | } |
| 81 | ], |
| 82 | [ |
| 83 | "@semantic-release/release-notes-generator", |
| 84 | { |
| 85 | "preset": "conventionalcommits", |
| 86 | "presetConfig": { |
| 87 | "types": [ |
| 88 | { |
| 89 | "type": "feat", |
| 90 | "section": "Features" |
| 91 | }, |
| 92 | { |
| 93 | "type": "fix", |
| 94 | "section": "Bug Fixes" |
| 95 | }, |
| 96 | { |
| 97 | "type": "chore", |
| 98 | "section": "Trivial Changes" |
| 99 | }, |
| 100 | { |
| 101 | "type": "docs", |
| 102 | "section": "Documentation" |
| 103 | }, |
| 104 | { |
| 105 | "type": "deps", |
| 106 | "section": "Dependencies" |
| 107 | }, |
| 108 | { |
| 109 | "type": "test", |
| 110 | "section": "Tests" |
| 111 | } |
| 112 | ] |
| 113 | } |
| 114 | } |
| 115 | ], |
| 116 | "@semantic-release/changelog", |
| 117 | "@semantic-release/npm", |
| 118 | "@semantic-release/github", |
| 119 | [ |
| 120 | "@semantic-release/git", |
| 121 | { |
| 122 | "assets": [ |
| 123 | "CHANGELOG.md", |
| 124 | "package.json" |
| 125 | ] |
| 126 | } |
| 127 | ] |
| 128 | ] |
| 129 | }, |
| 130 | "scripts": { |
| 131 | "clean": "aegir clean", |
| 132 | "lint": "aegir lint", |
| 133 | "build": "tsc && node esbuild.js", |
| 134 | "package": "web-ext build --source-dir=. --artifacts-dir=. --filename=libp2p-devtools.zip --overwrite-dest", |
| 135 | "publish:chrome-store": "npx cws-publish \"$CHROME_CLIENT_ID\" \"$CHROME_CLIENT_SECRET\" \"$CHROME_REFRESH_TOKEN\" libp2p-devtools.zip \"$CHROME_EXTENSION_ID\"", |
| 136 | "test": "echo \"Error: no test specified\" && exit 1", |
| 137 | "dep-check": "aegir dep-check", |
| 138 | "start:firefox": "web-ext run --source-dir . --verbose --devtools", |
| 139 | "release": "aegir release" |
| 140 | }, |
| 141 | "dependencies": { |
| 142 | "@ipshipyard/libp2p-inspector-metrics": "^2.0.0", |
| 143 | "@ipshipyard/libp2p-inspector-ui": "^2.0.0", |
| 144 | "@libp2p/interface": "^3.1.0", |
| 145 | "it-pipe": "^3.0.1", |
| 146 | "it-pushable": "^3.2.3", |
| 147 | "it-rpc": "^1.2.1", |
| 148 | "it-stream-types": "^2.0.2", |
| 149 | "multiformats": "^13.4.2", |
| 150 | "react": "^19.2.3", |
| 151 | "react-dom": "^19.2.3", |
| 152 | "react-syntax-highlighter": "^16.1.0", |
| 153 | "uint8arrays": "^5.1.0" |
| 154 | }, |
| 155 | "devDependencies": { |
| 156 | "@types/chrome": "^0.1.33", |
| 157 | "@types/react": "^19.2.8", |
| 158 | "@types/react-dom": "^19.2.3", |
| 159 | "@types/react-syntax-highlighter": "^15.5.13", |
| 160 | "aegir": "^47.0.25", |
| 161 | "web-ext": "^9.2.0" |
| 162 | } |
| 163 | } |