feat: update package.json and add generate-barrel script
- Set project name to "nova-design-system" and updated version to 0.1.0 - Added description for the project - Defined exports for the main entry and styles - Included a new script "barrel" to generate index.ts for components - Added "sass" as a devDependency chore: update package-lock.json - Added "sass" as a devDependency with version ^1.99.0 - Updated dependencies including @parcel/watcher and others refactor: remove unused assets and Welcome component - Deleted astro.svg and background.svg assets - Removed Welcome.astro component as it was no longer needed
This commit is contained in:
+19
-4
@@ -1,17 +1,32 @@
|
||||
{
|
||||
"name": "",
|
||||
"name": "nova-design-system",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0",
|
||||
"description": "Nova Design System — Astro component library",
|
||||
"engines": {
|
||||
"node": ">=22.12.0"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./styles": "./src/styles/index.scss"
|
||||
},
|
||||
"files": [
|
||||
"src"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
"astro": "astro",
|
||||
"barrel": "node scripts/generate-barrel.mjs"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": ">=4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^6.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass": "^1.99.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user