2020-08-19 17:17:08 +00:00
|
|
|
{
|
|
|
|
"name": "lemmy-js-client",
|
2023-12-13 15:48:49 +00:00
|
|
|
"version": "0.19.0",
|
2022-12-09 15:01:21 +00:00
|
|
|
"description": "A javascript / typescript client for Lemmy",
|
|
|
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
2020-08-19 17:17:08 +00:00
|
|
|
"license": "AGPL-3.0",
|
2022-12-09 15:01:21 +00:00
|
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
2020-08-19 17:17:08 +00:00
|
|
|
"main": "./dist/index.js",
|
2022-12-09 15:01:21 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
2023-06-05 23:32:23 +00:00
|
|
|
"files": [
|
|
|
|
"/dist"
|
|
|
|
],
|
2020-08-19 17:17:08 +00:00
|
|
|
"scripts": {
|
|
|
|
"build": "tsc",
|
2023-05-10 15:15:51 +00:00
|
|
|
"docs": "typedoc src/index.ts",
|
2022-12-19 15:57:02 +00:00
|
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src",
|
2021-10-14 18:41:39 +00:00
|
|
|
"prepare": "yarn run build && husky install"
|
2020-08-19 17:17:08 +00:00
|
|
|
},
|
2022-12-09 15:01:21 +00:00
|
|
|
"lint-staged": {
|
2023-06-05 23:32:23 +00:00
|
|
|
"*.{ts,tsx,js}": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
|
|
|
"package.json": [
|
|
|
|
"sortpack"
|
|
|
|
]
|
2022-12-09 15:01:21 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-11-29 17:39:30 +00:00
|
|
|
"cross-fetch": "^3.1.5",
|
2023-03-22 18:33:54 +00:00
|
|
|
"form-data": "^4.0.0"
|
2022-12-09 15:01:21 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-29 08:27:09 +00:00
|
|
|
"@types/node": "^20.10.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
|
|
"@typescript-eslint/parser": "^6.13.1",
|
|
|
|
"eslint": "^8.54.0",
|
|
|
|
"eslint-plugin-prettier": "^5.0.1",
|
2023-05-10 15:15:51 +00:00
|
|
|
"husky": "^8.0.3",
|
2023-11-29 08:27:09 +00:00
|
|
|
"lint-staged": "^15.1.0",
|
|
|
|
"prettier": "^3.1.0",
|
2021-12-06 19:44:10 +00:00
|
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
2023-11-29 08:27:09 +00:00
|
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
|
|
"prettier-plugin-packagejson": "^2.4.6",
|
|
|
|
"sortpack": "^2.3.5",
|
2023-05-10 15:15:51 +00:00
|
|
|
"typedoc": "^0.24.7",
|
2023-11-29 08:27:09 +00:00
|
|
|
"typescript": "^5.3.2"
|
2020-08-19 17:17:08 +00:00
|
|
|
},
|
2021-12-06 19:44:10 +00:00
|
|
|
"importSort": {
|
|
|
|
".js, .jsx, .ts, .tsx": {
|
|
|
|
"style": "module",
|
|
|
|
"parser": "typescript"
|
|
|
|
}
|
2020-08-19 17:17:08 +00:00
|
|
|
}
|
|
|
|
}
|