Skip to content

Instantly share code, notes, and snippets.

@dontpaniclabsgists
Created February 27, 2025 17:22
Show Gist options
  • Save dontpaniclabsgists/f9cee28122d136f2bfc59ac9e201e383 to your computer and use it in GitHub Desktop.
Save dontpaniclabsgists/f9cee28122d136f2bfc59ac9e201e383 to your computer and use it in GitHub Desktop.
{
"name": "component.library",
"private": true,
"version": "0.0.0",
"description": "A component library",
"type": "module",
"main": "./dist/FileNameInDist.umd.cjs",
"module": "./dist/FileNameInDist.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/FileNameInDist.js",
"require": "./dist/FileNameInDist.umd.cjs"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
},
"peerDependencies": {
"vue": "^3.5.13"
},
"devDependencies": {
"@types/node": "^22.13.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/tsconfig": "^0.7.0",
"typescript": "~5.7.2",
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vue-tsc": "^2.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment