angelxmoreno/sneakerdb-client

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "sneakerdb-client",
    "version": "1.0.0",
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "description": "A TypeScript client for interacting with The Sneaker Database API on RapidAPI.",
    "keywords": [
        "sneaker",
        "sdk",
        "client",
        "rapidapi",
        "The Sneaker Database API"
    ],
    "author": {
        "name": "Angel S. Moreno",
        "email": "angelxmoreno@gmail.com"
    },
    "license": "MIT",
    "homepage": "https://github.com/angelxmoreno/sneakerdb-client",
    "bugs": {
        "url": "https://github.com/angelxmoreno/sneakerdb-client/issues"
    },
    "repository": {
        "type": "git",
        "url": "https://github.com/angelxmoreno/sneakerdb-client.git"
    },
    "files": [
        "dist",
        "LICENSE",
        "README.md"
    ],
    "engines": {
        "node": ">=18"
    },
    "scripts": {
        "prepare": "husky install",
        "prebuild": "rimraf dist",
        "build": "tsc",
        "test": "jest",
        "test:coverage": "jest --coverage",
        "lint": "eslint . --cache",
        "lint:fix": "eslint . --cache --fix",
        "release": "release-it --only-version"
    },
    "devDependencies": {
        "@commitlint/cli": "^18.6.0",
        "@commitlint/config-conventional": "^18.6.0",
        "@types/jest": "^29.5.12",
        "axios-mock-adapter": "^1.22.0",
        "eslint": "^8.56.0",
        "eslint-config-universe": "^12.0.0",
        "husky": "^8.0.0",
        "jest": "^29.7.0",
        "lint-staged": "^15.2.1",
        "prettier": "^3.2.4",
        "ts-jest": "^29.1.2",
        "typescript": "^5.3.3"
    },
    "dependencies": {
        "axios": "^1.6.7",
        "axios-date-transformer": "^1.0.3",
        "dotenv": "^16.4.1"
    },
    "eslintConfig": {
        "root": true,
        "ignorePatterns": [
            "**/dist/**"
        ],
        "extends": [
            "universe"
        ],
        "parser": "@typescript-eslint/parser",
        "overrides": [
            {
                "files": [
                    "*.json"
                ],
                "rules": {
                    "no-unused-expressions": "off"
                }
            }
        ],
        "rules": {}
    },
    "prettier": {
        "singleQuote": true,
        "trailingComma": "all",
        "arrowParens": "avoid",
        "semi": true,
        "useTabs": false,
        "tabWidth": 4,
        "printWidth": 120
    },
    "lint-staged": {
        "*.{ts,json}": "eslint --fix"
    },
    "commitlint": {
        "extends": [
            "@commitlint/config-conventional"
        ]
    },
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node"
    },
    "release-it": {
        "publishConfig": {
            "registry": "https://registry.npmjs.org"
        },
        "git": {
            "commitMessage": "chore: release v${version}"
        },
        "github": {
            "release": true
        }
    }
}