-
Notifications
You must be signed in to change notification settings - Fork 329
/
package.json
100 lines (100 loc) · 3.16 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
{
"name": "olcs",
"version": "2.22.1",
"description": "OpenLayers Cesium integration and plugin library",
"scripts": {
"test": "node --enable-source-maps --import @swc-node/register/esm-register --test src/olcs/*.test.ts",
"build-examples": "rm -rf dist; parcel build --dist-dir dist/examples && npm run copy-static-dist && npm run copy-rawjs-sandbox",
"prepare": "tsc --pretty; npm run doc",
"typecheck": "tsc --pretty --noEmit",
"lint": "eslint src examples",
"checks": "npm run lint && npm run typecheck",
"doc": "typedoc --name ol-cesium --excludeExternals --out apidoc --entryPoints src/olcs.ts --tsconfig ./tsconfig.json",
"copy-static-dist": "mkdir -p dist/examples/node_modules/ol; mkdir -p dist/examples/node_modules/cesium/Build/; cp examples/inject_ol_cesium.js dist/examples/; cp node_modules/ol/ol.css dist/examples/node_modules/ol/; cp -R node_modules/cesium/Build/CesiumUnminified node_modules/cesium/Build/Cesium dist/examples/node_modules/cesium/Build/; cp -R examples/data dist/examples/",
"copy-rawjs-sandbox": "mkdir -p dist/examples/rawjs/; cp -r examples/* dist/examples/rawjs; ",
"prestart": "rm -rf dist; npm run copy-static-dist",
"start": "parcel serve ./examples/index.html --dist-dir dist/examples --no-autoinstall & tsc --watch",
"serve-built-examples": "python3 -m http.server --directory dist 12345"
},
"targets": {
"examples": {
"source": "./examples/index.html",
"context": "browser",
"publicUrl": "./",
"optimize": true,
"isLibrary": false,
"sourceMap": true
}
},
"alias": {
"olcs": "./lib/olcs",
"buffer": false
},
"source": "./src/olcs.ts",
"type": "module",
"main": "./lib/olcs.js",
"exports": {
".": "./lib/olcs.js",
"./src/*": "./lib/olcs/*.js",
"./ts/*": "./lib/olcs/*.ts",
"./*": "./lib/olcs/*.js"
},
"parcelIgnore": [
"dist/examples/rawjs/*"
],
"types": "lib/types/olcs.d.ts",
"directories": {
"doc": "apidoc/"
},
"homepage": "https://github.com/openlayers/ol-cesium/",
"keywords": [
"Cesium",
"OpenLayers",
"OL",
"Synchronization",
"Plugins"
],
"files": [
"PROPERTIES.md",
"css/",
"src/",
"lib/",
"apidoc/"
],
"repository": {
"type": "git",
"url": "git://github.com/openlayers/ol-cesium.git"
},
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/openlayers/ol-cesium/issues"
},
"maintainers": [
{
"name": "Guillaume Beraudo",
"email": "guillaume.beraudo@camptocamp.com",
"url": "https://github.com/gberaudo"
}
],
"peerDependencies": {
"cesium": ">= 1.90.0",
"ol": ">= 9.2, >= 10"
},
"devDependencies": {
"@babel/parser": "7.26.2",
"@mapbox/geojsonhint": "3.3.0",
"@swc-node/register": "1.10.9",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"cesium": "1.123.0",
"eslint": "8.57.0",
"eslint-config-openlayers": "12.0.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.31.0",
"ol": "10.2.1",
"parcel": "2.12.0",
"proj4": "2.14.0",
"typedoc": "0.26.11",
"typescript": "5.6.3"
}
}