43 lines
1,016 B
JSON
43 lines
1,016 B
JSON
{
|
|
"name": "lemmy-js-client",
|
|
"description": "A javascript / typescript client for Lemmy",
|
|
"version": "0.9.8-rc.3",
|
|
"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": {
|
|
"@types/node-fetch": "^2.5.8",
|
|
"eslint": "^7.18.0",
|
|
"eslint-plugin-jane": "^9.0.6",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^10.5.3",
|
|
"node-fetch": "^2.6.1",
|
|
"prettier": "^2.2.1",
|
|
"sortpack": "^2.2.0",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
}
|
|
}
|