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
|
||||
|
||||
# find and store current version number
|
||||
version=$(grep '"version"' package.json | cut -d '"' -f4)
|
||||
|
||||
# compress 'icons' directory into feather-[version].zip
|
||||
zip -r feather.zip ./icons/
|
||||
# compress 'icons' directory into feather.zip
|
||||
zip -r -j feather.zip ./node_modules/feather-icons/dist/icons/
|
||||
|
@ -1,13 +1,18 @@
|
||||
{
|
||||
"name": "feather-icons",
|
||||
"name": "feather",
|
||||
"version": "0.0.0",
|
||||
"description": "Simply beautiful open source icons",
|
||||
"scripts": {
|
||||
"prebuild": "./bin/build-zip.sh",
|
||||
"build": "jekyll build"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/colebemis/feather.git"
|
||||
},
|
||||
"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