ipld-garbage
Version:
Garbage data generator for the IPLD Data Model
153 lines (152 loc) • 3.78 kB
JSON
{
"name": "ipld-garbage",
"version": "5.0.0",
"description": "Garbage data generator for the IPLD Data Model",
"main": "./cjs/ipld-garbage.js",
"types": "./types/ipld-garbage.d.ts",
"scripts": {
"lint": "standard *.js",
"build": "npm run build:js && npm run build:types",
"build:js": "ipjs build --tests --main && npm run build:copy",
"build:copy": "cp -a tsconfig.json *.js *.ts dist/",
"build:types": "npm run build:copy && cd dist && tsc --build",
"test:cjs": "npm run build",
"test:node": "hundreds node test.js",
"test:browser": "polendina --page --worker --serviceworker --runner=bare-sync --cleanup dist/cjs/browser-test.js",
"test": "npm run lint && npm run test:node && npm run test:cjs && npm run test:browser",
"coverage": "c8 --reporter=html node node test.js && npx st -d coverage -p 8080"
},
"repository": {
"type": "git",
"url": "https://github.com/rvagg/js-ipld-garbage"
},
"keywords": [
"garbage",
"IPLD"
],
"author": "Rod <rod@vagg.org> (http://r.va.gg/)",
"license": "Apache-2.0",
"devDependencies": {
"@sindresorhus/is": "^5.1.0",
"hundreds": "^0.0.9",
"ipjs": "^5.0.0",
"polendina": "^3.0.0",
"standard": "^17.0.0",
"typescript": "^4.2.3"
},
"exports": {
".": {
"browser": "./esm/ipld-garbage.js",
"require": "./cjs/ipld-garbage.js",
"import": "./esm/ipld-garbage.js"
},
"./to-string": {
"browser": "./esm/to-string.js",
"require": "./cjs/to-string.js",
"import": "./esm/to-string.js"
}
},
"dependencies": {
"multiformats": "^9.0.0"
},
"typesVersions": {
"*": {
"*": [
"types/*"
],
"types/*": [
"types/*"
]
}
},
"release": {
"branches": [
"master"
],
"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": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"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": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
}
],
"@semantic-release/github",
"@semantic-release/git"
]
},
"browser": {
".": "./cjs/ipld-garbage.js",
"./to-string": "./cjs/to-string.js"
}
}