2020-08-19 17:17:08 +00:00
|
|
|
{
|
|
|
|
"name": "lemmy-js-client",
|
2023-04-22 20:42:08 +00:00
|
|
|
"version": "0.17.2-rc.10",
|
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",
|
2020-08-19 17:17:08 +00:00
|
|
|
"files": [
|
|
|
|
"/dist"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"build": "tsc",
|
2021-09-01 14:52:23 +00:00
|
|
|
"docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'",
|
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": {
|
|
|
|
"*.{ts,tsx,js}": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
|
|
|
"package.json": [
|
|
|
|
"sortpack"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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": {
|
2022-07-30 03:35:59 +00:00
|
|
|
"@types/node": "^18.6.2",
|
2022-07-30 03:33:06 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
|
|
"@typescript-eslint/parser": "^5.31.0",
|
|
|
|
"eslint": "^8.20.0",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-05-22 19:46:02 +00:00
|
|
|
"husky": "^8.0.1",
|
2022-07-30 03:35:59 +00:00
|
|
|
"lint-staged": "^13.0.3",
|
2022-07-30 03:33:06 +00:00
|
|
|
"prettier": "^2.7.1",
|
2021-12-06 19:44:10 +00:00
|
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
2022-07-30 03:33:06 +00:00
|
|
|
"prettier-plugin-organize-imports": "^3.0.0",
|
2022-05-22 19:46:02 +00:00
|
|
|
"prettier-plugin-packagejson": "^2.2.18",
|
2022-07-30 03:33:06 +00:00
|
|
|
"sortpack": "^2.3.0",
|
2021-09-30 15:28:12 +00:00
|
|
|
"typedoc": "^0.21.6",
|
2021-09-01 14:52:23 +00:00
|
|
|
"typedoc-plugin-sourcefile-url": "^1.0.6",
|
2022-07-30 03:33:06 +00:00
|
|
|
"typescript": "^4.7.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
|
|
|
}
|
|
|
|
}
|