Spaces:
Runtime error
Runtime error
| { | |
| "name": "@replit/vite-plugin-dev-banner", | |
| "version": "0.1.1", | |
| "private": false, | |
| "devDependencies": { | |
| "@types/node": "^22.5.5", | |
| "@typescript-eslint/eslint-plugin": "^6.7.0", | |
| "@typescript-eslint/parser": "^6.7.0", | |
| "tsup": "^8.3.5", | |
| "tsx": "^4.9.5", | |
| "vite": "^5.4.10", | |
| "@replit/tsconfig": "0.0.0" | |
| }, | |
| "main": "./dist/index.js", | |
| "files": [ | |
| "dist" | |
| ], | |
| "dependencies": {}, | |
| "//": "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", | |
| "module": "./dist/index.mjs", | |
| "types": "./dist/index.d.mts", | |
| "exports": { | |
| "import": { | |
| "types": "./dist/index.d.mts", | |
| "import": "./dist/index.mjs" | |
| }, | |
| "require": { | |
| "types": "./dist/index.d.ts", | |
| "require": "./dist/index.js" | |
| } | |
| }, | |
| "scripts": { | |
| "build": "tsup", | |
| "lint": "eslint src", | |
| "format": "prettier --write \"src/**/*.ts\"" | |
| } | |
| } |