Explorar el Código

EAGLESIX-3881: add more npm scripts to pkg json that will eventually become more official

Kyle P Davis hace 11 años
padre
commit
21244c256e
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      package.json

+ 7 - 1
package.json

@@ -16,7 +16,13 @@
   ],
   "main": "./mungedb-aggregate.js",
   "scripts": {
-    "test": "npm_scripts/test/test.sh"
+    "test": "npm_scripts/test/test.sh",
+    "mocha": "mocha test/{,**/}*_test.js",
+    "jshint": "jshint -e js,json .",
+    "jscs": "jscs *.js lib/ test/",
+    "benchmarks": "./benchmarksman.js example/*.js",
+    "browserify": "N=aggregate; browserify --standalone $N ./lib/index.js | tee $N.web.js | uglifyjs -c > $N.web.min.js",
+    "webpack": "N=aggregate; webpack -v -c --progress -d --output-library-target var --output-library $N --entry=./lib/ $N.web.js"
   },
   "repository": {
     "url": "git+https://github.com/RiveraGroup/mungedb-aggregate.git#master"