-
Notifications
You must be signed in to change notification settings - Fork 90
/
package.json
344 lines (344 loc) · 12.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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
{
"name": "opensphere",
"version": "0.0.0-development",
"description": "OpenSphere is a pluggable GIS web application that supports both 2D and 3D views.",
"main": "index.js",
"directories": {
"src": "src",
"test": "test",
"externs": "externs",
"onboarding": "onboarding",
"scss": "scss",
"views": "views"
},
"build": {
"config": "config/settings.json",
"gcc-src": [
"src/**.js"
],
"type": "app",
"pluggable": true,
"index": "index.js",
"scss": "scss/opensphere.scss",
"scssPaths": [
"sass-yiq/src/sass"
],
"themes": [
"overrides_default_compact",
"overrides_default_compact_cb_rg",
"overrides_default_compact_cb_b",
"overrides_slate_compact",
"overrides_slate_compact_cb_rg",
"overrides_slate_compact_cb_b"
],
"fonts": [
"typeface-open-sans"
],
"defineRoots": {
"os.APP_ROOT": "./"
},
"electron": {
"preload": [
"./scripts/electron/preload.js"
]
},
"gcc": {
"language_in": "ECMASCRIPT_2020",
"conformance_configs": "conformance_config.textproto",
"externs": [
"google-closure-compiler/contrib/externs/jquery-3.3.js",
"google-closure-compiler/contrib/externs/angular-1.6-http-promise_templated.js",
"google-closure-compiler/contrib/externs/angular-1.6-resource.js",
"google-closure-compiler/contrib/externs/angular-1.6-q_templated.js",
"google-closure-compiler/contrib/externs/svg.js",
"openlayers/externs/closure-compiler.js",
"openlayers/externs/geojson.js",
"openlayers/externs/oli.js",
"openlayers/externs/olx.js",
"openlayers/externs/proj4js.js",
"openlayers/externs/topojson.js",
"ol-cesium/externs/olcsx.js"
],
"entry_point": [
"goog:ol.ext",
"goog:osmain"
],
"extra_annotation_name": [
"api",
"observable"
],
"define": [
"os.SETTINGS=config/settings.json"
],
"hide_warnings_for": [
".build/",
"/google-closure-library/",
"/openlayers/",
"/ol-cesium/"
]
},
"moduleDefines": {
"os.file.ZIP_PATH": "zip-js/WebContent",
"plugin.cesium.LIBRARY_BASE_PATH": "cesium/Build/CesiumUnminified",
"JSCHARDET_BASE_PATH": "jschardet/dist"
}
},
"scripts": {
"guide": "make -C docs clean html",
"guide:auto": "sphinx-autobuild docs docs/_build/html",
"genlibs": "run-p gen:modernizr gen:xmllexer",
"gen:deps": "os-gendeps .build/gcc-args.json .build/deps.js",
"gen:testdeps": "os-gendeps .build/gcc-test-args.json .build/deps-test.js",
"gen:modernizr": "modernizr -c modernizr.config.json -u -d .build/modernizr.js",
"pregen:xmllexer": "echo \"window.xmlLexer = require('xml-lexer');\" > .build/xml-lexer.require.js",
"gen:xmllexer": "browserify .build/xml-lexer.require.js -o .build/xml-lexer.min.js",
"postgen:xmllexer": "rm .build/xml-lexer.require.js",
"gen:webgl-mock": "browserify vendor/webgl-mock/webgl-mock.require.js -o .build/webgl-mock.min.js",
"test:init": "run-s genlibs gen:webgl-mock 'compile:resolve -- --exclude resources scss' gen:testdeps test:webpack",
"test:debug": "karma start --browsers Chrome --reporters dots",
"test:run": "karma start --single-run",
"test:webpack": "webpack --config webpack-test.config.js",
"test": "npm-run-all -s test:init test:run",
"init:base": "rimraf .build dist && mkdirp .build dist/opensphere",
"init:debug": "rimraf index.html",
"init:version": "echo dist/opensphere/v$(date +%s) > .build/version; cat .build/version",
"init:vfolder": "mkdirp $(cat .build/version)",
"init": "npm-run-all -p init:base init:debug -s init:version init:vfolder",
"lint:html": "html-validate 'views/**/*.html'",
"lint:css": "stylelint --ignore-path 'scss/nolint/**/*.scss' 'scss/**/*.scss'",
"lint:css-fix": "stylelint --fix --ignore-path 'scss/nolint/**/*.scss' 'scss/**/*.scss'",
"lint:js": "eslint --cache 'src/**/*.js' 'tasks/**/*.js' 'test/**/*.js'",
"lint": "run-p lint:js lint:css lint:html",
"precompile:resolve": "cp addlayer.js .build",
"compile:resolve": "os-resolve --outputDir .build --defineRoots $(cat .build/version)",
"postcompile:resolve": "node scripts/addlayer-replace.js",
"compile:debugcss": "for i in $(ls -1 .build/themes | grep node-sass-args); do sass --quiet $(cat .build/themes/$i):.build/themes/${i%.node-sass-args}.combined.css & pids=\"$pids $!\"; done; wait $pids;",
"postcompile:debugcss": "for i in $(ls -1 .build/themes | grep combined.css | grep -v combined.css.map); do postcss .build/themes/$i --no-map -u autoprefixer -r & pids=\"$pids $!\"; done; wait $pids",
"minify:css": "for i in $(ls -1 .build/themes | grep combined.css | grep -v combined.css.map); do cleancss --with-rebase --output .build/themes/$(echo $i | sed 's/combined/min/') .build/themes/$i & pids=\"$pids $!\"; done; wait $pids",
"compile": "npm-run-all -s compile:vendor-min compile:resolve gen:deps build:webpack compile:debugcss minify:css",
"compile:css": "npm run compile:debugcss; npm run minify:css;",
"compile:gcc": "os-compile .build/gcc-args.json",
"postcompile:gcc": "echo \"//# sourceMappingURL=$(pwd)/.build/opensphere.min.map\" >> .build/opensphere.min.js",
"compile:vendor-min": "node vendor-min",
"precopy:files": "mkdirp $(cat .build/version)/styles && mkdirp $(cat .build/version)/styles/themes && mkdirp dist/opensphere/test",
"precopy:views": "mkdirp $(cat .build/version)/views",
"precopy:config": "mkdirp dist/opensphere/config",
"precopy:resources": "xargs -n 1 mkdir -p < .build/resources-copy-dirs",
"precopy:onboarding": "mkdirp $(cat .build/version)/onboarding",
"copy:files": "cp .build/opensphere.min.* $(cat .build/version) && cp .build/themes/*.min.css $(cat .build/version)/styles/themes && cp -r .build/themes/fonts $(cat .build/version)/styles/themes",
"copy:images": "cp -r images $(cat .build/version)/images",
"copy:onboarding": "xargs -n 1 -I @ sh -c 'cp -rf @ $(cat .build/version)/onboarding/.' < .build/copy-onboarding-args",
"copy:views": "xargs -n 1 -I @ sh -c 'cp -rf @ $(cat .build/version)/views/.' < .build/copy-views-args",
"copy:config": "cp .build/settings.json dist/opensphere/config",
"copy:resources": "xargs -n 2 cp -r < .build/resources-copy-files",
"copy": "npm-run-all -s copy:files copy:images copy:onboarding copy:views copy:config copy:resources",
"rename": "find dist -type f | xargs perl -pi -e \"s#{APP}#$(json -a admin.brand.opensphere admin.about.application -d '\\n'< .build/settings.json | sed '/^$/d' | head -n 1)#g\"",
"build": "npm-run-all -s init -p lint genlibs -s compile copy build:index rename symlink",
"build:nolint": "npm-run-all -s init genlibs compile copy build:index rename",
"build:index": "xargs -n 1 os-index < .build/resources-pages",
"dev": "npm-run-all -s init genlibs compile:vendor-min compile:resolve gen:deps -p compile:debugcss build:webpack-dev build:devindex",
"build:devindex": "xargs -n 1 os-index --debug < .build/resources-pages",
"build:xt": "mkdirp .build dist/opensphere; tasks/xt/build.js; cp src/os/xt/xt-example.html dist/opensphere",
"build:webpack": "webpack --mode production",
"build:webpack-dev": "webpack --mode development",
"package:update": "if git diff --name-only ORIG_HEAD HEAD | grep --quiet package.json; then echo 'UPDATE: package.json was updated, consider running yarn in your workspace root'; fi",
"perms": "chmod -R u+rwX,go+rX,go-w .",
"semantic-release": "semantic-release --dry-run",
"start-server": "http-server ../../ -a localhost --port 8282 -o /workspace/opensphere/dist/opensphere -s &",
"container-start-server": "http-server ../../ -a 0.0.0.0 --port 8282 -o /workspace/opensphere/dist/opensphere -s",
"stop-server": "run-script-os",
"stop-server:darwin:linux": "pkill -f http-server",
"stop-server:windows": "taskkill -F -PID $(netstat -ano | findstr 0.0.0.0:8282 | awk '{print $5}')",
"symlink": "run-script-os",
"symlink:nix": "./tasks/symlink.sh",
"symlink:windows": "echo 'cannot symlink on windows'",
"symlink:default": "echo 'symlink not configured'",
"postinstall": "husky install"
},
"keywords": [
"geospatial",
"geo",
"gis",
"map",
"mapping",
"closure"
],
"author": "William Wall <wwall@caci.com>",
"maintainers": [
"William Wall <wwall@caci.com>",
"Kevin Schmidt <kschmidt@caci.com>",
"Jeremy Salankey <jsalankey@caci.com>"
],
"contributors": [
"Brian Riedinger",
"Brice Landry",
"Claudia Bowman",
"Connor Gibson",
"Devon Raehal",
"Doug Welch",
"Greg Royal",
"Jason Stiles",
"Jeremy Salankey",
"Jessica Denning",
"Jessica Finnessy",
"Justin Denton",
"Kevin Schmidt",
"Kurtis Golding",
"Marx Thompson",
"Michael Dougherty",
"Michael Roth",
"Noah Solomon",
"Rebecca Buss",
"Robert St. John",
"Ryan Fox",
"Sean Tyler",
"Thomas Hildesheim",
"William Wall"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/ngageoint/opensphere.git"
},
"engines": {
"node": ">=8.0.0"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"parserOpts": {
"issuePrefixes": [
"#",
"THIN-",
"thin-"
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"browserslist": [
"last 1 major version",
">= 1%",
"Chrome >= 35",
"Firefox >= 31"
],
"resolutions": {
"raphael": "2.3.0",
"squire-rte": "1.9.0",
"handlebars": "4.5.3"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@ngageoint/closure-webpack-plugin": "^3.0.0",
"@ngageoint/eslint-config-opensphere": "^7.1.1",
"@ngageoint/opensphere-coverage-loader": "^1.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.1",
"angular-mocks": "~1.8.x",
"autoprefixer": "^10.4.0",
"browserify": "^17.0.0",
"clean-css-cli": "^5.4.2",
"eslint": "^8.0.1",
"google-closure-compiler": "20210907.0.0",
"html-validate": "6.1.0",
"html-validate-angular": "^3.0.2",
"http-server": "^14.1.1",
"husky": "^7.0.4",
"json": "^11.0.0",
"karma": "^6.3.16",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "^0.1.0",
"karma-junit-reporter": "^2.0.1",
"karma-ng-html2js-preprocessor": "^1.0.0",
"lolex": "=2.3.2",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"opensphere-build-closure-helper": "^7.0.0",
"opensphere-build-index": "^4.0.0",
"opensphere-build-resolver": "^10.0.0",
"opensphere-state-schema": "^2.10.0",
"postcss": "^8.2.6",
"postcss-cli": "^9.0.2",
"rimraf": "5.0.7",
"run-script-os": "^1.0.7",
"semantic-release": "24.0.0",
"stylelint": "^14.0.0",
"stylelint-config-opensphere": "^1.0.0",
"webgl-mock": "^0.1.7",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"xmllint": "^0.1.1"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.4",
"@toast-ui/editor": "2.5.3",
"angular": "1.8.2",
"angular-animate": "1.8.2",
"angular-route": "1.8.2",
"angular-sanitize": "1.8.2",
"blob-polyfill": "6.0.20211015",
"bootstrap": "4.6.0",
"bootswatch": "4.6.0",
"cesium": "1.86.1",
"chardetng-wasm": "1.0.2",
"compass-mixins": "0.12.10",
"core-js-bundle": "3.23.3",
"crossfilter2": "1.4.8",
"css-element-queries": "=1.2.1",
"d3": "3.5.17",
"d3-tip": "=0.6.8",
"file-saver": "1.3.8",
"google-closure-library": "20210808.0.0",
"html2canvas": "1.3.2",
"jquery": "3.6.0",
"jschardet": "2.3.0",
"jsts": "2.7.3",
"modernizr": "3.11.8",
"moment": "2.20.1",
"navigator.sendbeacon": "0.0.20",
"oboe": "2.1.5",
"ol-cesium": "=1.37.0",
"openlayers": "4.6.5",
"opensphere-asm": "1.2.3",
"papaparse": "5.3.1",
"platform": "1.3.6",
"pluralize": "8.0.0",
"proj4": "2.7.5",
"sass": "1.43.4",
"sass-yiq": "1.0.0",
"save-svg-as-png": "=1.3.2",
"select2": "3.5.1",
"suncalc": "1.8.0",
"text-encoding": "0.6.4",
"typeface-open-sans": "0.0.75",
"xml-lexer": "0.2.2",
"zip-js": "0.0.2"
}
}