diff --git a/package-lock.json b/package-lock.json index 646411f..8937c7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16979,7 +16979,6 @@ "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", "dev": true, - "license": "MIT", "dependencies": { "minimist": "^1.2.3", "shelljs": "^0.8.5" diff --git a/package.json b/package.json index 7724ce5..f175ba1 100755 --- a/package.json +++ b/package.json @@ -88,10 +88,10 @@ "prepack-bkp": "npm run build && oclif manifest && oclif readme", "test": "mocha --forbid-only \"test/**/*.test.ts\"", "version": "oclif readme && git add README.md", - "build": "npm run clean && npm run compile", - "clean": "rm -rf ./dist ./node_modules tsconfig.build.tsbuildinfo", + "build": "npm run clean && shx rm -rf lib && tsc -b", + "clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json", "compile": "tsc -b tsconfig.json", - "prepack": "pnpm compile && oclif manifest && oclif readme", + "prepack": "npm run build && oclif manifest && oclif readme", "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"", "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"" }, diff --git a/tsconfig.json b/tsconfig.json index e749a31..b3d0469 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "declaration": true, "importHelpers": true, "module": "commonjs", - "outDir": "dist", + "outDir": "lib", "rootDir": "src", "strict": true, "target": "es2017",