|
3 | 3 | "version": "21.0.0", |
4 | 4 | "type": "module", |
5 | 5 | "scripts": { |
6 | | - "prepare": "npx husky", |
| 6 | + "prepare": "husky", |
7 | 7 | "start": "ng serve --configuration=localhost-en --open", |
8 | 8 | "start:es": "ng serve --configuration=localhost-es --open", |
9 | 9 | "extract": "ng extract-i18n --format=xlf --output-path=src/locale", |
10 | 10 | "lint": "ng lint && npm run stylelint:check", |
11 | 11 | "prettier:write": "prettier --write \"**/*.{ts,js,json,html,css,scss,md,mdx}\"", |
12 | | - "stylelint:check": "npx stylelint \"**/*.{css,scss}\"", |
13 | | - "stylelint:fix": "npx stylelint \"**/*.{css,scss}\" --fix", |
14 | | - "knip": "npx knip", |
| 12 | + "stylelint:check": "stylelint \"**/*.{css,scss}\"", |
| 13 | + "stylelint:fix": "stylelint \"**/*.{css,scss}\" --fix", |
| 14 | + "knip": "knip", |
15 | 15 | "test": "ng test --no-watch", |
16 | 16 | "test:watch": "ng test", |
17 | 17 | "test:coverage": "ng test --coverage --no-watch", |
18 | | - "playwright:install": "npx playwright install && npx playwright install-deps", |
19 | | - "playwright": "npx playwright test --project=chromium", |
| 18 | + "playwright:install": "playwright install && playwright install-deps", |
| 19 | + "playwright": "playwright test --project=chromium", |
20 | 20 | "test:e2e:local:serve": "npm run playwright:install && node scripts/e2e.mjs", |
21 | | - "test:visual": "npx playwright test e2e/tests/visual.spec.ts --project=chromium", |
22 | | - "test:visual:update": "npx playwright test e2e/tests/visual.spec.ts --project=chromium --update-snapshots", |
| 21 | + "test:visual": "playwright test e2e/tests/visual.spec.ts --project=chromium", |
| 22 | + "test:visual:update": "playwright test e2e/tests/visual.spec.ts --project=chromium --update-snapshots", |
23 | 23 | "test:smoke:local": "npm run playwright:install && BASE_URL=http://localhost:4200 npm run playwright", |
24 | 24 | "test:smoke:dev": "npm run playwright:install && exit 0", |
25 | 25 | "build": "ng build", |
26 | | - "build:serve": "npm run build && npx serve dist/angularexampleapp/browser -p 4200", |
| 26 | + "build:serve": "npm run build && serve dist/angularexampleapp/browser -p 4200", |
27 | 27 | "build:stats": "ng build --configuration=production-sourcemaps --stats-json", |
28 | 28 | "build:lighthouse": "ng build --configuration=lighthouse", |
29 | 29 | "update:es:base:href": "sed -i '' 's|<base href=\"/es/\">|<base href=\"/\">|g' dist/lighthouse/es/index.html", |
|
0 commit comments