38 lines
920 B
JSON
38 lines
920 B
JSON
{
|
|
"name": "star-element",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "dist/my-element.es.js",
|
|
"types": "types/my-element.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "yarn run esbuild:ts && yarn run build:ts",
|
|
"build:ts": "yarn tsc --build tsconfig-all.json",
|
|
"build:vite": "vite build && yarn build:widgets",
|
|
"build:widgets": "node ./tasks/build-widgets.js",
|
|
"esbuild:ts": "node ./tasks/esbuild-packages.js",
|
|
"format": "npm run format:prettier",
|
|
"format:prettier": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --write"
|
|
},
|
|
"dependencies": {
|
|
"lit": "^2.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^2.7.1",
|
|
"vite": "^3.0.0",
|
|
"esbuild": "^0.15.8",
|
|
"fast-glob": "^3.2.12",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.8.3"
|
|
},
|
|
"workspaces": [
|
|
"src/components/*",
|
|
"src/lib/*"
|
|
]
|
|
}
|