mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Refactor build script
This commit is contained in:
parent
8d48d1a7ad
commit
fe119d4f41
@ -1,7 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# find and store current version number
|
# compress 'icons' directory into feather.zip
|
||||||
version=$(grep '"version"' package.json | cut -d '"' -f4)
|
zip -r -j feather.zip ./node_modules/feather-icons/dist/icons/
|
||||||
|
|
||||||
# compress 'icons' directory into feather-[version].zip
|
|
||||||
zip -r feather.zip ./icons/
|
|
||||||
|
@ -1,13 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "feather-icons",
|
"name": "feather",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Simply beautiful open source icons",
|
"description": "Simply beautiful open source icons",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prebuild": "./bin/build-zip.sh",
|
||||||
|
"build": "jekyll build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/colebemis/feather.git"
|
"url": "https://github.com/colebemis/feather.git"
|
||||||
},
|
},
|
||||||
"author": "Cole Bemis <cole@colebemis.com> (http://colebemis.com)",
|
"author": "Cole Bemis <cole@colebemis.com> (http://colebemis.com)",
|
||||||
"license": "MIT"
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"feather-icons": "^3.0.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user