Skip to content

Commit

Permalink
fix: remove esm dependency from global-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
thomvaill committed Dec 14, 2024
1 parent 4acbea6 commit 254c82f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
5 changes: 0 additions & 5 deletions packages/global-cli/nodemon.json

This file was deleted.

11 changes: 7 additions & 4 deletions packages/global-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@
"files": [
"dist"
],
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",
"bin": {
"log4brains": "./dist/log4brains"
},
"scripts": {
"dev": "nodemon",
"build": "tsc --build tsconfig.build.json && copyfiles -u 1 src/log4brains src/index.js dist",
"dev": "microbundle --no-compress --format es,cjs --tsconfig tsconfig.build.json --target node watch",
"build": "microbundle --no-compress --format es,cjs --tsconfig tsconfig.build.json --target node && copyfiles -u 1 src/log4brains dist",
"clean": "rimraf ./dist",
"typescript": "tsc --noEmit",
"lint": "eslint . --max-warnings=0",
Expand All @@ -53,8 +57,7 @@
"@log4brains/init": "1.0.2-alpha.4",
"@log4brains/web": "1.0.2-alpha.4",
"chalk": "^4.1.0",
"commander": "^6.1.0",
"esm": "^3.2.25"
"commander": "^6.1.0"
},
"devDependencies": {
"copyfiles": "^2.4.0"
Expand Down
5 changes: 0 additions & 5 deletions packages/global-cli/src/index.js

This file was deleted.

File renamed without changes.

0 comments on commit 254c82f

Please sign in to comment.