build sprite script and common component
Showing
... | ... | @@ -20,7 +20,8 @@ |
"lint:tsc": "tsc -p ./tsconfig.json", | ||
"lint:envs-validator:test": "cd ./deploy/tools/envs-validator && ./test.sh", | ||
"prepare": "husky install", | ||
"format-svg": "svgo -r ./icons", | ||
"svg:format": "svgo -r ./icons", | ||
"svg:build-sprite": "icons build -i ./icons -o ./public/icons --optimize", | ||
"test:pw": "./tools/scripts/pw.sh", | ||
"test:pw:local": "export NODE_PATH=$(pwd)/node_modules && yarn test:pw", | ||
"test:pw:docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.35.1-focal ./tools/scripts/pw.docker.sh", | ||
... | ... | @@ -137,6 +138,7 @@ |
"lint-staged": ">=10", | ||
"mockdate": "^3.0.5", | ||
"style-loader": "^3.3.1", | ||
"svg-icons-cli": "^0.0.5", | ||
"svgo": "^2.8.0", | ||
"ts-jest": "^29.0.3", | ||
"ts-node": "^10.9.1", | ||
... | ... |
public/icons/name.d.ts
0 → 100644
ui/shared/IconSvg.tsx
0 → 100644
This diff is collapsed.
Please register or sign in to comment