1
mirror of https://github.com/jakejarvis/jakejarvis.git synced 2025-12-01 07:43:50 -05:00

convert to ESM (doesn't affect output)

This commit is contained in:
2022-05-09 10:56:50 -04:00
parent 0489344e53
commit 789302a6bc
7 changed files with 132 additions and 51 deletions

View File

@@ -18,12 +18,13 @@
"dist"
],
"bin": {
"jakejarvis": "./dist/index.js"
"jakejarvis": "./dist/index.cjs"
},
"type": "module",
"scripts": {
"build": "node build.js",
"run": "yarn build && node dist/index.js",
"lint": "eslint .",
"run": "yarn build && node dist/index.cjs",
"lint": "eslint . --ext js,cjs",
"prepublishOnly": "yarn build"
},
"dependencies": {},
@@ -34,13 +35,15 @@
"@vercel/ncc": "^0.33.4",
"eslint": "^8.15.0",
"eslint-plugin-react": "^7.29.4",
"fs-extra": "^10.1.0",
"ink": "^3.2.0",
"ink-big-text": "^1.2.0",
"ink-gradient": "^2.0.0",
"ink-select-input": "^4.2.1",
"open": "^8.4.0",
"pretty-bytes": "^5.6.0",
"react": "^18.1.0"
"pretty-bytes": "^6.0.0",
"react": "^18.1.0",
"tempy": "^3.0.0"
},
"engines": {
"node": ">=10"
@@ -52,7 +55,7 @@
"plugin:react/jsx-runtime"
],
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": "latest",
"sourceType": "module"
},
"env": {