mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 18:19:54 +00:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "lemmy-js-client",
|
|
"description": "A javascript / typescript client for Lemmy",
|
|
"version": "0.19.2-alpha.3",
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
"license": "AGPL-3.0",
|
|
"main": "./dist/index.js",
|
|
"files": [
|
|
"/dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"docs": "typedoc src/index.ts",
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src",
|
|
"prepare": "pnpm run build && husky install"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
|
"dependencies": {
|
|
"cross-fetch": "^3.1.5",
|
|
"form-data": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@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",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.1.0",
|
|
"prettier": "^3.1.0",
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"prettier-plugin-packagejson": "^2.4.6",
|
|
"sortpack": "^2.3.5",
|
|
"typedoc": "^0.24.7",
|
|
"typescript": "^5.3.2"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
},
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
}
|
|
}
|