From 5016a61db65ba9044ee76a9002a780dc93d7fd35 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 19 Aug 2020 13:17:08 -0400 Subject: [PATCH] v1.0.1 --- package.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..f8486df --- /dev/null +++ b/package.json @@ -0,0 +1,40 @@ +{ + "name": "lemmy-js-client", + "description": "A javascript / typescript client for Lemmy", + "version": "1.0.1", + "author": "Dessalines ", + "license": "AGPL-3.0", + "main": "./dist/index.js", + "files": [ + "/dist" + ], + "scripts": { + "build": "tsc", + "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src", + "prepare": "yarn run build" + }, + "repository": "https://github.com/LemmyNet/lemmy-js-client", + "devDependencies": { + "eslint": "^7.5.0", + "eslint-plugin-jane": "^8.0.4", + "husky": "^4.2.5", + "lint-staged": "^10.1.3", + "sortpack": "^2.1.4", + "typescript": "^3.8.3" + }, + "types": "./dist/index.d.ts", + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{ts,tsx,js}": [ + "prettier --write", + "eslint --fix" + ], + "package.json": [ + "sortpack" + ] + } +}