Skip to content

Commit

Permalink
feat(swarmplot): init TypeScript setup
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc authored and wyze committed Jun 22, 2021
1 parent 23059e0 commit 39c1c72
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 2 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions packages/swarmplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
],
"main": "./dist/nivo-swarmplot.cjs.js",
"module": "./dist/nivo-swarmplot.es.js",
"typings": "./dist/types/index.d.ts",
"files": [
"README.md",
"LICENSE.md",
"index.d.ts",
"dist/"
"dist/",
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"@nivo/annotations": "0.70.1",
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions packages/swarmplot/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.types.json",
"compilerOptions": {
"outDir": "./dist/types",
"rootDir": "./src"
},
"include": ["src/**/*"]
}

0 comments on commit 39c1c72

Please sign in to comment.