Add scripts to import data

When updating the data, we must manually insert a new catalogue version
This commit is contained in:
dario-cfpt
2019-12-10 10:10:14 +01:00
parent ccf2720448
commit 313427af34
20 changed files with 992 additions and 9 deletions

View File

@ -2,9 +2,11 @@
"name": "fe-charts",
"version": "0.1.0",
"description": "API for Fire Emblem Three Houses",
"main": "index.js",
"main": "./dist/index.js",
"scripts": {
"start": "tsc && node ./dist/server.js",
"start": "tsc && node ./dist/index.js",
"import-char-gr": "tsc && node ./dist/importCharGrowthRates.js importing",
"import-class-gr": "tsc && node ./dist/importClassGrowthRates.js importing",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@ -25,6 +27,8 @@
"homepage": "https://github.com/dario-cfpt/FE_Charts#readme",
"dependencies": {
"@types/express": "^4.17.2",
"axios": "^0.19.0",
"cheerio": "^1.0.0-rc.3",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"http-status": "^1.4.1",