2020-08-19 17:17:08 +00:00
|
|
|
{
|
|
|
|
"name": "lemmy-js-client",
|
|
|
|
"description": "A javascript / typescript client for Lemmy",
|
2022-01-09 16:22:22 +00:00
|
|
|
"version": "0.15.0-rc.26",
|
2020-08-19 17:17:08 +00:00
|
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
"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/'",
|
2020-08-19 17:17:08 +00:00
|
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
2021-10-14 18:41:39 +00:00
|
|
|
"prepare": "yarn run build && husky install"
|
2020-08-19 17:17:08 +00:00
|
|
|
},
|
|
|
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
|
|
|
"devDependencies": {
|
2021-12-06 19:44:10 +00:00
|
|
|
"@types/node": "^16.11.11",
|
2021-09-28 16:08:22 +00:00
|
|
|
"@types/node-fetch": "^3.0.3",
|
2021-12-06 19:44:10 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
|
|
"@typescript-eslint/parser": "^5.5.0",
|
|
|
|
"eslint": "^8.3.0",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"lint-staged": "^12.1.2",
|
|
|
|
"node-fetch": "^3.1.0",
|
|
|
|
"prettier": "^2.5.0",
|
|
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
|
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
|
|
"prettier-plugin-packagejson": "^2.2.15",
|
2021-01-24 04:56:39 +00:00
|
|
|
"sortpack": "^2.2.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",
|
2021-12-06 19:44:10 +00:00
|
|
|
"typescript": "^4.5.2"
|
2020-08-19 17:17:08 +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
|
|
|
}
|
|
|
|
}
|