balena-errors
Version:
Collection of Balena JavaScript errors
63 lines (62 loc) • 1.87 kB
JSON
{
"name": "balena-errors",
"version": "5.0.1",
"description": "Collection of Balena JavaScript errors",
"main": "build/errors.js",
"types": "build/errors.d.ts",
"homepage": "https://github.com/balena-io-modules/balena-errors",
"repository": {
"type": "git",
"url": "git://github.com/balena-io-modules/balena-errors.git"
},
"files": [
"build/"
],
"keywords": [
"balena",
"resin",
"errors"
],
"directories": {
"test": "tests"
},
"scripts": {
"test:node": "mocha -r ts-node/register --reporter spec tests/**/*.spec.ts",
"test:browser": "karma start",
"test:ts-compatibility": "npx -p typescript@~5.2.2 tsc --noEmit --project ./tsconfig.dist.json",
"lint": "balena-lint --fix src tests",
"test": "npm run lint && npm run build && npm run test:ts-compatibility && npm run test:node && npm run test:browser && catch-uncommitted --skip-node-versionbot-changes",
"build": "rimraf ./build && npm run lint && tsc && npm run readme",
"prepare": "npm run build",
"readme": "jsdoc2md --template doc/README.hbs build/errors.js > README.md"
},
"author": "Juan Cruz Viotti <juan@balena.io>",
"license": "Apache-2.0",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@balena/lint": "^7.2.1",
"@types/chai": "^4.3.9",
"@types/chai-as-promised": "^7.1.7",
"@types/mocha": "^10.0.3",
"@types/node": "^18.18.8",
"balena-config-karma": "^4.0.2",
"catch-uncommitted": "^2.0.0",
"chai": "^4.3.10",
"jsdoc-to-markdown": "^8.0.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"tslib": "^2.6.2",
"typed-error": "^3.2.2"
},
"versionist": {
"publishedAt": "2026-03-19T17:39:09.588Z"
}
}