-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.98 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
{
"private": true,
"version": "0.0.1-repository",
"name": "@highcharts/connectors-morningstar",
"license": "https://shop.highcharts.com/contact/partner-data",
"description": "Highcharts connectors for Morningstar Direct Web Services",
"author": "Highsoft AS",
"bugs": "https://github.com/highcharts/morningstar-connectors/issues",
"homepage": "https://github.com/highcharts/morningstar-connectors#readme",
"repository": "https://github.com/highcharts/morningstar-connectors.git",
"bin": "bin/morningstar-connectors.js",
"main": "code/es-modules/index.js",
"types": "code/es-modules/index.d.ts",
"devDependencies": {
"@aws-sdk/client-s3": "^3.592.0",
"@aws-sdk/credential-providers": "^3.592.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"eslint-plugin-brackets": "^0.1.3",
"eslint-plugin-jsdoc": "^48.8.3",
"husky": "^9.1.2",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"marked": "^14.1.2",
"ts-node": "^10.9.2",
"typescript": "~5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.ts": [
"eslint"
]
},
"peerDependencies": {
"@highcharts/dashboards": ">=2.3.0",
"highcharts": ">=11.4.0"
},
"scripts": {
"api": "npm run webpack && npm run api:server",
"api:server": "(sleep 1 ; open http://localhost:8005) & node bin/connectors-morningstar api",
"build": "npm run webpack && npm run build:prepare && npm run build:copy && npm run build:pack && npm run build:cleanup",
"build:cleanup": "rm -rf build/package/",
"build:copy": "npm run copy:code && npm run copy:docs && npm run copy:json",
"build:pack": "npm pack build/package/ --pack-destination build/",
"build:prepare": "rm -rf build/ ; mkdir -p build/package/",
"copy:code": "cp -R bin code/* demos *.md build/package/",
"copy:docs": "cp -R docs/connectors/ build/package/docs/",
"copy:json": "cp package-build.json build/package/package.json",
"demos": "npm run webpack && npm run demos:server",
"demos:server": "(sleep 1 ; open http://localhost:8080) & node bin/connectors-morningstar demos",
"docs": "npm run webpack && npm run docs:server",
"docs:server": "(sleep 1 ; open http://localhost:8000) & node bin/connectors-morningstar docs",
"dryrun": "ts-node tools/dist --dryrun",
"husky:pre-commit": "npx lint-staged && npm run webpack",
"prepare": "rm -rf '.husky/_' ; husky",
"scripts": "npm run scripts:bin && npm run scripts:code",
"scripts:bin": "rm -rf bin/ && tsc -p src/CLI/ && chmod +x bin/*.js && cp -R src/CLI/Static bin/ && ts-node tools/api",
"scripts:code": "rm -rf code/ && tsc -p src/",
"reset": "rm -rf bin/ build/ code/ node_modules/ ; npm i",
"test": "npm run webpack && npm run test:eslint && npm run test:tests",
"test:eslint": "eslint .",
"test:morningstar": "npx -y newman run --bail tmp/Collection.json -e tmp/Environment.json",
"test:tests": "ts-node tools/tests",
"watch": "tsc -p src/ -w",
"webpack": "npm run scripts && webpack && npm run webpack:dts",
"webpack:dts": "npm run webpack:dts:cm",
"webpack:dts:cm": "cp src/webpack.d.ts code/connectors-morningstar.d.ts && cp src/webpack.d.ts code/connectors-morningstar.src.d.ts",
"webpack:dts:dbm": "cp src/webpack.d.ts code/dashboards-morningstar.d.ts && cp src/webpack.d.ts code/dashboards-morningstar.src.d.ts",
"webpack:dts:dgm": "cp src/webpack.d.ts code/datagrid-morningstar.d.ts && cp src/webpack.d.ts code/datagrid-morningstar.src.d.ts",
"webpack:dts:hcm": "cp src/webpack.d.ts code/highcharts-morningstar.d.ts && cp src/webpack.d.ts code/highcharts-morningstar.src.d.ts"
}
}