diff --git a/package.json b/package.json index bb22269db..382eccd70 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "contributors:add": "all-contributors add", "contributors:gen": "all-contributors generate", "format": "prettier --write \"{src,test,types,scripts,storybook}/**/*.{js,tsx,ts}\"", - "lint:tsc": "tsc --noEmit", + "lint:tsc": "tsc", "lint:eslint": "eslint scripts src/{**/,}*.tsx storybook test --fix", "lint": "npm-run-all --parallel lint:*", "start:storybook": "start-storybook -p 9001 -c storybook", diff --git a/tsconfig.json b/tsconfig.json index b6f15b37a..cb4b56971 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,9 @@ "compilerOptions": { "allowSyntheticDefaultImports": true, "baseUrl": ".", + "outDir": "dist", "declaration": true, + "emitDeclarationOnly": true, "esModuleInterop": true, "isolatedModules": false, "jsx": "react",