2020-08-19 17:17:08 +00:00
|
|
|
{
|
|
|
|
"name": "lemmy-js-client",
|
2023-09-18 22:47:31 +00:00
|
|
|
"version": "0.19.0-rc.9",
|
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-03-22 18:33:54 +00:00
|
|
|
"cross-fetch": "^3.1.5",
|
|
|
|
"form-data": "^4.0.0"
|
2022-12-09 15:01:21 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-10 15:15:51 +00:00
|
|
|
"@types/node": "^20.1.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
|
|
"@typescript-eslint/parser": "^5.59.5",
|
|
|
|
"eslint": "^8.40.0",
|
2022-07-30 03:33:06 +00:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2023-05-10 15:15:51 +00:00
|
|
|
"husky": "^8.0.3",
|
|
|
|
"lint-staged": "^13.2.2",
|
2023-07-12 12:37:34 +00:00
|
|
|
"prettier": "^3.0.0",
|
2021-12-06 19:44:10 +00:00
|
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
2023-05-10 15:15:51 +00:00
|
|
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
|
|
"prettier-plugin-packagejson": "^2.4.3",
|
|
|
|
"sortpack": "^2.3.4",
|
|
|
|
"typedoc": "^0.24.7",
|
|
|
|
"typescript": "^5.0.4"
|
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
|
|
|
}
|
|
|
|
}
|