-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
65 lines (65 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "ts-torn-api",
"version": "0.2.0",
"description": "Typescript wrapper for the Torn.com API.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .ts --fix",
"format": "prettier --write .",
"test": "mocha -r ts-node/register --recursive \"test/**/*.test.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"version": "git add -A lib",
"postversion": "git push && git push --tags",
"coverage": "nyc -r lcov -e .ts -x \"test/**/*.test.ts\" npm run test",
"gentypes": "npx openapi-typescript ./openapi.json -o ./lib/TornOpenAPI.ts"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintIgnore": [
"*.d.ts"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jgolla/torn-api.git"
},
"author": "JGolla",
"license": "ISC",
"bugs": {
"url": "https://github.com/jgolla/torn-api/issues"
},
"homepage": "https://github.com/jgolla/torn-api#readme",
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@types/chai": "^4.2.21",
"@types/mocha": "^10.0.0",
"@types/sinon": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"chai": "^4.3.4",
"eslint": "^8.0.0",
"husky": "^9.0.7",
"mocha": "^11.0.1",
"nyc": "^17.0.0",
"openapi-typescript": "^7.3.0",
"prettier": "^3.0.0",
"sinon": "^19.0.2",
"ts-node": "^10.2.1",
"typescript": "^5.0.2"
},
"dependencies": {
"axios": "^1.1.2"
}
}