imgur
Version:
Unofficial JavaScript library for Imgur
105 lines (104 loc) • 2.88 kB
JSON
{
"author": "Ken Eucker <keneucker@gmail.com>",
"name": "imgur",
"description": "Unofficial JavaScript library for Imgur",
"version": "2.4.3",
"homepage": "https://github.com/keneucker/imgur",
"license": "AGPL-3.0-or-later",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"keywords": [
"imgur",
"edit",
"images"
],
"repository": {
"type": "git",
"url": "git://github.com/keneucker/imgur.git"
},
"dependencies": {
"axios": "^0.29.0",
"form-data": "^4.0.1",
"whatwg-url": "^14.1.1"
},
"engines": {
"node": ">=14"
},
"files": [
"dist/**/*",
"package.json",
"LICENSE.md",
"README.md"
],
"scripts": {
"test": "jest --verbose",
"test:dev": "jest --silent=false",
"test:ci": "jest --ci --coverage --maxWorkers=2",
"run:dev": "node example/index",
"build:dev": "npm run build -- --watch",
"build": "vite build",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist _site test/src/**/*.js test/src/**/*.d.ts",
"prepare": "husky install",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier . --check ",
"lint:fix": "prettier . --write && eslint . --fix",
"lint:check": "eslint . && prettier . --check",
"lint:release": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
"lint:staged": "npx --no-install lint-staged",
"commit": "cz"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@types/jest": "^27.5.2",
"@types/mock-fs": "^4.13.4",
"@types/node": "^20.17.19",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"axios-mock-adapter": "^1.22.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^14.3.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.5.0",
"mock-fs": "^5.5.0",
"msw": "^0.36.8",
"prettier": "^2.8.8",
"rollup-plugin-polyfill-node": "^0.13.0",
"semantic-release": "^19.0.5",
"ts-jest": "^27.1.5",
"ts-loader": "^9.5.2",
"typescript": "^4.9.5",
"vite": "^5.4.14",
"vite-plugin-dts": "^3.9.1"
},
"lint-staged": {
"*.ts": [
"eslint . --fix",
"jest --bail --findRelatedTests"
],
"*.{js,css,md,yml,yaml,json}": "prettier --write"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}