mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 00: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 };
|
||||
});
|
||||
|
||||
console.log(events);
|
||||
writeFileSync(`UFC.ics`, createEvents(events).value);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node index.js"
|
||||
},
|
||||
"author": "Clarence Chan",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in new issue
Block a user