mirror of
https://github.com/MrUnknownDE/techem-exporter.git
synced 2026-05-05 22:46:06 +02:00
add npm start command
This commit is contained in:
Binary file not shown.
@@ -50,7 +50,7 @@ async function runExport() {
|
|||||||
console.log('✅ Login erfolgreich.');
|
console.log('✅ Login erfolgreich.');
|
||||||
|
|
||||||
// --- DATEN EXTRAKTION ---
|
// --- DATEN EXTRAKTION ---
|
||||||
const months = [];
|
const months = [];
|
||||||
let current = dayjs(config.startDate);
|
let current = dayjs(config.startDate);
|
||||||
const end = dayjs(config.endDate);
|
const end = dayjs(config.endDate);
|
||||||
while (current.isBefore(end) || current.isSame(end)) {
|
while (current.isBefore(end) || current.isSame(end)) {
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"start": "node index.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.15.0",
|
"axios": "^1.15.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user