90 lines
2.7 KiB
JSON
90 lines
2.7 KiB
JSON
{
|
|
"name": "masto",
|
|
"description": "Mastodon API client for JavaScript, TypeScript, Node.js, browsers",
|
|
"private": false,
|
|
"version": "5.10.0",
|
|
"author": "Ryo Igarashi <n33t5hin@gmail.com>",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "npm-run-all test:*",
|
|
"test:unit": "jest --coverage --config=jest.config.cjs --selectProjects unit",
|
|
"test:e2e": "jest --coverage --runInBand --config=jest.config.cjs --selectProjects e2e",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:eslint": "eslint -c .eslintrc.json ./src/**/*.ts --cache",
|
|
"lint:spellcheck": "cspell '{src,examples}/**/*.{ts,tsx,js,json,md}'",
|
|
"build": "rollup -c rollup.config.cjs",
|
|
"prepublishOnly": "yarn run build",
|
|
"docs:build": "typedoc ./src/index.ts && touch ./docs/.nojekyll"
|
|
},
|
|
"dependencies": {
|
|
"@mastojs/ponyfills": "^1.0.4",
|
|
"change-case": "^4.1.2",
|
|
"eventemitter3": "^5.0.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"qs": "^6.11.0",
|
|
"semver": "^7.3.7",
|
|
"ws": "^8.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@semantic-release/changelog": "^6.0.2",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/node": "^18.13.0",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/semver": "^7.3.10",
|
|
"@types/ws": "^8.5.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
"@typescript-eslint/parser": "^5.51.0",
|
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
"cspell": "^6.22.0",
|
|
"eslint": "^8.34.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-unicorn": "^45.0.2",
|
|
"iterator-helpers-polyfill": "^2.2.8",
|
|
"jest": "^29.4.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.4",
|
|
"rollup": "^3.15.0",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-dts": "^5.1.1",
|
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
"semantic-release": "^20.1.0",
|
|
"ts-jest": "^29.0.5",
|
|
"typedoc": "^0.23.24",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"dist",
|
|
"!**/__tests__",
|
|
"!**/__mocks__"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/neet/masto.js.git"
|
|
},
|
|
"keywords": [
|
|
"mastodon"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/neet/masto.js/issues"
|
|
},
|
|
"homepage": "https://github.com/neet/masto.js#readme"
|
|
}
|