155 lines
4.1 KiB
JSON
155 lines
4.1 KiB
JSON
{
|
|
"name": "openlayers",
|
|
"version": "4.6.0-beta.1",
|
|
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
|
"keywords": [
|
|
"map",
|
|
"mapping",
|
|
"ol"
|
|
],
|
|
"homepage": "https://openlayers.org/",
|
|
"scripts": {
|
|
"install": "node tasks/install.js",
|
|
"postinstall": "closure-util update",
|
|
"start": "node tasks/serve.js",
|
|
"lint": "eslint tasks test src examples transforms",
|
|
"lint-package": "eslint --fix build/package",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run karma -- --single-run",
|
|
"debug-server": "node tasks/serve-lib.js",
|
|
"karma": "node tasks/test.js start test/karma.config.js",
|
|
"transform-src": "jscodeshift --transform transforms/module.js src",
|
|
"changecase-src": "node tasks/filename-case-from-module.js",
|
|
"transform-examples": "jscodeshift --transform transforms/module.js examples",
|
|
"transform-test": "jscodeshift --transform transforms/module.js test",
|
|
"transform": "npm run changecase-src && npm run transform-src && npm run transform-examples && npm run transform-test && npm run lint -- --fix"
|
|
},
|
|
"main": "dist/ol.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/openlayers/openlayers.git"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/openlayers/openlayers/issues"
|
|
},
|
|
"browser": "dist/ol.js",
|
|
"style": [
|
|
"css/ol.css"
|
|
],
|
|
"dependencies": {
|
|
"async": "2.6.0",
|
|
"closure-util": "1.26.0",
|
|
"fs-extra": "4.0.2",
|
|
"jsdoc": "3.5.5",
|
|
"nomnom": "1.8.1",
|
|
"pbf": "3.1.0",
|
|
"pixelworks": "1.1.0",
|
|
"rbush": "2.0.1",
|
|
"rollup": "^0.52.0",
|
|
"rollup-plugin-cleanup": "^2.0.0",
|
|
"rollup-plugin-commonjs": "^8.2.6",
|
|
"rollup-plugin-node-resolve": "^3.0.0",
|
|
"temp": "0.8.3",
|
|
"walk": "2.3.9"
|
|
},
|
|
"devDependencies": {
|
|
"clean-css-cli": "4.1.10",
|
|
"coveralls": "3.0.0",
|
|
"debounce": "^1.1.0",
|
|
"eslint": "4.12.1",
|
|
"eslint-config-openlayers": "7.0.0",
|
|
"eslint-plugin-openlayers-internal": "^3.1.0",
|
|
"expect.js": "0.3.1",
|
|
"gaze": "^1.0.0",
|
|
"glob": "7.1.1",
|
|
"handlebars": "4.0.11",
|
|
"istanbul": "0.4.5",
|
|
"jquery": "3.2.1",
|
|
"jscodeshift": "^0.3.30",
|
|
"karma": "^1.7.1",
|
|
"karma-chrome-launcher": "^2.1.1",
|
|
"karma-coverage": "^1.1.1",
|
|
"karma-firefox-launcher": "^1.0.1",
|
|
"karma-mocha": "^1.3.0",
|
|
"karma-sauce-launcher": "^1.1.0",
|
|
"marked": "0.3.6",
|
|
"metalsmith": "2.3.0",
|
|
"metalsmith-layouts": "1.8.1",
|
|
"mocha": "4.0.1",
|
|
"mocha-phantomjs-core": "^2.1.0",
|
|
"mustache": "2.3.0",
|
|
"phantomjs-prebuilt": "2.1.16",
|
|
"pixelmatch": "^4.0.2",
|
|
"proj4": "2.4.4",
|
|
"serve-files": "1.0.1",
|
|
"sinon": "4.1.2",
|
|
"slimerjs": "0.10.3",
|
|
"url-polyfill": "^1.0.7"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "openlayers",
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"globals": {
|
|
"ArrayBuffer": false,
|
|
"Float32Array": false,
|
|
"Uint16Array": false,
|
|
"Uint32Array": false,
|
|
"Uint8Array": false,
|
|
"Uint8ClampedArray": false,
|
|
"ol": false,
|
|
"goog": false,
|
|
"proj4": false
|
|
},
|
|
"plugins": [
|
|
"openlayers-internal"
|
|
],
|
|
"rules": {
|
|
"no-constant-condition": 0,
|
|
"openlayers-internal/enum": 2,
|
|
"openlayers-internal/no-duplicate-requires": 2,
|
|
"openlayers-internal/no-missing-requires": 2,
|
|
"openlayers-internal/no-unused-requires": 2,
|
|
"openlayers-internal/one-provide": 2,
|
|
"openlayers-internal/requires-first": 2,
|
|
"openlayers-internal/valid-provide": 2,
|
|
"openlayers-internal/valid-requires": 2,
|
|
"indent": [
|
|
2,
|
|
2,
|
|
{
|
|
"VariableDeclarator": 2,
|
|
"SwitchCase": 1,
|
|
"MemberExpression": 2,
|
|
"FunctionDeclaration": {
|
|
"parameters": 2,
|
|
"body": 1
|
|
},
|
|
"FunctionExpression": {
|
|
"parameters": 2,
|
|
"body": 1
|
|
},
|
|
"CallExpression": {
|
|
"arguments": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ext": [
|
|
{
|
|
"module": "rbush"
|
|
},
|
|
{
|
|
"module": "pbf",
|
|
"name": "PBF"
|
|
},
|
|
{
|
|
"module": "pixelworks",
|
|
"import": "Processor"
|
|
}
|
|
]
|
|
}
|