129 lines
3.4 KiB
JSON
129 lines
3.4 KiB
JSON
{
|
|
"name": "openlayers",
|
|
"version": "4.6.4",
|
|
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
|
"keywords": [
|
|
"map",
|
|
"mapping",
|
|
"ol"
|
|
],
|
|
"homepage": "https://openlayers.org/",
|
|
"scripts": {
|
|
"lint": "eslint tasks test src examples transforms",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run karma -- --single-run",
|
|
"karma": "karma start test/karma.config.js",
|
|
"serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --watch & serve build/examples",
|
|
"build-examples": "webpack --config examples/webpack/config.js --env=prod"
|
|
},
|
|
"main": "src/ol/index.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": {
|
|
"pbf": "3.1.0",
|
|
"pixelworks": "1.1.0",
|
|
"rbush": "2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"async": "2.6.0",
|
|
"babel-minify-webpack-plugin": "^0.2.0",
|
|
"clean-css-cli": "4.1.10",
|
|
"copy-webpack-plugin": "^4.0.1",
|
|
"coveralls": "3.0.0",
|
|
"eslint": "4.13.1",
|
|
"eslint-config-openlayers": "7.0.0",
|
|
"eslint-plugin-openlayers-internal": "^3.1.0",
|
|
"expect.js": "0.3.1",
|
|
"front-matter": "^2.1.2",
|
|
"fs-extra": "5.0.0",
|
|
"glob": "7.1.1",
|
|
"handlebars": "4.0.11",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"istanbul": "0.4.5",
|
|
"jquery": "3.2.1",
|
|
"jscodeshift": "^0.4.0",
|
|
"jsdoc": "3.5.5",
|
|
"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.2.0",
|
|
"karma-webpack": "2.0.6",
|
|
"marked": "0.3.7",
|
|
"mocha": "4.0.1",
|
|
"mustache": "^2.3.0",
|
|
"nomnom": "1.8.1",
|
|
"pixelmatch": "^4.0.2",
|
|
"proj4": "2.4.4",
|
|
"serve": "^6.0.6",
|
|
"sinon": "4.1.3",
|
|
"url-polyfill": "^1.0.7",
|
|
"walk": "^2.3.9",
|
|
"webpack": "3.10.0",
|
|
"webpack-dev-server": "2.9.7",
|
|
"webpack-merge": "4.1.1"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|