{ "name": "youch", "description": "Pretty print JavaScript errors on the Web and the Terminal", "version": "4.1.0-beta.8", "engines": { "node": ">=18" }, "type": "module", "files": [ "build", "!build/bin", "!build/examples", "!build/tests" ], "main": "build/index.js", "exports": { ".": "./build/index.js", "./types": "./build/src/types.js", "./templates/*": "./build/src/templates/*/main.js" }, "scripts": { "pretest": "npm run lint", "test": "c8 npm run quick:test", "lint": "eslint .", "format": "prettier --write .", "typecheck": "tsc --noEmit", "precompile": "npm run lint", "copy:assets": "copyfiles --up=1 src/public/**/* build", "compile": "tsup-node && tsc --emitDeclarationOnly --declaration", "build": "npm run compile && npm run copy:assets", "version": "npm run build", "prepublishOnly": "npm run build", "release": "release-it", "quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts" }, "devDependencies": { "@adonisjs/eslint-config": "^2.0.0", "@adonisjs/prettier-config": "^1.4.0", "@adonisjs/tsconfig": "^1.4.0", "@aws-sdk/client-s3": "^3.744.0", "@aws-sdk/s3-request-presigner": "^3.744.0", "@japa/assert": "^4.0.1", "@japa/expect": "^3.0.3", "@japa/expect-type": "^2.0.3", "@japa/file-system": "^2.3.2", "@japa/runner": "^4.2.0", "@japa/snapshot": "^2.0.8", "@poppinss/exception": "^1.2.0", "@release-it/conventional-changelog": "^10.0.0", "@swc/core": "1.10.7", "@types/cookie": "^1.0.0", "@types/jsdom": "^21.1.7", "@types/node": "^22.13.2", "@types/pg": "^8.11.11", "axios": "^1.7.9", "c8": "^10.1.3", "copyfiles": "^2.4.1", "eslint": "^9.20.1", "flydrive": "^1.1.0", "jsdom": "^26.0.0", "pg": "^8.13.3", "prettier": "^3.5.1", "release-it": "^18.1.2", "ts-node-maintained": "^10.9.5", "tsup": "^8.3.6", "typescript": "^5.7.3" }, "homepage": "https://github.com/poppinss/youch#readme", "repository": { "type": "git", "url": "git+https://github.com/poppinss/youch.git" }, "bugs": { "url": "https://github.com/poppinss/youch/issues" }, "keywords": [], "author": "Harminder Virk ", "license": "MIT", "publishConfig": { "access": "public", "provenance": true }, "tsup": { "entry": [ "index.ts", "src/types.ts", "src/templates/**/*.ts" ], "outDir": "./build", "clean": true, "format": "esm", "dts": false, "sourcemap": false, "target": "esnext" }, "release-it": { "git": { "requireCleanWorkingDir": true, "requireUpstream": true, "commitMessage": "chore(release): ${version}", "tagAnnotation": "v${version}", "push": true, "tagName": "v${version}" }, "github": { "release": true }, "npm": { "publish": true, "skipChecks": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] }, "prettier": "@adonisjs/prettier-config", "dependencies": { "@poppinss/colors": "^4.1.4", "@poppinss/dumper": "^0.6.3", "@speed-highlight/core": "^1.2.7", "cookie": "^1.0.2", "youch-core": "^0.3.1" } }