2022-08-09 11:11:54 +08:00
|
|
|
{
|
2022-09-22 11:09:13 +08:00
|
|
|
"name": "star-element",
|
2022-08-09 11:11:54 +08:00
|
|
|
"private": true,
|
2022-08-24 14:47:32 +08:00
|
|
|
"version": "0.0.1",
|
2022-08-09 11:11:54 +08:00
|
|
|
"type": "module",
|
|
|
|
"main": "dist/my-element.es.js",
|
|
|
|
"types": "types/my-element.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"types"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
2022-09-22 11:09:13 +08:00
|
|
|
"build": "yarn run esbuild:ts && yarn run build:ts",
|
|
|
|
"build:ts": "yarn tsc --build tsconfig-all.json",
|
2022-10-04 09:11:37 +08:00
|
|
|
"build:vite": "vite build",
|
|
|
|
"build:widgets": "bin/build-widget",
|
2022-09-22 11:09:13 +08:00
|
|
|
"esbuild:ts": "node ./tasks/esbuild-packages.js",
|
2022-08-16 15:44:33 +08:00
|
|
|
"format": "npm run format:prettier",
|
|
|
|
"format:prettier": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --write"
|
2022-08-09 11:11:54 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"lit": "^2.2.7"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-16 15:44:33 +08:00
|
|
|
"prettier": "^2.7.1",
|
2022-09-22 11:09:13 +08:00
|
|
|
"vite": "^3.0.0",
|
|
|
|
"esbuild": "^0.15.8",
|
|
|
|
"fast-glob": "^3.2.12",
|
2022-09-23 14:10:13 +08:00
|
|
|
"tslib": "^2.4.0",
|
2022-09-22 11:09:13 +08:00
|
|
|
"typescript": "^4.8.3"
|
|
|
|
},
|
|
|
|
"workspaces": [
|
|
|
|
"src/components/*",
|
|
|
|
"src/lib/*"
|
|
|
|
]
|
2022-08-16 15:44:33 +08:00
|
|
|
}
|