93 lines
2.3 KiB
JSON
93 lines
2.3 KiB
JSON
{
|
|
"name": "megalodon",
|
|
"version": "3.6.4",
|
|
"description": "Mastodon API client for node.js and browser",
|
|
"main": "./lib/src/index.js",
|
|
"typings": "./lib/src/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc -p ./",
|
|
"lint": "eslint --ext .js,.ts src",
|
|
"release": "yarn install && yarn run build && yarn publish",
|
|
"doc": "typedoc --out docs ./src",
|
|
"test": "NODE_ENV=test jest -u --maxWorkers=3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/h3poteto/megalodon.git"
|
|
},
|
|
"keywords": [
|
|
"mastodon",
|
|
"client",
|
|
"api",
|
|
"streaming",
|
|
"rest",
|
|
"proxy"
|
|
],
|
|
"author": "h3poteto",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/h3poteto/megalodon/issues"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@/(.+)": "<rootDir>/src/$1",
|
|
"^~/(.+)": "<rootDir>/$1"
|
|
},
|
|
"testMatch": [
|
|
"**/test/**/*.spec.ts"
|
|
],
|
|
"preset": "ts-jest/presets/default",
|
|
"transform": {
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfig": "tsconfig.json"
|
|
}
|
|
},
|
|
"testEnvironment": "node"
|
|
},
|
|
"homepage": "https://github.com/h3poteto/megalodon#readme",
|
|
"dependencies": {
|
|
"@types/oauth": "^0.9.0",
|
|
"@types/ws": "^7.2.0",
|
|
"axios": "^0.21.0",
|
|
"dayjs": "^1.10.4",
|
|
"form-data": "^4.0.0",
|
|
"https-proxy-agent": "^5.0.0",
|
|
"oauth": "^0.9.15",
|
|
"object-assign-deep": "^0.4.0",
|
|
"socks-proxy-agent": "^5.0.0",
|
|
"typescript": "4.2.4",
|
|
"uuid": "^8.0.0",
|
|
"ws": "^7.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/core-js": "^2.5.0",
|
|
"@types/form-data": "^2.5.0",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/object-assign-deep": "^0.4.0",
|
|
"@types/uuid": "^8.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.19.2",
|
|
"@typescript-eslint/parser": "^2.19.2",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.7.0",
|
|
"eslint-config-standard": "^14.0.1",
|
|
"eslint-plugin-import": "^2.18.0",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-promise": "^4.1.1",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"jest": "^26.6.3",
|
|
"jest-worker": "^26.0.0",
|
|
"lodash": "^4.17.14",
|
|
"prettier": "^2.0.2",
|
|
"ts-jest": "^26.4.4",
|
|
"typedoc": "^0.20.19"
|
|
}
|
|
}
|