From 49c57a74715bc90562702155b09e7ce1213191ef Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 17 Aug 2016 15:40:27 +0100 Subject: [PATCH] Added the index.js file as the main node file to allow usage as an npm module. --- index.js | 2 ++ package.json | 41 ++++++++++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..5e51a18 --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('./angular-base64.min.js'); +module.exports = 'base64'; \ No newline at end of file diff --git a/package.json b/package.json index 6f8345e..1ff7065 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,30 @@ { - "devDependencies": { - "grunt": "", - "grunt-cli": "", - "grunt-contrib-clean": "", - "grunt-contrib-copy": "", - "grunt-contrib-jshint": "", - "grunt-contrib-watch": "", - "grunt-contrib-concat": "", - "grunt-contrib-uglify": "", - "grunt-notify": "", - "grunt-strip": "", - "grunt-text-replace": "" - } + "name": "angular-base64", + "version": "2.0.4", + "description": "Base64 Conversion for AngularJS Apps", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/ninjatronic/angular-base64.git" + }, + "author": { + "name": "Ninjatronic" + }, + "bugs": { + "url": "https://github.com/ninjatronic/angular-base64/issues" + }, + "homepage": "https://github.com/ninjatronic/angular-base64", + "devDependencies": { + "grunt": "", + "grunt-cli": "", + "grunt-contrib-clean": "", + "grunt-contrib-copy": "", + "grunt-contrib-jshint": "", + "grunt-contrib-watch": "", + "grunt-contrib-concat": "", + "grunt-contrib-uglify": "", + "grunt-notify": "", + "grunt-strip": "", + "grunt-text-replace": "" + } }