Skip to content

Commit

Permalink
Specify peerDeps in react template
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed May 1, 2019
1 parent 9b90904 commit 9f5c6de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ prog
build: 'tsdx build',
test: template === 'react' ? 'tsdx test --env=jsdom' : 'tsdx test',
},
peerDependencies: template === 'react' ? { react: '>=16' } : {},
husky: {
hooks: {
'pre-commit': 'pretty-quick --staged',
Expand Down

0 comments on commit 9f5c6de

Please sign in to comment.