-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
123 lines (123 loc) · 4.4 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"author": {
"name": "MetaApi DMCC",
"email": "support@metaapi.cloud"
},
"contributors": [
{
"name": "MetaApi DMCC",
"email": "support@metaapi.cloud"
}
],
"bugs": {
"email": "support@metaapi.cloud",
"url": "https://github.com/metaapi/metaapi-metastats-javascript-sdk/issues"
},
"keywords": [
"metaapi.cloud",
"MetaTrader",
"MetaTrader 5",
"MetaTrader 4",
"MetaTrader5",
"MetaTrader4",
"MT",
"MT4",
"MT5",
"forex",
"API",
"REST",
"client",
"sdk",
"cloud",
"metrics",
"MetaStats",
"metastats",
"browser"
],
"name": "metaapi.cloud-metastats-sdk",
"description": "Javascript SDK for MetaStats forex trading statistics API. Can calculate metrics for MetaTrader accounts added to MetaApi. Supports both MetaTrader 5 (MT5) and MetaTrader 4 (MT4). (https://metaapi.cloud)",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/metaapi/metaapi-metastats-javascript-sdk.git"
},
"version": "4.1.0",
"dependencies": {
"axios": "~1.3.6",
"moment": "~2.29.4",
"randomstring": "~1.2.3",
"tls": "^0.0.1"
},
"devDependencies": {
"@swc-node/register": "~1.8.0",
"@swc/cli": "~0.1.62",
"@swc/core": "~1.3.56",
"@types/mocha": "^10.0.7",
"@types/sinon": "^10.0.19",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"copyfiles": "~2.4.1",
"cross-env": "~7.0.3",
"eslint": "~7.1.0",
"eslint-plugin-mocha": "~7.0.0",
"mocha": "~7.2.0",
"module-alias": "~2.2.2",
"should": "~13.2.3",
"sinon": "~9.0.2",
"swc-loader": "~0.2.3",
"typescript": "~5.0.4",
"webpack": "~5.82",
"webpack-cli": "~5.0.2"
},
"browser": {
"tls": false,
"buffer": false,
"stream": false,
"fs": false,
"assert": false,
"constants": false,
"crypto": false,
"http": false,
"https": false,
"process": false,
"url": false,
"util": false,
"zlib": false,
"path": false,
"net": false,
"os": false
},
"scripts": {
"test": "cross-env SWCRC=true mocha --exit --require @swc-node/register --require ./aliases.js lib/**/*.spec.*",
"lint:fix": "eslint --ext es6 --ext ts ./lib --fix",
"lint": "eslint --ext es6 --ext ts ./lib",
"build-win": "npm run clean-win | npm run build:optimized && npm run build:transpile && npm run build:types && npm run build:mv-manual-types && npm run build:mv-compiled-types && npm run build:backward-compatiibility",
"build": "npm run clean; npm run build:optimized && npm run build:transpile && npm run build:types && npm run build:mv-manual-types && npm run build:mv-compiled-types && npm run build:backward-compatiibility",
"build:optimized": "npx webpack --config webpack.config.js",
"build:transpile": "node ./swc/swc.transform.cjs.js && node ./swc/swc.transform.esm.js ",
"build:types": "npx tsc --emitDeclarationOnly --outDir .temp/types",
"build:mv-compiled-types": "copyfiles -u 2 \".temp/types/**/*.d.ts\" build/esm && copyfiles -u 2 \".temp/types/**/*.d.ts\" build/cjs && copyfiles -u 2 \".temp/types/**/*.d.ts\" dists/cjs && copyfiles -u 2 \".temp/types/**/*.d.ts\" dists/esm && copyfiles -u 2 \".temp/types/**/*.d.ts\" dists/umd",
"build:mv-manual-types": "copyfiles -u 1 \"lib/**/*.d.ts\" build/esm && copyfiles -u 1 \"lib/**/*.d.ts\" build/cjs && copyfiles -u 1 \"lib/**/*.d.ts\" dists/cjs && copyfiles -u 1 \"lib/**/*.d.ts\" dists/esm && copyfiles -u 1 \"lib/**/*.d.ts\" dists/umd",
"build:backward-compatiibility": "copyfiles -u 2 \"build/cjs/**/*\" dist/",
"clean-win": "(if exist dist rmdir /Q /S dist) && (if exist build rmdir /Q /S build) && (if exist dists rmdir /Q /S dists) && (if exist .temp\\types rmdir /Q /S .temp\\types)",
"clean": "rm -rf build; rm -rf dist; rm -rf dists; rm -rf .temp/types",
"type-check": "tsc --noEmit --emitDeclarationOnly false",
"tc": "npm run type-check"
},
"module": "./dists/esm/index.js",
"unpkg": "./dists/umd/index.js",
"main": "./build/cjs/index.js",
"exports": {
".": {
"import": "./dists/esm/index.js",
"require": "./build/cjs/index.js"
},
"./dist/*": "./dist/*.js",
"./dist/": "./dist/",
"./cjs": "./build/cjs/index.js",
"./esm": "./build/esm/index.js",
"./browser": "./dists/umd/index.js",
"./node": "./dists/cjs/index.js",
"./web": "./dists/esm/index.js"
}
}