-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
97 lines (97 loc) · 3.49 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
{
"bugs": {
"url": "https://github.com/bennycode/ig-trading-api/issues"
},
"dependencies": {
"@types/node": "^16.11.45",
"axios": "^1.4.0",
"axios-retry": "3.1.9",
"lightstreamer-client-node": "^8.0.5",
"luxon": "^3.4.1"
},
"description": "IG Trading API for Node.js, written in TypeScript.",
"devDependencies": {
"@types/jasmine": "^5.1.1",
"@types/luxon": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"cross-env": "^7.0.3",
"dotenv-defaults": "^5.0.2",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.0.0",
"generate-changelog": "^1.8.0",
"jasmine": "^5.1.0",
"lefthook": "^1.4.9",
"nock": "^13.3.3",
"nyc": "^17.0.0",
"prettier": "^3.0.2",
"rimraf": "^5.0.7",
"ts-node": "^10.9.2",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "^4.0.3",
"typescript": "^5.4.5"
},
"engines": {
"node": ">= 10.9",
"yarn": ">= 1"
},
"files": [
"dist",
"!/dist/demo",
"!/dist/test"
],
"homepage": "https://bennycode.com/ig-trading-api",
"keywords": [
"API",
"CFD",
"finance",
"fintech",
"derivatives",
"IG",
"trading",
"TypeScript"
],
"license": "MIT",
"main": "dist/index.js",
"name": "ig-trading-api",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/bennycode/ig-trading-api.git"
},
"scripts": {
"build": "tsc",
"changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: Updated changelog\" && git push origin",
"clean": "rimraf .nyc_output coverage dist",
"demo:account": "ts-node ./src/demo/account.ts",
"demo:login": "ts-node ./src/demo/login.ts",
"demo:order": "ts-node ./src/demo/order.ts",
"demo:position": "ts-node ./src/demo/position.ts",
"demo:stream": "ts-node ./src/demo/stream.ts",
"dist": "yarn clean && yarn build",
"docs": "yarn docs:build",
"docs:build": "typedoc",
"docs:release": "yarn docs:build && git add docs/* && git commit -m \"docs: Updated API\" && yarn changelog:commit",
"fix": "yarn fix:other && yarn fix:code",
"fix:code": "yarn lint:code --fix",
"fix:other": "yarn prettier --write",
"lint": "yarn lint:types && yarn lint:code && yarn lint:other",
"lint:code": "eslint --ignore-path .gitignore --ignore-pattern \"/docs/\" --ext .js,.jsx,.ts,.tsx --no-error-on-unmatched-pattern .",
"lint:other": "yarn prettier --list-different",
"lint:types": "tsc --noEmit",
"postversion": "git push origin && git push origin --tags && npm publish --access public",
"prettier": "prettier --log-level silent \"**/*.{html,json,scss,yml}\"",
"preversion": "git checkout main && git pull && npm run && npm run test && npm run dist",
"release:major": "generate-changelog -M -x \"chore,test\" && yarn docs:release && npm version major",
"release:minor": "generate-changelog -m -x \"chore,test\" && yarn docs:release && npm version minor",
"release:patch": "generate-changelog -p -x \"chore,test\" && yarn docs:release && npm version patch",
"start": "node --inspect -r ts-node/register src/demo/start.ts",
"test": "nyc --nycrc-path=nyc.config.coverage.json jasmine --config=jasmine.json",
"test:dev": "nyc --nycrc-path=nyc.config.json jasmine --config=jasmine.json",
"test:types": "yarn lint:types"
},
"version": "0.13.9"
}