megalodon/package.json
2019-11-27 15:07:23 +00:00

86 lines
2.1 KiB
JSON

{
"name": "megalodon",
"version": "2.0.1",
"description": "Mastodon API client for node.js",
"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",
"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"
}
}
},
"homepage": "https://github.com/h3poteto/megalodon#readme",
"dependencies": {
"@types/oauth": "^0.9.0",
"@types/request": "^2.47.0",
"@types/ws": "^6.0.1",
"axios": "^0.19.0",
"https-proxy-agent": "^3.0.0",
"moment": "^2.24.0",
"oauth": "^0.9.15",
"request": "^2.87.0",
"socks-proxy-agent": "h3poteto/node-socks-proxy-agent#master",
"typescript": "^3.4.5",
"ws": "^7.0.1"
},
"devDependencies": {
"@types/core-js": "^2.5.0",
"@types/jest": "^24.0.15",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.0.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"jest": "^24.8.0",
"jest-worker": "^24.9.0",
"lodash": "^4.17.14",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2"
}
}