Added fetching scripts

This commit is contained in:
Sebastian Seedorf
2022-08-19 18:02:11 +02:00
parent d158153fa1
commit 8227cc631d
15 changed files with 1052 additions and 1176 deletions

View File

@@ -10,7 +10,9 @@
"lint:fix": "tsc --noEmit && prettier --write --loglevel warn . && eslint --fix . && stylelint --fix **/*.css",
"eslint:fix": "eslint --fix .",
"stylelint:fix": " stylelint --fix **/*.css",
"prepare": "husky install"
"prepare": "husky install",
"fetch-data": "tsc -p tsconfig.node.json && node scripts-dist/fetch/index.js",
"fetch-translations": "tsc -p tsconfig.node.json && node scripts-dist/translations/index.js"
},
"dependencies": {
"classnames": "^2.3.1",
@@ -30,6 +32,7 @@
},
"devDependencies": {
"@types/node": "18.6.4",
"@types/node-fetch": "^2.6.2",
"@types/pako": "^2.0.0",
"@types/react": "18.0.17",
"@types/react-dom": "18.0.6",
@@ -42,10 +45,13 @@
"husky": "^8.0.1",
"json-schema-to-typescript": "^11.0.2",
"lint-staged": "^13.0.3",
"node-fetch": "2",
"node-html-parser": "^5.4.2-0",
"prettier": "^2.7.1",
"stylelint": "^14.10.0",
"stylelint-config-idiomatic-order": "^8.1.0",
"stylelint-config-standard": "^27.0.0",
"ts-node": "^10.9.1",
"typescript": "4.7.4"
}
}