| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- {
- "_from": "ts-custom-error@^3.2.1",
- "_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.2.1",
- "name": "ts-custom-error",
- "escapedName": "ts-custom-error",
- "rawSpec": "^3.2.1",
- "saveSpec": null,
- "fetchSpec": "^3.2.1"
- },
- "_requiredBy": [
- "/@zxing/library"
- ],
- "_resolved": "https://mirrors.huaweicloud.com/repository/npm/ts-custom-error/-/ts-custom-error-3.3.1.tgz",
- "_shasum": "8bd3c8fc6b8dc8e1cb329267c45200f1e17a65d1",
- "_spec": "ts-custom-error@^3.2.1",
- "_where": "E:\\git\\2021项目\\v3-H5\\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"
- }
|