Refactor build script

This commit is contained in:
Cole Bemis 2017-07-08 01:15:10 -07:00
parent 8d48d1a7ad
commit fe119d4f41
2 changed files with 9 additions and 7 deletions

View File

@ -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/

View File

@ -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"
}
}