170 lines
4.2 KiB
JSON
170 lines
4.2 KiB
JSON
{
|
|
"name": "cborg",
|
|
"version": "4.5.8",
|
|
"description": "Fast CBOR with a focus on strictness",
|
|
"main": "cborg.js",
|
|
"type": "module",
|
|
"bin": {
|
|
"cborg": "lib/bin.js"
|
|
},
|
|
"scripts": {
|
|
"lint": "standard *.js lib/*.js test/*.js",
|
|
"build": "npm run build:types",
|
|
"build:types": "tsc --build",
|
|
"prepublishOnly": "npm run build",
|
|
"test:node": "c8 --check-coverage --exclude=test/** mocha test/test-*.js",
|
|
"test:node-bin": "mocha test/node-test-bin.js",
|
|
"test:browser": "polendina --cleanup test/test-*.js",
|
|
"test": "npm run lint && npm run build && npm run test:node && npm run test:node-bin && npm run test:browser",
|
|
"test:ci": "npm run test",
|
|
"coverage": "c8 --reporter=html --reporter=text mocha test/test-*.js && npx st -d coverage -p 8888"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:rvagg/cborg.git"
|
|
},
|
|
"keywords": [
|
|
"cbor"
|
|
],
|
|
"author": "Rod <rod@vagg.org> (http://r.va.gg/)",
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/github": "^12.0.0",
|
|
"@semantic-release/npm": "^13.0.0",
|
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
"@types/chai": "^5.0.0",
|
|
"@types/mocha": "^10.0.8",
|
|
"@types/node": "^25.0.0",
|
|
"c8": "^10.1.2",
|
|
"chai": "^6.0.1",
|
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
"ipld-garbage": "^5.0.0",
|
|
"mocha": "^11.0.1",
|
|
"polendina": "^3.2.2",
|
|
"semantic-release": "^25.0.0",
|
|
"standard": "^17.1.2",
|
|
"typescript": "^5.6.2"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./cborg.js",
|
|
"types": "./types/cborg.d.ts"
|
|
},
|
|
"./length": {
|
|
"import": "./lib/length.js",
|
|
"types": "./types/lib/length.d.ts"
|
|
},
|
|
"./taglib": {
|
|
"import": "./taglib.js",
|
|
"types": "./types/taglib.d.ts"
|
|
},
|
|
"./json": {
|
|
"import": "./lib/json/json.js",
|
|
"types": "./types/lib/json/json.d.ts"
|
|
},
|
|
"./interface": {
|
|
"types": "./types/interface.d.ts"
|
|
}
|
|
},
|
|
"types": "cborg.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"json": [
|
|
"types/lib/json/json.d.ts"
|
|
],
|
|
"length": [
|
|
"types/lib/length.d.ts"
|
|
],
|
|
"*": [
|
|
"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",
|
|
"@semantic-release/github",
|
|
"@semantic-release/git"
|
|
]
|
|
}
|
|
}
|