From 2fd86ca601f039bf1552e8bdf3bc30918067e7a0 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Sat, 11 Jul 2020 22:05:18 +0200 Subject: [PATCH] clean up --- .gitignore | 1 - package.json | 4 ++-- rollup.dts.config.js | 2 +- tsconfig.dts.json | 8 -------- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 tsconfig.dts.json diff --git a/.gitignore b/.gitignore index c0d283e..73a262f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ npm-debug.log* /.pnp.js # Build files -/.tmp /dist *.tgz diff --git a/package.json b/package.json index f769d95..60fda74 100644 --- a/package.json +++ b/package.json @@ -74,12 +74,12 @@ "typescript": "^3.9.6" }, "scripts": { - "clean": "rimraf dist .tmp node_modules", + "clean": "rimraf dist node_modules", "compile": "tsc -p tsconfig.json --noEmit", "start": "npm run watch", "watch": "tsdx watch --noClean --name CytoscapeBubbleSets --format esm,umd", "build": "npm run clean && tsdx build --name CytoscapeBubbleSets --format esm,umd && npm run typings", - "typings": "tsc -p tsconfig.dts.json && rollup -c rollup.dts.config.js", + "typings": "rollup -c rollup.dts.config.js", "test": "tsdx test --passWithNoTests", "test:watch": "tsdx test --passWithNoTests --watch", "test:coverage": "tsdx test --passWithNoTests --coverage", diff --git a/rollup.dts.config.js b/rollup.dts.config.js index e0cbc41..e65bf9f 100644 --- a/rollup.dts.config.js +++ b/rollup.dts.config.js @@ -4,7 +4,7 @@ import fs from 'fs'; const pkg = JSON.parse(fs.readFileSync('./package.json')); export default { - input: './.tmp/index.d.ts', + input: './src/index.ts', output: { file: 'dist/index.d.ts', format: 'es', diff --git a/tsconfig.dts.json b/tsconfig.dts.json deleted file mode 100644 index 43e58f7..0000000 --- a/tsconfig.dts.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./.tmp", - "declaration": true, - "emitDeclarationOnly": true - } -}