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

Commit

Permalink
Merge pull request #181 from ianschmitz/ts-devdep
Browse files Browse the repository at this point in the history
Include TypeScript as devDependency in boilerplate output
  • Loading branch information
DorianGrey authored Jan 22, 2018
2 parents d5e5bb5 + 3a40ac0 commit e7a8320
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"tslint": "^5.7.0",
"tslint-loader": "^3.5.3",
"tslint-react": "^3.2.0",
"typescript": "^2.6.2",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
Expand All @@ -58,6 +57,9 @@
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"peerDependencies": {
"typescript": "2.x"
},
"optionalDependencies": {
"fsevents": "1.1.2"
}
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/scripts/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ module.exports = function(
'@types/react',
'@types/react-dom',
'@types/jest',
'typescript',
];

console.log(
Expand Down

0 comments on commit e7a8320

Please sign in to comment.