From 177b3205baa2400ec5893aae1ce8679c6b551a5c Mon Sep 17 00:00:00 2001 From: Raul Date: Sat, 3 Sep 2016 16:46:53 +0200 Subject: [PATCH 1/2] fix(build): Fix NPM build Fix NPM release --- make.js | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make.js b/make.js index 065a837a..e44ab559 100644 --- a/make.js +++ b/make.js @@ -9,9 +9,9 @@ var config = { module: 'cjs' }, map: { - typescript: './node_modules/typescript/lib/typescript.js', + 'typescript': './node_modules/typescript/lib/typescript.js', '@angular': './node_modules/@angular', - rxjs: './node_modules/rxjs' + 'rxjs': './node_modules/rxjs' }, paths: { '*': '*.js' diff --git a/package.json b/package.json index 6acfb32c..a7861884 100644 --- a/package.json +++ b/package.json @@ -45,10 +45,10 @@ "prebuild": "npm run clean && mkdir dist", "tsc": "tsc", "build": "tsc", - "postbuild": "npm run test", + "postbuild": "node make.js && npm run test", "prebuild:travis": "npm run typings install", "build:travis": "tsc", - "postbuild:travis": "npm run test", + "postbuild:travis": "node make.js && npm run test", "clean": "rm -rf dist", "commit": "git-cz", "coverage": "http-server -c-1 -o -s -p 9875 ./coverage", From 5206acfe78157f6cfd38f3f19837ae7bf152b96e Mon Sep 17 00:00:00 2001 From: Raul Date: Sat, 3 Sep 2016 16:51:12 +0200 Subject: [PATCH 2/2] Ignored some files on NPM --- .npmignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 5d9cb5a2..ed436b66 100644 --- a/.npmignore +++ b/.npmignore @@ -4,4 +4,10 @@ src coverage typings typings.json -.couscous \ No newline at end of file +.couscous +docs +*.md +*.yml +karma-test-shim.js +karma.conf.js +make.js \ No newline at end of file