chore: anade scripts npm para arrancar el playground y construir
This commit is contained in:
@@ -12,7 +12,14 @@ libs/ui/src/
|
||||
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
|
||||
|
||||
|
||||
10
package.json
10
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",
|
||||
|
||||
Reference in New Issue
Block a user