files and bin
All checks were successful
NPM Audit Check / Check NPM audit (push) Successful in -2m18s
Unit tests / Unit tests (push) Successful in -2m5s

This commit is contained in:
2025-08-30 11:12:29 -05:00
parent 749b3e082c
commit ea50cf5f77
3 changed files with 10 additions and 0 deletions

3
package-lock.json generated
View File

@@ -12,6 +12,9 @@
"json5": "2.2.3", "json5": "2.2.3",
"openweather-api-node": "3.1.5" "openweather-api-node": "3.1.5"
}, },
"bin": {
"morning-report": "distribution/src/index.js"
},
"devDependencies": { "devDependencies": {
"@types/node": "24.3.0", "@types/node": "24.3.0",
"@vitest/coverage-v8": "3.2.4", "@vitest/coverage-v8": "3.2.4",

View File

@@ -19,6 +19,12 @@
}, },
"type": "module", "type": "module",
"main": "distribution/index.js", "main": "distribution/index.js",
"bin": {
"morning-report": "./distribution/src/index.js"
},
"files": [
"distribution"
],
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"start": "node distribution/src/index.js", "start": "node distribution/src/index.js",

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
import path from 'path'; import path from 'path';
import fsp from 'fs/promises'; import fsp from 'fs/promises';
import json5 from 'json5'; import json5 from 'json5';