fix(cli): missing main and types field in created package.json
This commit is contained in:
parent
0e8de173a4
commit
860a02a7cb
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ export const createPackageJson = (
|
||||||
const pkgContent = {
|
const pkgContent = {
|
||||||
name,
|
name,
|
||||||
version: '0.0.0',
|
version: '0.0.0',
|
||||||
|
main: 'index.js',
|
||||||
|
types: 'index.d.ts',
|
||||||
napi: {
|
napi: {
|
||||||
name: binaryName,
|
name: binaryName,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue