build: use pkgroll

This commit is contained in:
Hiroki Osame
2023-02-16 14:40:14 +09:00
parent 9ebe807e49
commit 361bd99ad8
6 changed files with 518 additions and 7 deletions

View File

@@ -14,10 +14,11 @@
"files": [
"dist"
],
"bin": "dist/cli.js",
"bin": "dist/cli.mjs",
"scripts": {
"build": "tsc",
"lint": "eslint --cache ."
"build": "pkgroll",
"lint": "eslint --cache .",
"type-check": "tsc"
},
"dependencies": {
"chalk": "^4.1.2",
@@ -31,6 +32,7 @@
"@types/inquirer": "^9.0.3",
"@types/node": "^18.13.0",
"eslint": "^8.34.0",
"pkgroll": "^1.9.0",
"typescript": "^4.9.5"
},
"eslintConfig": {