188 lines
4.4 KiB
JSON
188 lines
4.4 KiB
JSON
|
|
{
|
||
|
|
"name": "uint8arrays",
|
||
|
|
"version": "4.0.10",
|
||
|
|
"description": "Utility functions to make dealing with Uint8Arrays easier",
|
||
|
|
"author": "Alex Potsides <alex@achingbrain.net>",
|
||
|
|
"license": "Apache-2.0 OR MIT",
|
||
|
|
"homepage": "https://github.com/achingbrain/uint8arrays#readme",
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/achingbrain/uint8arrays.git"
|
||
|
|
},
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/achingbrain/uint8arrays/issues"
|
||
|
|
},
|
||
|
|
"type": "module",
|
||
|
|
"types": "./dist/src/index.d.ts",
|
||
|
|
"typesVersions": {
|
||
|
|
"*": {
|
||
|
|
"*": [
|
||
|
|
"*",
|
||
|
|
"dist/*",
|
||
|
|
"dist/src/*",
|
||
|
|
"dist/src/*/index"
|
||
|
|
],
|
||
|
|
"src/*": [
|
||
|
|
"*",
|
||
|
|
"dist/*",
|
||
|
|
"dist/src/*",
|
||
|
|
"dist/src/*/index"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"src",
|
||
|
|
"dist",
|
||
|
|
"!dist/test",
|
||
|
|
"!**/*.tsbuildinfo"
|
||
|
|
],
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"types": "./dist/src/index.d.ts",
|
||
|
|
"import": "./dist/src/index.js"
|
||
|
|
},
|
||
|
|
"./alloc": {
|
||
|
|
"types": "./dist/src/alloc.d.ts",
|
||
|
|
"import": "./dist/src/alloc.js"
|
||
|
|
},
|
||
|
|
"./compare": {
|
||
|
|
"types": "./dist/src/compare.d.ts",
|
||
|
|
"import": "./dist/src/compare.js"
|
||
|
|
},
|
||
|
|
"./concat": {
|
||
|
|
"types": "./dist/src/concat.d.ts",
|
||
|
|
"import": "./dist/src/concat.js"
|
||
|
|
},
|
||
|
|
"./equals": {
|
||
|
|
"types": "./dist/src/equals.d.ts",
|
||
|
|
"import": "./dist/src/equals.js"
|
||
|
|
},
|
||
|
|
"./from-string": {
|
||
|
|
"types": "./dist/src/from-string.d.ts",
|
||
|
|
"import": "./dist/src/from-string.js"
|
||
|
|
},
|
||
|
|
"./to-string": {
|
||
|
|
"types": "./dist/src/to-string.d.ts",
|
||
|
|
"import": "./dist/src/to-string.js"
|
||
|
|
},
|
||
|
|
"./xor": {
|
||
|
|
"types": "./dist/src/xor.d.ts",
|
||
|
|
"import": "./dist/src/xor.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"eslintConfig": {
|
||
|
|
"extends": "ipfs",
|
||
|
|
"parserOptions": {
|
||
|
|
"project": true,
|
||
|
|
"sourceType": "module"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"release": {
|
||
|
|
"branches": [
|
||
|
|
"main"
|
||
|
|
],
|
||
|
|
"plugins": [
|
||
|
|
[
|
||
|
|
"@semantic-release/commit-analyzer",
|
||
|
|
{
|
||
|
|
"preset": "conventionalcommits",
|
||
|
|
"releaseRules": [
|
||
|
|
{
|
||
|
|
"breaking": true,
|
||
|
|
"release": "major"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"revert": true,
|
||
|
|
"release": "patch"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "feat",
|
||
|
|
"release": "minor"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "fix",
|
||
|
|
"release": "patch"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "docs",
|
||
|
|
"release": "patch"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "test",
|
||
|
|
"release": "patch"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "deps",
|
||
|
|
"release": "patch"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"scope": "no-release",
|
||
|
|
"release": false
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
[
|
||
|
|
"@semantic-release/release-notes-generator",
|
||
|
|
{
|
||
|
|
"preset": "conventionalcommits",
|
||
|
|
"presetConfig": {
|
||
|
|
"types": [
|
||
|
|
{
|
||
|
|
"type": "feat",
|
||
|
|
"section": "Features"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "fix",
|
||
|
|
"section": "Bug Fixes"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "chore",
|
||
|
|
"section": "Trivial Changes"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "docs",
|
||
|
|
"section": "Documentation"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "deps",
|
||
|
|
"section": "Dependencies"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "test",
|
||
|
|
"section": "Tests"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"@semantic-release/changelog",
|
||
|
|
"@semantic-release/npm",
|
||
|
|
"@semantic-release/github",
|
||
|
|
"@semantic-release/git"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"clean": "aegir clean",
|
||
|
|
"test": "aegir test",
|
||
|
|
"test:node": "aegir test -t node --cov",
|
||
|
|
"test:chrome": "aegir test -t browser --cov",
|
||
|
|
"test:chrome-webworker": "aegir test -t webworker",
|
||
|
|
"test:firefox": "aegir test -t browser -- --browser firefox",
|
||
|
|
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
|
||
|
|
"lint": "aegir lint",
|
||
|
|
"release": "aegir release",
|
||
|
|
"build": "aegir build",
|
||
|
|
"dep-check": "aegir dep-check",
|
||
|
|
"docs": "aegir docs"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"multiformats": "^12.0.1"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/benchmark": "^2.1.1",
|
||
|
|
"aegir": "^41.1.9",
|
||
|
|
"benchmark": "^2.1.4"
|
||
|
|
}
|
||
|
|
}
|