chore: anade scripts npm para arrancar el playground y construir

This commit is contained in:
2026-07-28 19:22:18 +02:00
parent deb19dd744
commit 24067ed2f6
2 changed files with 17 additions and 2 deletions

View File

@@ -12,7 +12,14 @@ libs/ui/src/
lib/ui/<n>/ antes shared/ui/<n> (29 libs) lib/ui/<n>/ antes shared/ui/<n> (29 libs)
``` ```
Construir: `nx build ui` · Lint: `nx lint ui` ```bash
npm start # catálogo de componentes en http://localhost:4200
npm run build # construye la librería
npm run build:playground
npm run build:all # librería + playground
npm run lint
npm run format
```
## Qué se hizo ## Qué se hizo

View File

@@ -2,7 +2,15 @@
"name": "@org/source", "name": "@org/source",
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"scripts": {}, "scripts": {
"start": "nx serve playground",
"playground": "nx serve playground",
"build": "nx build ui",
"build:playground": "nx build playground",
"build:all": "nx run-many -t build",
"lint": "nx lint ui",
"format": "prettier --write \"{apps,libs}/**/*.{ts,html,scss,md}\""
},
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular-devkit/build-angular": "22.0.6", "@angular-devkit/build-angular": "22.0.6",