summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJed Foster <jed@jedfoster.com>2016-05-13 10:38:24 -0700
committerJed Foster <jed@jedfoster.com>2016-05-13 10:38:24 -0700
commit4b783df176f858bd9b178e86b8862acd5d6e259e (patch)
treed79a5261dd669ba0af620d70478fb9f6f31aa815
parent194641cbad30adbaa3c5e0d5d95990cf3486097e (diff)
downloadReadmore.js-4b783df176f858bd9b178e86b8862acd5d6e259e.zip
Readmore.js-4b783df176f858bd9b178e86b8862acd5d6e259e.tar.gz
Readmore.js-4b783df176f858bd9b178e86b8862acd5d6e259e.tar.bz2
Wrap `gulp compress` in npm `build` script
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 4ced946..ff9d628 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"description": "A lightweight jQuery plugin for collapsing and expanding long blocks of text with \"Read more\" and \"Close\" links.",
"main": "readmore.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "build": "./node_modules/gulp/bin/gulp.js compress"
},
"repository": {
"type": "git",