mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 08:38:30 -07:00
Add npm start script
This commit is contained in:
1 parent
50a511af99
commit
1df571f777
2 files changed
+3
-1
No files matched your search
@@ -32,6 +32,7 @@ async function createICS() {
|
|||||||
return { start, duration, title, description, location, url, uid };
|
return { start, duration, title, description, location, url, uid };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log(events);
|
||||||
writeFileSync(`UFC.ics`, createEvents(events).value);
|
writeFileSync(`UFC.ics`, createEvents(events).value);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"start": "node index.js"
|
||||||
},
|
},
|
||||||
"author": "Clarence Chan",
|
"author": "Clarence Chan",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
Reference in new issue
Block a user