This commit is contained in:
Dessalines 2020-08-19 13:17:08 -04:00
commit 5016a61db6

40
package.json Normal file
View file

@ -0,0 +1,40 @@
{
"name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy",
"version": "1.0.1",
"author": "Dessalines <tyhou13@gmx.com>",
"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"
]
}
}