UNPKG

4.24 kBJSONView Raw
1{
2 "name": "openlayers",
3 "version": "4.6.1",
4 "description": "Build tools and sources for developing OpenLayers based mapping applications",
5 "keywords": [
6 "map",
7 "mapping",
8 "ol"
9 ],
10 "homepage": "https://openlayers.org/",
11 "scripts": {
12 "install": "node tasks/install.js",
13 "postinstall": "closure-util update",
14 "start": "node tasks/serve.js",
15 "lint": "eslint tasks test src examples transforms",
16 "lint-package": "eslint --fix build/package",
17 "pretest": "npm run lint",
18 "test": "npm run karma -- --single-run",
19 "debug-server": "node tasks/serve-lib.js",
20 "karma": "node tasks/test.js start test/karma.config.js",
21 "transform-src": "jscodeshift --transform transforms/module.js src",
22 "changecase-src": "node tasks/filename-case-from-module.js",
23 "transform-examples": "jscodeshift --transform transforms/module.js examples",
24 "transform-test": "jscodeshift --transform transforms/module.js test",
25 "transform": "npm run changecase-src && npm run transform-src && npm run transform-examples && npm run transform-test && npm run lint -- --fix"
26 },
27 "main": "dist/ol.js",
28 "repository": {
29 "type": "git",
30 "url": "git://github.com/openlayers/openlayers.git"
31 },
32 "license": "BSD-2-Clause",
33 "bugs": {
34 "url": "https://github.com/openlayers/openlayers/issues"
35 },
36 "browser": "dist/ol.js",
37 "style": [
38 "css/ol.css"
39 ],
40 "dependencies": {
41 "async": "2.6.0",
42 "closure-util": "1.26.0",
43 "fs-extra": "4.0.3",
44 "jsdoc": "3.5.5",
45 "nomnom": "1.8.1",
46 "pbf": "3.1.0",
47 "pixelworks": "1.1.0",
48 "rbush": "2.0.1",
49 "rollup": "^0.52.0",
50 "rollup-plugin-cleanup": "^2.0.0",
51 "rollup-plugin-commonjs": "^8.2.6",
52 "rollup-plugin-node-resolve": "^3.0.0",
53 "temp": "0.8.3",
54 "walk": "2.3.9"
55 },
56 "devDependencies": {
57 "clean-css-cli": "4.1.10",
58 "coveralls": "3.0.0",
59 "debounce": "^1.1.0",
60 "eslint": "4.12.1",
61 "eslint-config-openlayers": "7.0.0",
62 "eslint-plugin-openlayers-internal": "^3.1.0",
63 "expect.js": "0.3.1",
64 "gaze": "^1.0.0",
65 "glob": "7.1.1",
66 "handlebars": "4.0.11",
67 "istanbul": "0.4.5",
68 "jquery": "3.2.1",
69 "jscodeshift": "^0.3.30",
70 "karma": "^1.7.1",
71 "karma-chrome-launcher": "^2.1.1",
72 "karma-coverage": "^1.1.1",
73 "karma-firefox-launcher": "^1.0.1",
74 "karma-mocha": "^1.3.0",
75 "karma-sauce-launcher": "^1.1.0",
76 "marked": "0.3.7",
77 "metalsmith": "2.3.0",
78 "metalsmith-layouts": "1.8.1",
79 "mocha": "4.0.1",
80 "mocha-phantomjs-core": "^2.1.0",
81 "mustache": "2.3.0",
82 "phantomjs-prebuilt": "2.1.16",
83 "pixelmatch": "^4.0.2",
84 "proj4": "2.4.4",
85 "serve-files": "1.0.1",
86 "sinon": "4.1.2",
87 "slimerjs": "0.10.3",
88 "url-polyfill": "^1.0.7"
89 },
90 "eslintConfig": {
91 "extends": "openlayers",
92 "parserOptions": {
93 "sourceType": "module"
94 },
95 "globals": {
96 "ArrayBuffer": false,
97 "Float32Array": false,
98 "Uint16Array": false,
99 "Uint32Array": false,
100 "Uint8Array": false,
101 "Uint8ClampedArray": false,
102 "ol": false,
103 "goog": false,
104 "proj4": false
105 },
106 "plugins": [
107 "openlayers-internal"
108 ],
109 "rules": {
110 "no-constant-condition": 0,
111 "openlayers-internal/enum": 2,
112 "openlayers-internal/no-duplicate-requires": 2,
113 "openlayers-internal/no-missing-requires": 2,
114 "openlayers-internal/no-unused-requires": 2,
115 "openlayers-internal/one-provide": 2,
116 "openlayers-internal/requires-first": 2,
117 "openlayers-internal/valid-provide": 2,
118 "openlayers-internal/valid-requires": 2,
119 "indent": [
120 2,
121 2,
122 {
123 "VariableDeclarator": 2,
124 "SwitchCase": 1,
125 "MemberExpression": 2,
126 "FunctionDeclaration": {
127 "parameters": 2,
128 "body": 1
129 },
130 "FunctionExpression": {
131 "parameters": 2,
132 "body": 1
133 },
134 "CallExpression": {
135 "arguments": 2
136 }
137 }
138 ]
139 }
140 },
141 "ext": [
142 {
143 "module": "rbush"
144 },
145 {
146 "module": "pbf",
147 "name": "PBF"
148 },
149 {
150 "module": "pixelworks",
151 "import": "Processor"
152 }
153 ]
154}