@sprucelabs/error
Version:
Error reporting that's really, really helpful. 💡
98 lines (97 loc) • 3.33 kB
JSON
{
"name": "@sprucelabs/error",
"publishConfig": {
"access": "public"
},
"version": "7.1.0",
"skill": {
"namespace": "spruce-error",
"upgradeIgnoreList": [
"@sprucelabs/jest-json-reporter",
"@sprucelabs/resolve-path-aliases",
"@sprucelabs/spruce-test-fixtures",
"@sprucelabs/test-utils",
"@types/node",
"ts-node"
]
},
"files": [
"build"
],
"main": "./build/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"sideEffects": false,
"description": "Error reporting that's really, really helpful. 💡",
"keywords": [
"node",
"components",
"sprucebot",
"sprucelabs"
],
"homepage": "https://github.com/sprucelabsai/spruce-error",
"bugs": {
"url": "https://github.com/sprucelabsai/spruce-error/issues"
},
"scripts": {
"build.ci": "yarn build.tsc && yarn lint",
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
"build.dev": "yarn build.tsc --sourceMap",
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
"build.resolve-paths": "true",
"build.tsc": "yarn run build.copy-files && tsc",
"build.types": "tsc --emitDeclarationOnly && echo PASS",
"clean": "yarn run clean.build",
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
"clean.build": "rm -rf build/",
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
"clean.dist": "rm -rf build/__tests__ build/esm/__tests__",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"lint": "eslint --cache '**/*.ts'",
"lint.tsc": "tsc -p . --noEmit",
"test": "jest",
"post.watch.build": "yarn build.copy-files",
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
"release": "semantic-release",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"update.dependencies": "yarn run clean.dependencies && yarn",
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
"watch.test": "jest --watch",
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
"watch.tsc": "tsc -w"
},
"devDependencies": {
"@sprucelabs/esm-postbuild": "^7.0.22",
"@sprucelabs/semantic-release": "^5.0.2",
"@sprucelabs/test": "^10.0.14",
"chokidar-cli": "^3.0.0",
"eslint": "^9.33.0",
"eslint-config-spruce": "^11.2.26",
"jest": "^30.0.5",
"jest-circus": "^30.0.5",
"prettier": "^3.6.2",
"tsc-watch": "^7.1.1",
"typescript": "^5.9.2"
},
"peerDependencies": {},
"dependencies": {},
"jest": {
"maxWorkers": 4,
"testTimeout": 120000,
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/tmp/",
"<rootDir>/src/",
"<rootDir>/node_modules/",
"<rootDir>/build/__tests__/testDirsAndFiles/",
"<rootDir>/build/esm/"
],
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
],
"moduleNameMapper": {
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
}
}
}