You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
175 lines
4.7 KiB
175 lines
4.7 KiB
10 months ago
|
{
|
||
|
"_from": "ts-custom-error@^3.0.0",
|
||
|
"_id": "ts-custom-error@3.3.1",
|
||
|
"_inBundle": false,
|
||
|
"_integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==",
|
||
|
"_location": "/ts-custom-error",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"type": "range",
|
||
|
"registry": true,
|
||
|
"raw": "ts-custom-error@^3.0.0",
|
||
|
"name": "ts-custom-error",
|
||
|
"escapedName": "ts-custom-error",
|
||
|
"rawSpec": "^3.0.0",
|
||
|
"saveSpec": null,
|
||
|
"fetchSpec": "^3.0.0"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/@zxing/library"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmmirror.com/ts-custom-error/-/ts-custom-error-3.3.1.tgz",
|
||
|
"_shasum": "8bd3c8fc6b8dc8e1cb329267c45200f1e17a65d1",
|
||
|
"_spec": "ts-custom-error@^3.0.0",
|
||
|
"_where": "D:\\Project\\project_wenlv\\tourGuide\\node_modules\\@zxing\\library",
|
||
|
"author": {
|
||
|
"name": "Adrien Gibrat",
|
||
|
"email": "adrien.gibrat@gmail.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/adriengibrat/ts-custom-error/issues"
|
||
|
},
|
||
|
"bundleDependencies": false,
|
||
|
"config": {
|
||
|
"commitizen": {
|
||
|
"path": "cz-conventional-changelog"
|
||
|
}
|
||
|
},
|
||
|
"deprecated": false,
|
||
|
"description": "Extend native Error to create custom errors",
|
||
|
"devDependencies": {
|
||
|
"@semantic-release/changelog": "^6.0.1",
|
||
|
"@semantic-release/git": "^10.0.1",
|
||
|
"@types/jest": "^28.1.8",
|
||
|
"@types/node": "^18.7.13",
|
||
|
"commitizen": "^4.2.5",
|
||
|
"cz-conventional-changelog": "^3.3.0",
|
||
|
"jest": "^28.0.0",
|
||
|
"jest-tap-reporter": "^1.9.0",
|
||
|
"lint-staged": "^13.0.3",
|
||
|
"microbundle": "^0.15.1",
|
||
|
"prettier": "^2.7.1",
|
||
|
"semantic-release": "^19.0.5",
|
||
|
"ts-jest": "^28.0.8",
|
||
|
"tslint": "^6.1.2",
|
||
|
"tslint-config-prettier": "^1.18.0",
|
||
|
"tslint-config-standard": "^9.0.0",
|
||
|
"typescript": "^4.8.2",
|
||
|
"uglifyjs": "^2.4.11"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=14.0.0"
|
||
|
},
|
||
|
"homepage": "https://github.com/adriengibrat/ts-custom-error#readme",
|
||
|
"jest": {
|
||
|
"reporters": [
|
||
|
"jest-tap-reporter"
|
||
|
],
|
||
|
"testRegex": "\\.spec\\.ts$",
|
||
|
"transform": {
|
||
|
"^.+\\.tsx?$": "ts-jest"
|
||
|
},
|
||
|
"moduleFileExtensions": [
|
||
|
"ts",
|
||
|
"js"
|
||
|
],
|
||
|
"preset": "ts-jest",
|
||
|
"testMatch": null
|
||
|
},
|
||
|
"keywords": [
|
||
|
"custom Error",
|
||
|
"extend",
|
||
|
"Error"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"lint-staged": {
|
||
|
"*.ts": [
|
||
|
"prettier --write",
|
||
|
"tslint",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"main": "dist/custom-error.js",
|
||
|
"mangle": {
|
||
|
"regex": "^(?!CustomError\b).*"
|
||
|
},
|
||
|
"module": "dist/custom-error.mjs",
|
||
|
"name": "ts-custom-error",
|
||
|
"prettier": {
|
||
|
"useTabs": true,
|
||
|
"semi": false,
|
||
|
"singleQuote": true,
|
||
|
"trailingComma": "all"
|
||
|
},
|
||
|
"release": {
|
||
|
"branches": [
|
||
|
"main"
|
||
|
],
|
||
|
"verifyConditions": [
|
||
|
"@semantic-release/changelog",
|
||
|
"@semantic-release/npm",
|
||
|
"@semantic-release/git"
|
||
|
],
|
||
|
"prepare": [
|
||
|
"@semantic-release/changelog",
|
||
|
"@semantic-release/npm",
|
||
|
"@semantic-release/git"
|
||
|
],
|
||
|
"publish": [
|
||
|
"@semantic-release/npm",
|
||
|
{
|
||
|
"path": "@semantic-release/github",
|
||
|
"assets": [
|
||
|
{
|
||
|
"path": "dist/custom-error.d.ts",
|
||
|
"label": "Typescript typings"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.js",
|
||
|
"label": "Common JS"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.js.map",
|
||
|
"label": "Common JS - sourcemap"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.mjs",
|
||
|
"label": "ES module"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.mjs.map",
|
||
|
"label": "ES module - sourcemap"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.umd.js",
|
||
|
"label": "UMD (minified, CDN ready)"
|
||
|
},
|
||
|
{
|
||
|
"path": "dist/custom-error.umd.js.map",
|
||
|
"label": "UMD - sourcemap"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/adriengibrat/ts-custom-error.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "tsc --build tsconfig.json && microbundle build --no-compress --entry dist/src/index.js",
|
||
|
"commit": "lint-staged && git-cz",
|
||
|
"coverage": "jest --coverage",
|
||
|
"dist:cleanup": "rm -rf dist/src",
|
||
|
"minify:umd": "uglifyjs --compress --output dist/custom-error.umd.js -- dist/custom-error.umd.js",
|
||
|
"postbuild": "npm run minify:umd && npm run types:concat && npm run dist:cleanup",
|
||
|
"prebuild": "rm -rf dist",
|
||
|
"start": "jest --watch --notify",
|
||
|
"test": "jest",
|
||
|
"types:concat": "cat dist/src/factory.d.ts >> dist/src/custom-error.d.ts && cat dist/src/custom-error.d.ts > dist/custom-error.d.ts && cat dist/custom-error.d.ts > dist/custom-error.umd.d.ts"
|
||
|
},
|
||
|
"types": "dist/custom-error.d.ts",
|
||
|
"unpkg": "dist/custom-error.umd.js",
|
||
|
"version": "3.3.1"
|
||
|
}
|