|
| 1 | +{ |
| 2 | + "name": "@chainsafe/libp2p-noise", |
| 3 | + "version": "12.0.1", |
| 4 | + "author": "ChainSafe <[email protected]>", |
| 5 | + "license": "Apache-2.0 OR MIT", |
| 6 | + "homepage": "https://github.com/ChainSafe/js-libp2p-noise#readme", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "git+https://github.com/ChainSafe/js-libp2p-noise.git" |
| 10 | + }, |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/ChainSafe/js-libp2p-noise/issues" |
| 13 | + }, |
| 14 | + "keywords": [ |
| 15 | + "crypto", |
| 16 | + "libp2p", |
| 17 | + "noise" |
| 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 | + "files": [ |
| 26 | + "src", |
| 27 | + "dist", |
| 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 | + "eslintConfig": { |
| 38 | + "extends": "ipfs", |
| 39 | + "parserOptions": { |
| 40 | + "sourceType": "module" |
| 41 | + }, |
| 42 | + "rules": { |
| 43 | + "@typescript-eslint/no-unused-vars": "error", |
| 44 | + "@typescript-eslint/explicit-function-return-type": "warn", |
| 45 | + "@typescript-eslint/strict-boolean-expressions": "off" |
| 46 | + }, |
| 47 | + "ignorePatterns": [ |
| 48 | + "src/proto/payload.js", |
| 49 | + "src/proto/payload.d.ts", |
| 50 | + "test/fixtures/node-globals.js" |
| 51 | + ] |
| 52 | + }, |
| 53 | + "scripts": { |
| 54 | + "bench": "node benchmarks/benchmark.js", |
| 55 | + "clean": "aegir clean", |
| 56 | + "dep-check": "aegir dep-check", |
| 57 | + "build": "aegir build", |
| 58 | + "lint": "aegir lint", |
| 59 | + "lint:fix": "aegir lint --fix", |
| 60 | + "test": "aegir test", |
| 61 | + "test:node": "aegir test -t node", |
| 62 | + "test:browser": "aegir test -t browser -t webworker", |
| 63 | + "test:electron-main": "aegir test -t electron-main", |
| 64 | + "docs": "aegir docs", |
| 65 | + "proto:gen": "protons ./src/proto/payload.proto", |
| 66 | + "prepublish": "npm run build" |
| 67 | + }, |
| 68 | + "dependencies": { |
| 69 | + "@libp2p/crypto": "^1.0.11", |
| 70 | + "@libp2p/interface": "~0.0.1", |
| 71 | + "@libp2p/logger": "^2.1.1", |
| 72 | + "@libp2p/peer-id": "^2.0.0", |
| 73 | + "@stablelib/chacha20poly1305": "^1.0.1", |
| 74 | + "@noble/hashes": "^1.3.0", |
| 75 | + "@stablelib/x25519": "^1.0.3", |
| 76 | + "it-length-prefixed": "^9.0.1", |
| 77 | + "it-length-prefixed-stream": "^1.0.0", |
| 78 | + "it-byte-stream": "^1.0.0", |
| 79 | + "it-pair": "^2.0.2", |
| 80 | + "it-pipe": "^3.0.1", |
| 81 | + "it-stream-types": "^2.0.1", |
| 82 | + "protons-runtime": "^5.0.0", |
| 83 | + "uint8arraylist": "^2.3.2", |
| 84 | + "uint8arrays": "^4.0.2" |
| 85 | + }, |
| 86 | + "devDependencies": { |
| 87 | + "@libp2p/interface-compliance-tests": "^3.0.0", |
| 88 | + "@libp2p/peer-id-factory": "^2.0.0", |
| 89 | + "@types/sinon": "^10.0.14", |
| 90 | + "aegir": "^39.0.5", |
| 91 | + "iso-random-stream": "^2.0.2", |
| 92 | + "protons": "^7.0.0", |
| 93 | + "sinon": "^15.0.0" |
| 94 | + }, |
| 95 | + "browser": { |
| 96 | + "./dist/src/alloc-unsafe.js": "./dist/src/alloc-unsafe-browser.js", |
| 97 | + "util": false |
| 98 | + } |
| 99 | +} |
0 commit comments