Skip to content

Commit f26534f

Browse files
committed
chore: update commands and dependencies
1 parent f07fc58 commit f26534f

File tree

5 files changed

+260
-6
lines changed

5 files changed

+260
-6
lines changed

.eslintrc.cjs .eslintrc.js

File renamed without changes.

cli/package-lock.json

+92
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/package.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
6+
"type": "module",
67
"scripts": {
78
"test": "echo \"Error: no test specified\" && exit 1",
89
"build": "ncc build index.ts -o dist",
9-
"calc": "pnpm run build && . ./.env.rc && node dist/index.js",
10-
"csv": "pnpm run build && . ./.env.rc && node dist/index.js --save-csv"
10+
"calc": "pnpm run build && node dist/index.js",
11+
"csv": "pnpm run build && node dist/index.js --save-csv"
1112
},
1213
"keywords": [],
1314
"author": "",
1415
"license": "ISC",
1516
"dependencies": {
16-
"minimist": "^1.2.8"
17+
"minimist": "^1.2.8",
18+
"axios": "^1.6.2"
1719
},
1820
"devDependencies": {
1921
"@types/minimist": "^1.2.5",
2022
"@types/node": "^20.10.4",
2123
"@vercel/ncc": "0.38.1",
22-
"typescript": "^5.2.2"
24+
"typescript": "^5.2.2",
25+
"ts-node": "^10.9.2"
2326
}
24-
}
27+
}

cli/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5353
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5454
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
55-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
55+
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
5656
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
5757
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5858
"outDir": "dist",

0 commit comments

Comments
 (0)