-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.9 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "bungie-net-core",
"version": "2.1.1",
"author": "Owen Simpson",
"homepage": "https://github.com/owensimpson/bungie-net-core",
"description": "An easy way to interact with the Bungie.net API",
"bugs": "https://github.com/owensimpson/bungie-net-core/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/owensimpson/bungie-net-core"
},
"keywords": [
"Destiny 2",
"Bungie",
"TypeScript",
"REST API"
],
"openapi": "2.18.0",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts"
},
"./models": {
"types": "./models/index.d.ts"
},
"./enums": {
"types": "./enums/index.d.ts",
"default": "./enums/index.js"
},
"./manifest": {
"types": "./manifest/index.d.ts",
"default": "./manifest/index.js"
},
"./auth": {
"types": "./auth.d.ts",
"default": "./auth.js"
},
"./endpoints/*": {
"types": "./endpoints/*.d.ts",
"default": "./endpoints/*.js"
}
},
"scripts": {
"create": "git submodule add https://github.com/Bungie-net/api api-src && git submodule init",
"sync": "git submodule update --remote --merge",
"clean": "git checkout HEAD -- ./src/endpoints ./src/models ./src/manifest ./__test__/__api__",
"build": "sh ./build.sh",
"rebuild": "npm run sync && npm run build",
"generate": "sh ./generate.sh",
"format": "prettier --config .prettierrc '{generator,src,test}/**/*.ts' --write",
"lint": "tslint -p tsconfig.json",
"test": "jest",
"checks": "npm run lint && npm test",
"try": "rm -rf ./node_modules/bungie-net-core && mkdir -p node_modules/bungie-net-core/lib && cp -R ./* ./node_modules/bungie-net-core/lib && cp ./package.json ./node_modules/bungie-net-core/",
"push": "git push && git push --tags",
"version": "npm run rebuild && npm run generate && npm run checks && git add -A .",
"prepublish": "cp -R lib/* ./",
"postpublish": "npm run push"
},
"files": [
"**/*",
"bungie-api-LICENSE"
],
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@jest/globals": "^29.4.3",
"@types/jest": "^29.4.0",
"@types/mkdirp": "1.0.0",
"@types/node": "^16.11.9",
"@types/underscore": "^1.11.3",
"dotenv": "^16.0.3",
"jest": "^29.4.3",
"mkdirp": "1.0.3",
"openapi3-ts": "^2.0.2",
"prettier": "^2.8.7",
"ts-jest": "^29.1.0",
"tslint": "^6.1.3",
"typescript": "^5.1.0",
"underscore": "1.13.6"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "./__test__/tsconfig.test.json"
}
]
},
"testMatch": [
"**/**.test.ts"
],
"globalSetup": "<rootDir>/__test__/global-setup.ts"
}
}