1 | {
|
2 | "name": "@j4ckofalltrades/steam-webapi-ts",
|
3 | "description": "Isomorphic Steam WebAPI wrapper in TypeScript",
|
4 | "version": "1.2.1",
|
5 | "author": "Jordan Duabe <me@jduabe.dev> (https://jduabe.dev)",
|
6 | "homepage": "https://github.com/j4ckofalltrades/steam-webapi-ts#readme",
|
7 | "license": "MIT",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "git+https://github.com/j4ckofalltrades/steam-webapi-ts.git"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/j4ckofalltrades/steam-webapi-ts/issues"
|
14 | },
|
15 | "main": "cjs/index.js",
|
16 | "module": "esm/index.js",
|
17 | "types": "types",
|
18 | "files": [
|
19 | "README.md",
|
20 | "LICENSE",
|
21 | "cjs",
|
22 | "esm",
|
23 | "types"
|
24 | ],
|
25 | "keywords": [
|
26 | "steam",
|
27 | "webapi"
|
28 | ],
|
29 | "scripts": {
|
30 | "build": "npm run build:cjs && npm run build:esm && npm run build:types",
|
31 | "build:esm": "tsc --module es2015 --target es5 --outDir esm",
|
32 | "build:cjs": "tsc --module commonjs --target es5 --outDir cjs",
|
33 | "build:types": "tsc --emitDeclarationOnly true --declaration true --target es5 --outDir types",
|
34 | "pretest": "npm run lint",
|
35 | "test": "jest --no-cache",
|
36 | "lint": "eslint src/",
|
37 | "lint:fix": "eslint src/ --fix",
|
38 | "typedoc": "typedoc",
|
39 | "prepare": "husky install"
|
40 | },
|
41 | "dependencies": {
|
42 | "axios": "^1.4.0",
|
43 | "typescript": "^5.1.6"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@tsconfig/recommended": "^1.0.2",
|
47 | "@types/jest": "^29.5.3",
|
48 | "@typescript-eslint/eslint-plugin": "^6.3.0",
|
49 | "@typescript-eslint/parser": "^6.3.0",
|
50 | "eslint": "^8.47.0",
|
51 | "eslint-config-prettier": "^9.0.0",
|
52 | "husky": "^8.0.3",
|
53 | "jest": "^29.6.2",
|
54 | "lint-staged": "^13.3.0",
|
55 | "prettier": "^3.0.1",
|
56 | "ts-jest": "^29.1.1",
|
57 | "typedoc": "^0.24.8"
|
58 | },
|
59 | "eslintConfig": {
|
60 | "env": {
|
61 | "browser": true,
|
62 | "es2021": true
|
63 | },
|
64 | "extends": [
|
65 | "eslint:recommended",
|
66 | "plugin:@typescript-eslint/recommended",
|
67 | "prettier"
|
68 | ],
|
69 | "parser": "@typescript-eslint/parser",
|
70 | "parserOptions": {
|
71 | "ecmaVersion": 12,
|
72 | "sourceType": "module"
|
73 | },
|
74 | "plugins": [
|
75 | "@typescript-eslint"
|
76 | ],
|
77 | "rules": {
|
78 | "indent": [
|
79 | "error",
|
80 | 2
|
81 | ],
|
82 | "linebreak-style": [
|
83 | "error",
|
84 | "unix"
|
85 | ],
|
86 | "quotes": [
|
87 | "error",
|
88 | "double"
|
89 | ],
|
90 | "semi": [
|
91 | "error",
|
92 | "never"
|
93 | ]
|
94 | }
|
95 | },
|
96 | "jest": {
|
97 | "preset": "ts-jest",
|
98 | "testEnvironment": "node",
|
99 | "collectCoverage": true,
|
100 | "collectCoverageFrom": [
|
101 | "src/wrapper/*.ts"
|
102 | ]
|
103 | },
|
104 | "lint-staged": {
|
105 | "*.ts": [
|
106 | "eslint --cache --fix",
|
107 | "prettier --write src"
|
108 | ]
|
109 | },
|
110 | "prettier": {
|
111 | "printWidth": 120,
|
112 | "semi": false,
|
113 | "trailingComma": "all"
|
114 | }
|
115 | }
|