From 437ca773c1968b1be940e1f62dec64d74b49a4b7 Mon Sep 17 00:00:00 2001 From: Kayla Altepeter Date: Fri, 16 Oct 2020 08:46:43 -0500 Subject: [PATCH] fix(tests): fixing tests, WIP --- .npmignore | 2 ++ package.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index c55ccfc..14b2abd 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,5 @@ # Ignores TypeScript files, but keeps definitions. *.ts !*.d.ts +packgage-lock.json +tsconfig.json \ No newline at end of file diff --git a/package.json b/package.json index 50b9954..3b2258b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "A blank schematics", "scripts": { "build": "tsc -p tsconfig.json", - "test": "npm run build && jasmine src/**/*_spec.js" + "copy:files": "cp ../**/*.json dist/", + "test": "npm run build && npm run copy:files && jasmine dist/**/*_spec.js" }, "keywords": [ "schematics"