From 6660ca39ca5ad81babb8c0a0bb811459971580b1 Mon Sep 17 00:00:00 2001 From: barbatus Date: Tue, 22 Mar 2016 17:50:30 +0300 Subject: [PATCH] fix(npm install for Windows): https://github.com/Urigo/angular2-meteor/issues/185 --- install.js | 3 +++ package.json | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 install.js diff --git a/install.js b/install.js new file mode 100644 index 0000000..85dfab7 --- /dev/null +++ b/install.js @@ -0,0 +1,3 @@ +var fs = require('fs.extra'); + +fs.copyRecursive('./build', './', function(err) {}); diff --git a/package.json b/package.json index f9c7ca0..5d169b9 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "license": "MIT", "scripts": { "start": "./build.sh", - "install": "mv ./build/* ./" + "install": "node install.js" }, "dependencies": { "ejson": ">=2.1.2" @@ -32,6 +32,7 @@ "ts-loader": "^0.8.0", "typescript": "^1.7.5", "webpack": "^1.12.12", - "typings": "^0.7.7" + "typings": "^0.7.7", + "fs.extra": "^1.3.2" } }