This turns the project into a monorepo using pnpm workspaces, dramatically simplifying the build process. It also fixes a lot of bugs and just generally makes the codebase a lot cleaner.
37 lines
913 B
JSON
37 lines
913 B
JSON
{
|
|
"name": "@impost/widget",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"license": "BSL-1.0",
|
|
"module": "./dist/impost.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/impost.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc && vite build",
|
|
"watch": "tsc && vite build --watch",
|
|
"dev": "vite",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"peerDependencies": {
|
|
"lit": "^3.1.2",
|
|
"lit-element": "^3.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@impost/lib": "workspace:*",
|
|
"@types/node": "^20.11.24",
|
|
"lit": "^3.1.2",
|
|
"lit-element": "^3.1.2",
|
|
"oxc-minify": "^0.97.0",
|
|
"tslib": "^2.6.2",
|
|
"typescript": "^5.3.3",
|
|
"vite": "npm:rolldown-vite@latest",
|
|
"vite-plugin-dts": "^4.5.4",
|
|
"comlink": "^4.4.2"
|
|
}
|
|
} |