{ "name": "@swagger-api/apidom-error", "version": "1.0.0-beta.11", "description": "Backward compatible custom ApiDOM errors with causes.", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "type": "module", "sideEffects": false, "unpkg": "./dist/apidom-error.browser.min.js", "main": "./src/index.cjs", "exports": { "types": "./types/apidom-error.d.ts", "import": "./src/index.mjs", "require": "./src/index.cjs" }, "types": "./types/apidom-error.d.ts", "scripts": { "build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser", "build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'", "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'", "build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress", "lint": "eslint ./", "lint:fix": "eslint ./ --fix", "clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types", "typescript:check-types": "tsc --noEmit", "typescript:declaration": "copyfiles -u 1 'src/**/*.d.ts' ./types && tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json", "test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test mocha", "prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .", "postpack": "rimraf NOTICE LICENSES" }, "repository": { "type": "git", "url": "git+https://github.com/swagger-api/apidom.git" }, "author": "VladimĂ­r Gorej ", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.20.7" }, "files": [ "src/**/*.mjs", "src/**/*.cjs", "dist/", "types/apidom-error.d.ts", "LICENSES", "NOTICE", "README.md", "CHANGELOG.md" ], "gitHead": "2923c19f907b5d88a92eb3f297069dd3af78cd96" }