42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "lemmy-js-client",
|
|
"description": "A javascript / typescript client for Lemmy",
|
|
"version": "0.13.0-rc.2",
|
|
"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"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
|
"devDependencies": {
|
|
"@types/node": "^16.10.2",
|
|
"@types/node-fetch": "^3.0.3",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-jane": "^9.0.6",
|
|
"husky": "^7.0.2",
|
|
"lint-staged": "^11.1.2",
|
|
"node-fetch": "^3.0.0",
|
|
"prettier": "^2.4.1",
|
|
"sortpack": "^2.2.0",
|
|
"typedoc": "^0.22.4",
|
|
"typedoc-plugin-sourcefile-url": "^1.0.6",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
}
|
|
}
|