Skip to content

Commit

Permalink
added a package.json and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
protodave committed Mar 31, 2014
1 parent 13a2af6 commit 3c69267
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.tmp
.DS_Store
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "SVGInjector",
"description": "Fast, caching, dynamic inline SVG DOM injection library",
"version": "1.0.0",
"author": {
"name": "Waybury",
"url": "http://waybury.com/"
},
"main": "svg-injector.js",
"homepage": "https://github.com/iconic/SVGInjector",
"repository": {
"type": "git",
"url": "https://github.com/iconic/SVGInjector"
},
"keywords": [
"SVG",
"SVG injector",
"images",
"img",
"html",
"DOM"
],
"license": "MIT",
"devDependencies": {
"jshint": "^2.4.4",
"uglify-js": "^2.4.13",
"github-changes": "0.0.10"
},
"scripts": {
"test": "jshint svg-injector.js",
"build": "uglifyjs ./svg-injector.js -c -m -o ./svg-injector.min.js --source-map ./svg-injector.map.js && mv -f svg-injector.{map,min}.js ./dist",
"changelog": "github-changes -o iconic -r SVGInjector --use-commit-body",
"changelog-post": "git add CHANGELOG.md && git commit -m 'Updated CHANGELOG'",
"release": "for TASK in (test build changelog changelog-post tag); do npm run $TASK; done",
"tag": "git tag ${npm_package_version} && git push --tags"
}
}

0 comments on commit 3c69267

Please sign in to comment.