megalodon/package.json
2020-02-01 00:06:53 +09:00

84 lines
2.1 KiB
JSON

{
"name": "megalodon",
"version": "2.2.0",
"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",
"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/ws": "^7.2.0",
"axios": "^0.19.0",
"https-proxy-agent": "^4.0.0",
"moment": "^2.24.0",
"oauth": "^0.9.15",
"socks-proxy-agent": "h3poteto/node-socks-proxy-agent#master",
"typescript": "3.5.3",
"ws": "^7.2.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": "^11.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": "^25.1.0",
"lodash": "^4.17.14",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2"
}
}