Skip to content

Commit

Permalink
Fix types not appearing in distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Dec 30, 2019
1 parent 6478346 commit 2cf017a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
"license": "MIT",
"author": "Derrick Reimer",
"files": [
"dist/**/*.{js|ts}"
"dist/fathom-client.cjs.js",
"dist/fathom-client.esm.js",
"dist/index.d.ts"
],
"main": "dist/fathom-client.cjs.js",
"module": "dist/fathom-client.esm.js",
"types": "dist/types/index.d.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run build:types && npm run build:js",
"build:js": "rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES6",
"declaration": true,
"declarationDir": "dist/types",
"declarationDir": "dist",
"strict": true,
"isolatedModules": true,
"strictNullChecks": false,
Expand Down

0 comments on commit 2cf017a

Please sign in to comment.