Added start and bin script
This commit is contained in:
parent
07877a0da9
commit
950b2ad97c
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import fetch from "node-fetch";
|
||||
const APIURI = "https://fi.jamix.cloud/apps/menuservice/rest/haku/menu/92225/1?lang=fi"
|
||||
var todayDate = new Date().toISOString().slice(0, 10).replaceAll('-', '');
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
{
|
||||
"name": "faicli",
|
||||
"name": "faifood",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "faicli",
|
||||
"name": "faifood",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"node-fetch": "^3.2.10"
|
||||
},
|
||||
"bin": {
|
||||
"faifood": "index.mjs"
|
||||
}
|
||||
},
|
||||
"node_modules/data-uri-to-buffer": {
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{
|
||||
"name": "faicli",
|
||||
"name": "faifood",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"run": "node index.js"
|
||||
"start": "node index.mjs"
|
||||
},
|
||||
"bin": {
|
||||
"faifood": "index.mjs"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
|
Loading…
Reference in New Issue