diff --git a/libs/ui/README.md b/libs/ui/README.md index 38e9487..c939b7f 100644 --- a/libs/ui/README.md +++ b/libs/ui/README.md @@ -12,7 +12,14 @@ libs/ui/src/ lib/ui// antes shared/ui/ (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 diff --git a/package.json b/package.json index 35e1a9d..76c93a8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,15 @@ "name": "@org/source", "version": "0.0.0", "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, "dependencies": { "@angular-devkit/build-angular": "22.0.6",