Skip to content

Commit

Permalink
fix(cli): missing main and types field in created package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Oct 1, 2021
1 parent 0e8de17 commit 860a02a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/src/new/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const createPackageJson = (
const pkgContent = {
name,
version: '0.0.0',
main: 'index.js',
types: 'index.d.ts',
napi: {
name: binaryName,
},
Expand Down

0 comments on commit 860a02a

Please sign in to comment.