Spaces:
Runtime error
Runtime error
| { | |
| "name": "@replit/vite-plugin-runtime-error-modal", | |
| "version": "0.0.4", | |
| "private": false, | |
| "devDependencies": { | |
| "happy-dom": "^20.0.2", | |
| "tsup": "^8.3.5", | |
| "tsx": "^4.9.5", | |
| "vite": "^5.4.10", | |
| "vitest": "^3.2.4", | |
| "yargs": "^17.5.1", | |
| "@replit/tsconfig": "0.0.0" | |
| }, | |
| "exports": { | |
| "import": { | |
| "types": "./dist/index.d.mts", | |
| "import": "./dist/index.mjs" | |
| }, | |
| "require": { | |
| "types": "./dist/index.d.ts", | |
| "require": "./dist/index.js" | |
| } | |
| }, | |
| "files": [ | |
| "dist" | |
| ], | |
| "dependencies": { | |
| "@jridgewell/trace-mapping": "^0.3.25" | |
| }, | |
| "//": "This is the correct way to set up a package with a `src/index.ts` root file that supports both ESM and CJS modules.", | |
| "///": "https://johnnyreilly.com/dual-publishing-esm-cjs-modules-with-tsup-and-are-the-types-wrong", | |
| "type": "module", | |
| "main": "./dist/index.js", | |
| "module": "./dist/index.mjs", | |
| "types": "./dist/index.d.mts", | |
| "scripts": { | |
| "build": "tsup src/index.ts --external vite --format cjs,esm --dts --clean --sourcemap" | |
| } | |
| } |