From ceabc2898208f312875b9058f3c46158f8901f91 Mon Sep 17 00:00:00 2001 From: Gleb Bashkatov Date: Sun, 11 Apr 2021 20:41:42 +0300 Subject: [PATCH] fix: update template --- template/package.json | 2 +- template/src/lib-name.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/package.json b/template/package.json index 764acf2..acc0556 100644 --- a/template/package.json +++ b/template/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "<%= library.description %>", "keywords": [ - <%= library.keywords.map(k => `"${k}"`).join(",\n ") %> + <%- library.keywords.map((k) => `"${k}"`).join(",\n ") %> ], "main": "dist/lib/<%= library.name %>.js", "typings": "dist/types/<%= library.name %>.d.ts", diff --git a/template/src/lib-name.spec.ts b/template/src/lib-name.spec.ts index d136ee6..635104a 100644 --- a/template/src/lib-name.spec.ts +++ b/template/src/lib-name.spec.ts @@ -1,6 +1,6 @@ // TODO: add tests -import { add } from "./<%= library.name %>"; +import { add } from './<%= library.name %>'; describe('add', () => { it('adds two numbers', () => {