diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-18 12:44:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-18 12:45:20 +0200 |
commit | 5978038b184eb8eeb815bd7fdc57965a657614a7 (patch) | |
tree | 3c04e08a19f400dbabb767ef30bba49cb2f01f2e /package.json | |
parent | 27e153ecc5eeaaf333552b8e8ebc604e92e64fd5 (diff) | |
download | plantagenet-5978038b184eb8eeb815bd7fdc57965a657614a7.tar.gz |
Add typescript configuration to eslint and package.json
To setup environment:
npm install
To develop, run this in a separate terminal:
npm run dev
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 16 insertions, 0 deletions
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" + } +} |