files and bin
This commit is contained in:
3
package-lock.json
generated
3
package-lock.json
generated
@@ -12,6 +12,9 @@
|
||||
"json5": "2.2.3",
|
||||
"openweather-api-node": "3.1.5"
|
||||
},
|
||||
"bin": {
|
||||
"morning-report": "distribution/src/index.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "24.3.0",
|
||||
"@vitest/coverage-v8": "3.2.4",
|
||||
|
@@ -19,6 +19,12 @@
|
||||
},
|
||||
"type": "module",
|
||||
"main": "distribution/index.js",
|
||||
"bin": {
|
||||
"morning-report": "./distribution/src/index.js"
|
||||
},
|
||||
"files": [
|
||||
"distribution"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node distribution/src/index.js",
|
||||
|
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
import path from 'path';
|
||||
import fsp from 'fs/promises';
|
||||
import json5 from 'json5';
|
||||
|
Reference in New Issue
Block a user