UNPKG

balena-errors

Version:
63 lines (62 loc) 1.88 kB
{ "name": "balena-errors", "version": "4.9.0", "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@~2.4.2 tsc --noEmit --project ./tsconfig.dist.json", "lint": "balena-lint --typescript --fix lib 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": ">=6.0" }, "devDependencies": { "@balena/lint": "^6.2.0", "@types/chai": "^4.3.3", "@types/chai-as-promised": "^7.1.5", "@types/mocha": "^9.1.1", "@types/node": "^8.10.61", "balena-config-karma": "^4.0.0", "catch-uncommitted": "^1.6.2", "chai": "^4.3.6", "jsdoc-to-markdown": "^3.0.0", "karma": "^5.2.3", "karma-chrome-launcher": "^2.2.0", "mocha": "^10.1.0", "rimraf": "^2.6.1", "ts-node": "^10.9.1", "typescript": "^4.8.4" }, "dependencies": { "tslib": "^2.0.0", "typed-error": "^3.0.0" }, "versionist": { "publishedAt": "2023-11-01T09:59:48.139Z" } }