From f1afa7550a4b75b871d8ffd7fbd49ec800010d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kumi=C4=99ga?= Date: Wed, 6 Dec 2023 22:41:32 +0100 Subject: [PATCH] feat: add new create-template scripts --- package.json | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 91df7ad..2d15d0d 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,22 @@ { - "name": "advent-of-frontend", - "version": "0.0.1", - "type": "module", - "description": "Szablon dla zadań z opanujfrontend.pl/advent", - "author": "Przeprogramowani", - "license": "ISC", - "scripts": { - "create": "node ./scripts/create-template.js", - "test": "jest ./tasks/$(date +'%Y-%m-%d')/index.test.ts", - "test:all": "jest" - }, - "devDependencies": { - "@types/jest": "29.5.10", - "jest": "29.7.0", - "ts-jest": "29.1.1", - "tsx": "4.5.0", - "typescript": "5.3.2" - } + "name": "advent-of-frontend", + "version": "0.0.1", + "type": "module", + "description": "Szablon dla zadań z opanujfrontend.pl/advent", + "author": "Przeprogramowani", + "license": "ISC", + "scripts": { + "create": "node ./scripts/create-template.js", + "create-all": "node ./scripts/create-template.js all", + "create-previous": "node ./scripts/create-template.js with-previous", + "test": "jest ./tasks/$(date +'%Y-%m-%d')/index.test.ts", + "test:all": "jest" + }, + "devDependencies": { + "@types/jest": "29.5.10", + "jest": "29.7.0", + "ts-jest": "29.1.1", + "tsx": "4.5.0", + "typescript": "5.3.2" + } }