diff --git a/package-lock.json b/package-lock.json index 9b561b7..1700dc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "npmize", - "version": "1.0.13", + "version": "1.0.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "npmize", - "version": "1.0.13", + "version": "1.0.14", "license": "ISC", "dependencies": { "@babel/parser": "^7.25.6", diff --git a/package.json b/package.json index fbdff69..e5d0ad6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "npmize", "description": "Let's create an npm package without worrying about anything.", - "version": "1.0.13", + "version": "1.0.14", "bin": "./dist/index.js", "scripts": { "dev": "tsc -w", diff --git a/src/program/init.ts b/src/program/init.ts index f0fa59e..8078132 100644 --- a/src/program/init.ts +++ b/src/program/init.ts @@ -23,16 +23,8 @@ export default function (basePath: string, options: InitOptions) { delete data.main delete data.module - delete data.exports - data.main = './dist/index.cjs' data.module = './dist/index.mjs' - data.exports = { - '.': { - require: './dist/index.cjs', - import: './dist/index.mjs', - }, - } packageJSON.write(basePath, data) } else { @@ -57,11 +49,7 @@ export default function (basePath: string, options: InitOptions) { skipLibCheck: true, declaration: true, - inlineSourceMap: false, - strict: true, - pretty: true, - removeComments: true, paths: { '@/*': ['./*'],