2020-08-19 17:17:08 +00:00
|
|
|
{
|
|
|
|
"name": "lemmy-js-client",
|
2022-12-09 15:01:21 +00:00
|
|
|
"description": "A javascript / typescript client for Lemmy",
|
2024-03-13 16:37:59 +00:00
|
|
|
"version": "0.19.4-alpha.8",
|
2022-12-09 15:01:21 +00:00
|
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
2024-01-29 03:08:00 +00:00
|
|
|
"license": "AGPL-3.0",
|
2020-08-19 17:17:08 +00:00
|
|
|
"main": "./dist/index.js",
|
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",
|
2024-01-29 03:08:00 +00:00
|
|
|
"prepare": "pnpm run build && husky"
|
2020-08-19 17:17:08 +00:00
|
|
|
},
|
2024-01-29 03:08:00 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/LemmyNet/lemmy-js-client.git"
|
2022-12-09 15:01:21 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-19 17:29:16 +00:00
|
|
|
"cross-fetch": "^4.0.0",
|
2023-03-22 18:33:54 +00:00
|
|
|
"form-data": "^4.0.0"
|
2022-12-09 15:01:21 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-02-19 17:29:16 +00:00
|
|
|
"@types/node": "^20.11.19",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
|
|
"@typescript-eslint/parser": "^7.0.1",
|
|
|
|
"eslint": "^8.56.0",
|
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
|
|
"husky": "^9.0.11",
|
|
|
|
"lint-staged": "^15.2.2",
|
|
|
|
"prettier": "^3.2.5",
|
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",
|
2024-02-19 17:29:16 +00:00
|
|
|
"prettier-plugin-packagejson": "^2.4.11",
|
|
|
|
"sortpack": "^2.4.0",
|
|
|
|
"typedoc": "^0.25.8",
|
|
|
|
"typescript": "^5.3.3"
|
2020-08-19 17:17:08 +00:00
|
|
|
},
|
2024-01-29 03:08:00 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,js}": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
|
|
|
"package.json": [
|
|
|
|
"sortpack"
|
|
|
|
]
|
|
|
|
},
|
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
|
|
|
}
|
|
|
|
}
|