UNPKG

@j4ckofalltrades/steam-webapi-ts

Version:
116 lines (115 loc) 2.7 kB
{ "name": "@j4ckofalltrades/steam-webapi-ts", "description": "Isomorphic Steam WebAPI wrapper in TypeScript", "version": "1.2.2", "author": "Jordan Duabe <me@jduabe.dev> (https://jduabe.dev)", "homepage": "https://github.com/j4ckofalltrades/steam-webapi-ts#readme", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/j4ckofalltrades/steam-webapi-ts.git" }, "bugs": { "url": "https://github.com/j4ckofalltrades/steam-webapi-ts/issues" }, "main": "cjs/index.js", "module": "esm/index.js", "types": "types", "files": [ "README.md", "LICENSE", "cjs", "esm", "types" ], "keywords": [ "steam", "webapi" ], "scripts": { "build": "npm run build:cjs && npm run build:esm && npm run build:types", "build:esm": "tsc --module es2015 --target es5 --outDir esm", "build:cjs": "tsc --module commonjs --target es5 --outDir cjs", "build:types": "tsc --emitDeclarationOnly true --declaration true --target es5 --outDir types", "pretest": "npm run lint", "test": "jest --no-cache", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "typedoc": "typedoc", "prepare": "husky install" }, "dependencies": { "axios": "^1.10.0" }, "devDependencies": { "@tsconfig/recommended": "^1.0.3", "@types/jest": "^30.0.0", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.8", "husky": "^9.0.11", "jest": "^30.0.5", "lint-staged": "^16.1.2", "prettier": "^3.2.5", "ts-jest": "^29.4.0", "typedoc": "^0.28.9", "typescript": "^5.3.2" }, "eslintConfig": { "env": { "browser": true, "es2021": true }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 12, "sourceType": "module" }, "plugins": [ "@typescript-eslint" ], "rules": { "indent": [ "error", 2 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "double" ], "semi": [ "error", "never" ] } }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "collectCoverage": true, "collectCoverageFrom": [ "src/wrapper/*.ts" ] }, "lint-staged": { "*.ts": [ "eslint --cache --fix", "prettier --write src" ] }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all" } }