mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-04 18:21:12 +00:00
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"name": "lemmy-js-client",
|
|
"description": "A javascript / typescript client for Lemmy",
|
|
"version": "0.17.0-rc.37",
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
"license": "AGPL-3.0",
|
|
"main": "./dist/index.js",
|
|
"files": [
|
|
"/dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'",
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
|
"prepare": "yarn run build && husky install"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
|
"devDependencies": {
|
|
"@sniptt/monads": "^0.5.10",
|
|
"@types/node": "^17.0.33",
|
|
"@types/node-fetch": "^3.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
"@typescript-eslint/parser": "^5.31.0",
|
|
"class-transformer": "^0.5.1",
|
|
"eslint": "^8.20.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^12.4.1",
|
|
"node-fetch": "^3.2.9",
|
|
"prettier": "^2.7.1",
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
"prettier-plugin-organize-imports": "^3.0.0",
|
|
"prettier-plugin-packagejson": "^2.2.18",
|
|
"reflect-metadata": "^0.1.13",
|
|
"sortpack": "^2.3.0",
|
|
"typedoc": "^0.21.6",
|
|
"typedoc-plugin-sourcefile-url": "^1.0.6",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
},
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
}
|
|
}
|