|
8 | 8 | ], |
9 | 9 | "scripts": { |
10 | 10 | "build": "stencil build --prerender", |
| 11 | + "build2": "node build.js", |
11 | 12 | "cz": "git-cz", |
12 | 13 | "dev": "sd concurrent \"stencil build --dev --watch --no-cache\" \"stencil-dev-server\" ", |
13 | 14 | "lint": "tslint -p ./tsconfig.json --exclude '**/*.d.ts'", |
|
17 | 18 | "test.watch": "jest --watch --no-cache", |
18 | 19 | "cypress": "cypress open", |
19 | 20 | "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md", |
| 21 | + "build-linux-webp": "sudo apt install webp", |
20 | 22 | "st:generate": "node scripts/st-generate.js", |
21 | | - "install-webp": "brew install webp", |
22 | 23 | "jpg-webp": "for file in src/assets/*.jpg; do cwebp -q 75 \"$file\" -o \"${file%.jpg}.webp\"; done", |
23 | 24 | "png-webp": "for file in src/assets/*.png; do cwebp -q 75 \"$file\" -o \"${file%.png}.webp\"; done", |
24 | 25 | "jpeg-webp": "for file in src/assets/*.jpeg; do cwebp -q 75 \"$file\" -o \"${file%.jpeg}.webp\"; done", |
25 | | - "prepublish": "npm run install-webp && jpg-webp && npm run png-webp && npm run jpeg-webp && stencil build --prod", |
| 26 | + "prepublish": "npm run build2 && jpg-webp && npm run png-webp && npm run jpeg-webp && stencil build --prod", |
26 | 27 | "firebase:deploy": "node scripts/deploy.js", |
27 | 28 | "firebase:deploy:dev": "firebase use default && firebase deploy --token \"$FIREBASE_TOKEN\"", |
28 | 29 | "firebase:deploy:prod": "firebase use production && firebase deploy --token \"$FIREBASE_TOKEN\"" |
|
0 commit comments