diff --git a/package-lock.json b/package-lock.json index 69add89..529de81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "loupe", "version": "0.0.0-development", - "hasInstallScript": true, "license": "MIT", "dependencies": { "get-func-name": "^2.0.1" diff --git a/package.json b/package.json index ed85244..83a9e6f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "pretest:node": "npm run build", "test:node": "mocha", "build": "npm run build:lib && npm run build:esm-bundle && npm run build:cjs-bundle", - "build:lib": "esbuild \"src/*.ts\" --outdir=lib --format=esm", + "build:lib": "tsc", "build:esm-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=esm", "build:cjs-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs", "upload-coverage": "codecov" diff --git a/tsconfig.json b/tsconfig.json index c9c99f2..8c96bd7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,8 +8,7 @@ "isolatedModules": true, "useDefineForClassFields": true, "target": "es2018", - "noEmit": true, - "allowImportingTsExtensions": true, + "outDir": "./lib", "lib": ["es2022", "dom"], "strict": true, "declaration": true,