run svg sprite locally
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ace61dc470
commit
070ebaaab1
|
@ -49,10 +49,10 @@ steps:
|
|||
commands:
|
||||
- composer install --ignore-platform-reqs --no-dev
|
||||
|
||||
# - name: node
|
||||
# image: node:17.9.0-slim
|
||||
# commands:
|
||||
# - npm install && npm run prod && rm -R node_modules
|
||||
- name: node
|
||||
image: node:17.9.0-slim
|
||||
commands:
|
||||
- npm ci && npm run prod && npm run img && rm -R node_modules
|
||||
|
||||
- name: compress
|
||||
image: php:7.3
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -7,7 +7,7 @@
|
|||
"hot": "npx mix watch --hot",
|
||||
"prod": "npx mix build --production",
|
||||
"production": "npm run prod",
|
||||
"img": "rm -R public/img && cd resources/img/svg && svg-sprite -s --symbol-dest=sprite *.svg && mv sprite/svg/sprite.symbol.svg ../sprite.svg && rm -R sprite && cd ../../../ && cp -R resources/img public/img",
|
||||
"img": "rm -R public/img && cd resources/img/svg && npx svg-sprite -s --symbol-dest=sprite *.svg && mv sprite/svg/sprite.css.svg ../sprite.svg && rm -R sprite && cd ../../../ && cp -R resources/img public/img",
|
||||
"lint": "eslint \"resources/js/**/*.{js,vue}\"",
|
||||
"fix": "eslint \"resources/js/**/*.{js,vue}\" --fix"
|
||||
},
|
||||
|
@ -29,6 +29,7 @@
|
|||
"merge": "^2.1.1",
|
||||
"postcss-import": "^14.0.1",
|
||||
"query-string": "^7.0.0",
|
||||
"svg-sprite": "^2.0.2",
|
||||
"v-tooltip": "^2.1.3",
|
||||
"wnumb": "^1.2.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue