From 0459d779b70c7758d465f7131ebf38a4df2edb2a Mon Sep 17 00:00:00 2001 From: Robin Knipe Date: Fri, 19 May 2017 18:30:12 +0100 Subject: [PATCH] Create package.json Add a `package.json` to allow `npm` support. --- package.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..fc0e783 --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "blob", + "version": "1.0.0", + "description": "Blob.js implements the W3C Blob interface in browsers that do not natively support it", + "main": "Blob.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 0", + "build": "node_modules/.bin/uglifyjs Blob.js --mangle --comments /@source/ > Blob.min.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/eligrey/Blob.js" + }, + "keywords": [ + "filesaver", + "saveas", + "blob" + ], + "author": "Eli Grey ", + "license": "MIT", + "bugs": { + "url": "https://github.com/eligrey/Blob.js/issues" + }, + "homepage": "https://github.com/eligrey/Blob.js#readme", + "devDependencies": { + "uglify-js": "^2.6.2" + } +}