diff --git a/bin/build-zip.sh b/bin/build-zip.sh index 17fec6b..4bb2ed9 100755 --- a/bin/build-zip.sh +++ b/bin/build-zip.sh @@ -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/ diff --git a/package.json b/package.json index f806385..1adb557 100644 --- a/package.json +++ b/package.json @@ -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 (http://colebemis.com)", - "license": "MIT" + "license": "MIT", + "dependencies": { + "feather-icons": "^3.0.0" + } }