aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-21 22:48:24 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-21 22:48:52 +0100
commita4317b3115865b445ab035439d6e1611e3233308 (patch)
tree090bc28d8ce3093c0d8ccb750b4c2c17e795e23b
parentd01c356486ce26045cd31191ecbd7254abd41127 (diff)
Use browserify-prepend-licenses to prepend license info
-rw-r--r--makefile4
-rw-r--r--package.json2
2 files changed, 2 insertions, 4 deletions
diff --git a/makefile b/makefile
index 0c38aaa..b7e186d 100644
--- a/makefile
+++ b/makefile
@@ -9,9 +9,7 @@ npm-install:
npm install
mammoth.browser.js:
- -rm $@ -f
- node_modules/.bin/node-license-sniffer . --recurse --js-comment >> $@
- node_modules/.bin/browserify lib/index.js --standalone mammoth >> $@
+ node_modules/.bin/browserify lib/index.js --standalone mammoth -p browserify-prepend-licenses > $@
mammoth.browser.min.js: mammoth.browser.js
node_modules/.bin/uglifyjs mammoth.browser.js -c > $@
diff --git a/package.json b/package.json
index 209805e..ad2c719 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"devDependencies": {
"mocha": "~2.2.5",
"browserify": "~13.0.1",
- "license-sniffer": "~0.1.2",
+ "browserify-prepend-licenses": "~1.0.0",
"duck": "~0.1.11",
"uglify-js": "~2.4.8",
"temp": "~0.7.0",