rittenhop-ghost/versions/5.94.2/node_modules/@tryghost/errors/package.json

51 lines
1.6 KiB
JSON

{
"name": "@tryghost/errors",
"version": "1.3.5",
"repository": "https://github.com/TryGhost/framework/tree/main/packages/errors",
"author": "Ghost Foundation",
"license": "MIT",
"main": "cjs/index.js",
"module": "es/index.js",
"types": "types/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"scripts": {
"dev": "echo \"Implement me!\"",
"prepare": "NODE_ENV=production yarn build",
"pretest": "NODE_ENV=production yarn build",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"build:cjs": "esbuild src/*.ts --target=es2020 --outdir=cjs --format=cjs",
"build:es": "esbuild src/*.ts --target=es2020 --outdir=es --format=esm",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir types",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NODE_ENV=testing c8 --check-coverage --all -n src --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"cjs",
"es",
"types",
"src"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/lodash": "^4.14.200",
"@types/mocha": "^10.0.3",
"@types/uuid": "^9.0.6",
"c8": "10.1.2",
"esbuild": "^0.19.5",
"lodash": "^4.17.21",
"mocha": "10.6.0",
"should": "13.2.3",
"ts-node": "^10.9.1",
"typescript": "5.2.2"
},
"dependencies": {
"@stdlib/utils-copy": "^0.2.0",
"uuid": "^9.0.0"
},
"gitHead": "d3d489cb44ac3d4e35e21388d48ee0d94e496d86"
}