From a3e93c38cf2e74b89189d600c2a1073ab89ffecd Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 7 May 2024 15:36:43 +0300 Subject: [PATCH] Add forgotten package.json --- package.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..094169e --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "tinyraft", + "version": "1.0.0", + "description": "Tiny & abstract Raft leader election algorithm", + "main": "tinyraft.js", + "scripts": { + "lint": "eslint common.js anticli.js antipersistence.js anticluster.js antietcd.js etctree.js etctree.spec.js tinyraft.js tinyraft.spec.js", + "test": "node etctree.spec.js && node tinyraft.spec.js" + }, + "repository": { + "type": "git", + "url": "https://git.yourcmc.ru/vitalif/tinyraft" + }, + "keywords": [ + "raft" + ], + "author": "Vitaliy Filippov", + "license": "MPL-2.0", + "engines": { + "node": ">=12.0.0" + }, + "dependencies": { + "ws": "^8.17.0" + } +}