lemmy-js-client/package.json
2022-01-12 08:43:40 -05:00

53 lines
1.5 KiB
JSON

{
"name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy",
"version": "0.15.0",
"author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"main": "./dist/index.js",
"files": [
"/dist"
],
"scripts": {
"build": "tsc",
"docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"prepare": "yarn run build && husky install"
},
"repository": "https://github.com/LemmyNet/lemmy-js-client",
"devDependencies": {
"@types/node": "^17.0.8",
"@types/node-fetch": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.7",
"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",
"sortpack": "^2.2.0",
"typedoc": "^0.21.6",
"typedoc-plugin-sourcefile-url": "^1.0.6",
"typescript": "^4.5.4"
},
"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"
}
}
}