Getting rid of .json file, and adding in start script for npm

This commit is contained in:
Frank Delaguila
2022-10-05 00:55:25 -06:00
parent a8fc60ee87
commit 61ae765ec1
2 changed files with 1 additions and 88 deletions

88
db.json
View File

@@ -1,88 +0,0 @@
{
"games": [
{
"florida": {
"date": "Sep 3, 2022",
"utah_score": 26,
"opponent_points": 29
}
},
{
"southernutah": {
"date": "Sep 10, 2022",
"utah_score": 73,
"opponent_points": 7
}
},
{
"sandiegostate": {
"date": "Sep 17, 2022",
"utah_score": 35,
"opponent_points": 7
}
},
{
"arizonastate": {
"date": "Sep 24, 2022",
"utah_score": 34,
"opponent_points": 13
}
},
{
"oregonstate": {
"date": "Oct 1, 2022",
"utah_score": 42,
"opponent_points": 16
}
},
{
"ucla": {
"date": "Oct 8, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"usc": {
"date": "Oct 15, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"washingtonstate": {
"date": "Oct 27, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"arizona": {
"date": "Nov 5, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"stanford": {
"date": "Nov 12, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"oregon": {
"date": "Nov 19, 2022",
"utah_score": 0,
"opponent_points": 0
}
},
{
"colorado": {
"date": "Nov 26, 2022",
"utah_score": 0,
"opponent_points": 0
}
}
]
}

View File

@@ -4,6 +4,7 @@
"description": "", "description": "",
"main": "scripts.js", "main": "scripts.js",
"scripts": { "scripts": {
"start": "npm run test && node scraper.js",
"test": "jest" "test": "jest"
}, },
"keywords": [], "keywords": [],