Skip to content

Commit

Permalink
Merge pull request #21 from sgebhardt/master
Browse files Browse the repository at this point in the history
Added definition file generation to the webpack output
  • Loading branch information
nhabuiduc authored Sep 11, 2019
2 parents 0e09676 + 789850a commit 2a4ff37
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ npm-debug.log
dist
typings
lib/*.map
.vscode
lib/**/*.d.ts
.vscode
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"url": "https://github.com/nhabuiduc/react-filter-box"
},
"main": "lib/react-filter-box.js",
"types": "./lib/ReactFilterBox.d.ts",
"keywords": [
"react-component",
"react",
Expand Down
32 changes: 17 additions & 15 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"compilerOptions": {
"noImplicitAny": true,
"removeComments": true,
"skipLibCheck": true,
"jsx": "react"
// "allowSyntheticDefaultImports":true
},
"awesomeTypescriptLoaderOptions": {
/* ... */
},
"exclude": [
"node_modules",
"wwwroot"
]
}
"compilerOptions": {
"noImplicitAny": true,
"removeComments": true,
"skipLibCheck": true,
"jsx": "react",
"target": "es5",
"module": "commonjs",
"sourceMap": true,
"declaration": true,
"outDir": "lib"
// "allowSyntheticDefaultImports":true
},
"awesomeTypescriptLoaderOptions": {
/* ... */
},
"exclude": ["node_modules", "lib"]
}

0 comments on commit 2a4ff37

Please sign in to comment.