Kevin van Zonneveld 9 rokov pred
rodič
commit
79061bb716
2 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 6 0
      Makefile
  2. 1 0
      package.json

+ 6 - 0
Makefile

@@ -1,6 +1,8 @@
 # Licensed under MIT.
 # Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz
 #
+# https://www.npmjs.com/package/fakefile
+#
 # This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts.
 # It functions as a wrapper around the actual listed in `package.json`
 # So instead of typing:
@@ -32,3 +34,7 @@ $$(TARGETS):
 endef
 
 $(eval $(call npm_script_targets))
+
+# These npm run scripts are available, without needing to be mentioned in `package.json`
+install:
+	npm run install

+ 1 - 0
package.json

@@ -71,6 +71,7 @@
   },
   "dependencies": {
     "event-emitter": "^0.3.4",
+    "fakefile": "0.0.5",
     "superagent": "1.5.0",
     "tus-js-client": "1.1.3"
   }