From 5978038b184eb8eeb815bd7fdc57965a657614a7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 18 Apr 2024 12:44:24 +0200 Subject: Add typescript configuration to eslint and package.json To setup environment: npm install To develop, run this in a separate terminal: npm run dev --- package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package.json (limited to 'package.json') diff --git a/package.json b/package.json new file mode 100644 index 0000000..8664fee --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "plantagenet", + "version": "1.0.0", + "main": "rules.js", + "scripts": { + "prepare": "tsc", + "lint": "eslint rules.ts", + "dev": "tsc --watch" + }, + "devDependencies": { + "@typescript-eslint/eslint-plugin": "latest", + "@typescript-eslint/parser": "latest", + "eslint": "latest", + "typescript": "latest" + } +} -- cgit v1.2.3