diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index 8cfb706..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es6", - }, - "exclude": ["node_modules", "builds"] -} diff --git a/package.json b/package.json index 32eb326..98f9a81 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,6 @@ }, "devDependencies": { "release-it": "^14.14.0", - "zotero-types": "^0.0.1" + "zotero-types": "^0.0.3" } } diff --git a/src/events.ts b/src/events.ts index 8280c22..f64721d 100644 --- a/src/events.ts +++ b/src/events.ts @@ -1,4 +1,3 @@ -import { Zotero } from "zotero-types"; import { Addon, addonName } from "./addon"; import AddonModule from "./module"; diff --git a/src/index.ts b/src/index.ts index e9466dd..c631564 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ -import { Zotero } from "zotero-types"; import { Addon } from "./addon"; Zotero.AddonTemplate = new Addon(); diff --git a/src/views.ts b/src/views.ts index d853c4d..0c9928c 100644 --- a/src/views.ts +++ b/src/views.ts @@ -1,4 +1,3 @@ -import { XUL, Zotero } from "zotero-types"; import { Addon } from "./addon"; import AddonModule from "./module"; const { addonRef } = require("../package.json"); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..d5b9388 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + }, + "include": [ + "src", + "typing", + "node_modules/zotero-types" + ], + "exclude": [ + "builds", + "addon" + ] +} \ No newline at end of file