forked from openlayers/openlayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.85 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
{
"name": "ol",
"version": "7.2.3-dev",
"description": "OpenLayers mapping library",
"keywords": [
"map",
"mapping",
"openlayers"
],
"private": true,
"homepage": "https://openlayers.org/",
"scripts": {
"lint": "eslint tasks test src/ol examples config",
"pretest": "npm run lint && npm run typecheck",
"test-rendering": "npm run build-full && node test/rendering/test.js",
"test-browser": "npm run karma -- --single-run --log-level error",
"test-node": "mocha --recursive test/node",
"test": "npm run test-browser && npm run test-node && npm run test-rendering -- --force",
"karma": "karma start test/browser/karma.config.cjs",
"start": "npm run serve-examples",
"serve-examples": "webpack serve --config examples/webpack/config.mjs --mode development",
"build-examples": "shx rm -rf build/examples && webpack --config examples/webpack/config.mjs --mode production",
"build-package": "npm run build-full && npm run copy-css && npm run generate-types && node tasks/prepare-package.js",
"build-index": "shx rm -f build/index.js && npm run transpile && node tasks/generate-index.js",
"build-full": "shx rm -rf build/full && npm run build-index && npx rollup --config config/rollup-full-build.js",
"copy-css": "shx cp src/ol/ol.css build/ol/ol.css",
"generate-types": "tsc --project config/tsconfig-build.json --declaration --declarationMap --emitDeclarationOnly --outdir build/ol",
"transpile": "shx rm -rf build/ol && shx mkdir -p build/ol && shx cp -rf src/ol build && node tasks/serialize-workers.cjs && node tasks/set-version.js",
"typecheck": "tsc --pretty",
"apidoc-debug": "shx rm -rf build/apidoc && node --inspect-brk=9229 ./node_modules/jsdoc/jsdoc.js -R config/jsdoc/api/index.md -c config/jsdoc/api/conf.json -P package.json -d build/apidoc",
"apidoc": "shx rm -rf build/apidoc && jsdoc -R config/jsdoc/api/index.md -c config/jsdoc/api/conf.json -P package.json -d build/apidoc"
},
"type": "module",
"repository": {
"type": "git",
"url": "git://github.com/openlayers/openlayers.git"
},
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/openlayers/openlayers/issues"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/openlayers"
},
"dependencies": {
"earcut": "^2.2.3",
"geotiff": "^2.0.7",
"ol-mapbox-style": "^9.2.0",
"pbf": "3.2.1",
"rbush": "^3.0.1"
},
"devDependencies": {
"@metalsmith/in-place": "^4.5.0",
"@metalsmith/layouts": "^2.5.1",
"@metalsmith/markdown": "^1.6.0",
"@octokit/rest": "^19.0.3",
"@openlayers/eslint-plugin": "^4.0.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@types/arcgis-rest-api": "^10.4.4",
"@types/geojson": "^7946.0.7",
"@types/offscreencanvas": "^2019.6.4",
"@types/pbf": "^3.0.2",
"@types/proj4": "^2.5.2",
"@types/topojson-specification": "^1.0.1",
"chaikin-smooth": "^1.0.4",
"clean-css-cli": "5.6.2",
"copy-webpack-plugin": "^11.0.0",
"es-main": "^1.0.2",
"eslint": "^8.0.1",
"eslint-config-openlayers": "^17.0.0",
"expect.js": "0.3.1",
"express": "^4.17.1",
"front-matter": "^4.0.0",
"fs-extra": "^11.1.0",
"globby": "^13.0.0",
"handlebars": "4.7.7",
"jquery": "3.6.3",
"jsdoc": "4.0.0",
"jsdoc-plugin-intersection": "^1.0.4",
"jsdoc-plugin-typescript": "^2.2.0",
"json-stringify-safe": "^5.0.1",
"jstransformer-handlebars": "^1.2.0",
"karma": "^6.3.8",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "2.0.1",
"karma-source-map-support": "^1.4.0",
"karma-webpack": "^5.0.0",
"loglevelnext": "^5.0.5",
"marked": "4.2.12",
"metalsmith": "^2.5.0",
"mocha": "10.2.0",
"pixelmatch": "^5.1.0",
"pngjs": "^6.0.0",
"proj4": "2.8.1",
"puppeteer": "19.7.0",
"rollup": "^2.42.3",
"rollup-plugin-external-globals": "^0.7.1",
"rollup-plugin-terser": "^7.0.2",
"semver": "^7.3.7",
"serve-static": "^1.14.0",
"shx": "^0.3.2",
"sinon": "^15.0.0",
"source-map-loader": "^4.0.0",
"threads": "^1.6.5",
"typescript": "4.9.5",
"walk": "^2.3.9",
"webpack": "^5.27.2",
"webpack-cli": "^5.0.0",
"webpack-dev-middleware": "^6.0.0",
"webpack-dev-server": "^4.0.0-beta.2",
"webpack-sources": "^3.2.0",
"worker-loader": "^3.0.8",
"yargs": "^17.0.0"
},
"eslintConfig": {
"extends": "openlayers",
"plugins": [
"@openlayers"
],
"rules": {
"jsdoc/no-bad-blocks": "off",
"import/no-commonjs": "error",
"@openlayers/no-exclusive-tests": [
"error",
{
"include": "test/**/*.test.js"
}
]
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"sideEffects": [
"proj.js",
"ol.css"
]
}