-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
166 lines (166 loc) · 7.28 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "gapminder-offline",
"version": "6.1.1",
"description": "Gapminder Tools Offline",
"productName": "Gapminder Tools Offline",
"author": "Gapminder <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/Gapminder/gapminder-offline.git"
},
"license": "GPL-3.0",
"keywords": [
"angular",
"angular 6",
"electron",
"typescript",
"sass"
],
"main": "main.js",
"googleAnalyticsId": "G-23TV434Y9Q",
"private": true,
"scripts": {
"md-export-template-lib": "mkdirp ./export-template/libs && mkdirp ./export-template/libs/assets && mkdirp ./export-template/assets",
"cp-vizabi-ddfcsv-reader": "copyfiles -u 4 ./node_modules/@vizabi/reader-ddfcsv/dist/* ./export-template/libs",
"cp-vizabi-excel-reader": "copyfiles -u 4 ./node_modules/@vizabi/reader-excel/dist/* ./export-template/libs",
"cp-vizabi-core": "copyfiles -u 4 ./node_modules/@vizabi/core/dist/* ./export-template/libs",
"cp-vizabi-shared-components": "copyfiles -u 4 ./node_modules/@vizabi/shared-components/build/* ./export-template/libs",
"cp-vizabi-shared-components-assets": "copyfiles -u 5 ./node_modules/@vizabi/shared-components/build/assets/**/* ./export-template/libs/assets && copyfiles -u 4 ./node_modules/@vizabi/shared-components/build/assets/**/* ./export-template/assets",
"cp-vizabi-shared-components-trans": "copyfiles -u 6 ./node_modules/@vizabi/shared-components/build/assets/locale/* ./preview-data/translation",
"cp-barrank": "copyfiles -u 4 ./node_modules/@vizabi/barrank/build/* ./export-template/libs",
"cp-bubblechart": "copyfiles -u 4 ./node_modules/@vizabi/bubblechart/build/* ./export-template/libs",
"cp-bubblemap": "copyfiles -u 4 ./node_modules/@vizabi/bubblemap/build/* ./export-template/libs",
"cp-mountainchart": "copyfiles -u 4 ./node_modules/@vizabi/mountainchart/build/* ./export-template/libs",
"cp-linechart": "copyfiles -u 4 ./node_modules/@vizabi/linechart/build/* ./export-template/libs",
"cp-d3": "copyfiles -u 3 ./node_modules/d3/dist/d3.js ./export-template/libs",
"cp-mobx": "copyfiles -u 3 ./node_modules/mobx/lib/mobx.umd.js ./export-template/libs",
"sync-deps": "npm run md-export-template-lib && npm run cp-vizabi-ddfcsv-reader && npm run cp-vizabi-excel-reader && npm run cp-vizabi-core && npm run cp-vizabi-shared-components && npm run cp-barrank && npm run cp-bubblechart && npm run cp-bubblemap && npm run cp-mountainchart && npm run cp-linechart && npm run cp-d3 && npm run cp-mobx",
"postinstall": "electron-builder install-app-deps",
"ng": "ng",
"start": "npm-run-all -p ng:serve electron:serve",
"build": "npm run electron:serve-tsc && ng build",
"build:dev": "npm run build -- -c dev",
"build:prod": "npm run build -- -c production",
"ng:serve": "ng serve -c dev --port 4201",
"ng:serve:web": "ng serve -c dev -o --port 4201",
"electron:serve-tsc": "tsc -p tsconfig-serve.json",
"electron:serve": "wait-on http-get://localhost:4201/ && npm run electron:serve-tsc && electron . --serve dev",
"electron:local": "npm run build:prod && electron .",
"electron:linux": "npm run build:prod && electron-builder build --linux",
"electron:windows": "npm run build:prod && electron-builder build --windows",
"electron:windows:dev": "npm run build:dev && electron-builder build --windows",
"electron:mac-notarized": "export NOTARIZE=true && npm run build:prod && electron-builder build --mac",
"electron:mac": "npm run build:prod && electron-builder build --mac",
"start-webdriver": "node node_modules/electron-chromedriver/chromedriver &",
"e2e:test": "protractor ./e2e/protractor.conf.js",
"e2e:linux": "npm run start-webdriver && npm run e2e:test",
"e2e:windows": "start npm run start-webdriver && npm run e2e:test",
"update-webdriver": "webdriver-manager update",
"test": "ng test",
"changelog": "conventional-changelog -i CHANGELOG.md -s -p angular",
"github-release": "conventional-github-releaser -p angular",
"version": "npm run changelog && git add CHANGELOG.md",
"postversion": "git push origin development && git push --tags && npm run github-release",
"update-datasets": "tsc update-datasets.ts && node update-datasets.js",
"lint": "ng lint"
},
"dependencies": {
"@electron/remote": "^2.0.9",
"@vizabi/reader-ddfcsv": "4.1.0",
"@vizabi/reader-excel": "1.0.0",
"async": "^3.2.4",
"ddf-validation": "1.19.3",
"decompress-zip": "0.2.2",
"electron-log": "^4.4.8",
"electron-updater": "^5.3.0",
"extract-zip": "1.6.7",
"fs-extra": "^11.0.0",
"is-online": "^9.0.1",
"isomorphic-git": "^1.22.0",
"lodash": "4.17.21",
"minimist": "1.2.0",
"node-fetch": "^2.6.9",
"semver": "5.6.0",
"semver-sort": "0.0.4",
"tslib": "^2.5.0",
"universal-analytics": "0.5.3",
"urlon": "3.1.0",
"zip-dir": "^2.0.0"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^15.0.0",
"@angular-eslint/builder": "15.2.1",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "15.2.1",
"@angular-eslint/schematics": "15.2.1",
"@angular-eslint/template-parser": "15.2.1",
"@angular/cli": "15.2.4",
"@angular/common": "15.2.4",
"@angular/compiler": "15.2.4",
"@angular/compiler-cli": "15.2.4",
"@angular/core": "15.2.4",
"@angular/forms": "15.2.4",
"@angular/language-service": "15.2.4",
"@angular/platform-browser": "15.2.4",
"@angular/platform-browser-dynamic": "15.2.4",
"@angular/router": "15.2.4",
"@gapminder/tools-page-chart-configs": "4.0.1",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@types/dom-mediacapture-record": "^1.0.1",
"@types/jasminewd2": "^2.0.10",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2",
"@vizabi/barrank": "3.10.1",
"@vizabi/bubblechart": "3.16.0",
"@vizabi/bubblemap": "4.1.0",
"@vizabi/core": "1.28.0",
"@vizabi/linechart": "3.9.0",
"@vizabi/mountainchart": "7.3.1",
"@vizabi/shared-components": "1.30.1",
"async-es": "^3.2.4",
"conventional-changelog-cli": "^2.0.12",
"copyfiles": "^2.0.0",
"core-js": "^3.29.1",
"d3": "^6.0.0",
"electron": "^22.0.0",
"electron-builder": "^23.6.0",
"electron-chromedriver": "^22.0.0",
"electron-reload": "1.5.0",
"eslint": "^8.33.0",
"eslint-plugin-import": "latest",
"eslint-plugin-jsdoc": "latest",
"eslint-plugin-prefer-arrow": "latest",
"jasmine-core": "~4.6.0",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.1",
"karma-chrome-launcher": "~3.1.1",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"mkdirp": "^2.1.5",
"mobx": "^5.0.0",
"ng2-dragula": "^4.0.0",
"ngx-bootstrap": "^9.0.0",
"npm-run-all": "4.1.5",
"protractor": "~7.0.0",
"rxjs": "~7.8.0",
"terser": "^5.16.6",
"ts-node": "^10.9.1",
"typescript": "4.9.5",
"wait-on": "^7.0.0",
"zone.js": "^0.12.0"
},
"overrides": {
"ngx-bootstrap": {
"@angular/core": "^15.0.0",
"@angular/common": "^15.0.0",
"@angular/forms": "^15.0.0",
"@angular/animations": "^15.0.0"
}
},
"browserslist": [
"chrome 108"
]
}