Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Commit

Permalink
build(toolbelt): add ts definitions to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Feb 7, 2017
1 parent ee94162 commit 4fa8a55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions toolbelt/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "bl-generic",
"version": "1.0.0",
"main": "dist/main.js",
"typings": "definitions/index.d.ts",
"license": "MIT",
"scripts": {
"start": "../../node_modules/.bin/webpack-dev-server --config ../../webpack.config.js --env.dev --hot --host 0.0.0.0 --env.element=packageName",
Expand Down
5 changes: 5 additions & 0 deletions toolbelt/templates/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationDir": "definitions"
},
"include": [
"../../global.d.ts",
"*.ts",
"*.tsx"
]

}

0 comments on commit 4fa8a55

Please sign in to comment.