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:
|
commands:
|
||||||
- composer install --ignore-platform-reqs --no-dev
|
- composer install --ignore-platform-reqs --no-dev
|
||||||
|
|
||||||
# - name: node
|
- name: node
|
||||||
# image: node:17.9.0-slim
|
image: node:17.9.0-slim
|
||||||
# commands:
|
commands:
|
||||||
# - npm install && npm run prod && rm -R node_modules
|
- npm ci && npm run prod && npm run img && rm -R node_modules
|
||||||
|
|
||||||
- name: compress
|
- name: compress
|
||||||
image: php:7.3
|
image: php:7.3
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -7,7 +7,7 @@
|
||||||
"hot": "npx mix watch --hot",
|
"hot": "npx mix watch --hot",
|
||||||
"prod": "npx mix build --production",
|
"prod": "npx mix build --production",
|
||||||
"production": "npm run prod",
|
"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}\"",
|
"lint": "eslint \"resources/js/**/*.{js,vue}\"",
|
||||||
"fix": "eslint \"resources/js/**/*.{js,vue}\" --fix"
|
"fix": "eslint \"resources/js/**/*.{js,vue}\" --fix"
|
||||||
},
|
},
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
"merge": "^2.1.1",
|
"merge": "^2.1.1",
|
||||||
"postcss-import": "^14.0.1",
|
"postcss-import": "^14.0.1",
|
||||||
"query-string": "^7.0.0",
|
"query-string": "^7.0.0",
|
||||||
|
"svg-sprite": "^2.0.2",
|
||||||
"v-tooltip": "^2.1.3",
|
"v-tooltip": "^2.1.3",
|
||||||
"wnumb": "^1.2.0"
|
"wnumb": "^1.2.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue