diff --git a/cli/package.json b/cli/package.json index f4860b2..1e80c58 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,10 +1,9 @@ { "name": "smelly-cli", - "version": "0.0.5", + "version": "0.0.6", "private": false, "description": "Find out the smells in your tests, suggestions for correction and the theory behind them", - "main": "build/find-smells.js", - "bin": "build/find-smells.js", + "bin": "build/index.js", "dependencies": { "smelly-detector": "*", "commander": "^12.1.0" @@ -29,7 +28,7 @@ "ts-node": "^10.9.2" }, "scripts": { - "compile": "rm -rf build/ && tsc", + "compile": "rm -rf build/ && tsc && cp index.js build/", "watch": "webpack --watch", "clean": "rm -rf out/ dist/ types/", "compile-tests": "npm run clean && tsc -p . --outDir out", diff --git a/package-lock.json b/package-lock.json index f509e54..9037f6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,9 @@ "version": "1.0.0", "license": "ISC", "workspaces": [ + "detector", "cli", - "vscode", - "detector" + "vscode" ], "devDependencies": { "@types/mocha": "^10.0.8", @@ -25,13 +25,14 @@ }, "cli": { "name": "smelly-cli", - "version": "0.0.5", + "version": "0.0.6", "license": "ISC", "dependencies": { - "commander": "^12.1.0" + "commander": "^12.1.0", + "smelly-detector": "*" }, "bin": { - "smelly-cli": "build/find-smells.js" + "smelly-cli": "build/index.js" }, "devDependencies": { "@types/expect": "^24.3.0", @@ -71,7 +72,7 @@ }, "detector": { "name": "smelly-detector", - "version": "0.0.5", + "version": "0.0.1", "license": "ISC", "dependencies": { "commander": "^12.1.0",