diff --git a/.npmignore b/.npmignore index 2275be4..48139da 100644 --- a/.npmignore +++ b/.npmignore @@ -12,7 +12,6 @@ rollup* .babelrc.js #development -/build /sandbox #demo diff --git a/src/api.factory.test.js b/__tests__/api.factory.test.js similarity index 99% rename from src/api.factory.test.js rename to __tests__/api.factory.test.js index 1f0ab45..687be83 100644 --- a/src/api.factory.test.js +++ b/__tests__/api.factory.test.js @@ -1,5 +1,5 @@ -import ElManagement from './distanceFromFactory.js'; -import {Api} from './api.factory.js'; +import ElManagement from '../src/distanceFromFactory.js'; +import {Api} from '../src/api.factory.js'; let container = document.createElement('div'); let getElManagementIns, ins, buttonElement, containerElement, tablistElement; beforeAll(() => { diff --git a/package.json b/package.json index db6b8cd..4c14dc9 100644 --- a/package.json +++ b/package.json @@ -61,9 +61,9 @@ "files": [ "dist", "lib", - "!*.test.js", - "!*.test.js.snap", - "index.d.ts" + "src", + "index.d.ts", + "__tests__" ], "keywords": [ "tabs",