The transpiling step is done by babel instead of bublé now. Bublé caused the istanbul instrumenter step to crash because of an unexpected SourceMap object format.
122 lines
3.8 KiB
JSON
122 lines
3.8 KiB
JSON
{
|
|
"name": "ol",
|
|
"version": "6.0.0-beta.6",
|
|
"description": "OpenLayers mapping library",
|
|
"keywords": [
|
|
"map",
|
|
"mapping",
|
|
"ol"
|
|
],
|
|
"private": true,
|
|
"homepage": "https://openlayers.org/",
|
|
"scripts": {
|
|
"lint": "eslint tasks test rendering src/ol examples config",
|
|
"pretest": "npm run lint",
|
|
"test-rendering": "node rendering/test.js",
|
|
"test": "npm run karma -- --single-run --log-level error && npm run test-rendering -- --force",
|
|
"karma": "karma start test/karma.config.js",
|
|
"start": "npm run serve-examples",
|
|
"serve-examples": "webpack-dev-server --config examples/webpack/config.js --mode development --watch",
|
|
"build-examples": "webpack --config examples/webpack/config.js --mode production",
|
|
"build-package": "npm run transpile && npm run copy-css && node tasks/prepare-package && shx cp README.md build/ol",
|
|
"build-index": "npm run build-package && node tasks/generate-index",
|
|
"build-legacy": "shx rm -rf build && npm run build-index && webpack --config config/webpack-config-legacy-build.js && cleancss --source-map src/ol/ol.css -o build/legacy/ol.css",
|
|
"copy-css": "shx cp src/ol/ol.css build/ol/ol.css",
|
|
"transpile": "shx rm -rf build/ol && shx mkdir -p build/ol && shx cp -rf src/ol build/ol/src && tsc --project config/tsconfig-build.json",
|
|
"typecheck": "tsc --pretty",
|
|
"apidoc": "jsdoc config/jsdoc/api/index.md -c config/jsdoc/api/conf.json -P package.json -d build/apidoc"
|
|
},
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/openlayers/openlayers.git"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/openlayers/openlayers/issues"
|
|
},
|
|
"dependencies": {
|
|
"pbf": "3.2.0",
|
|
"pixelworks": "1.1.0",
|
|
"rbush": "2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.0",
|
|
"@babel/preset-env": "^7.4.2",
|
|
"@openlayers/eslint-plugin": "^4.0.0-beta.2",
|
|
"@types/arcgis-rest-api": "^10.4.4",
|
|
"@types/geojson": "^7946.0.7",
|
|
"@types/pbf": "^3.0.1",
|
|
"@types/rbush": "^2.0.2",
|
|
"@types/topojson-specification": "^1.0.1",
|
|
"babel-loader": "^8.0.5",
|
|
"buble": "^0.19.7",
|
|
"buble-loader": "^0.5.1",
|
|
"chaikin-smooth": "^1.0.4",
|
|
"clean-css-cli": "4.3.0",
|
|
"copy-webpack-plugin": "^5.0.2",
|
|
"coveralls": "3.0.3",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-openlayers": "^11.0.0",
|
|
"expect.js": "0.3.1",
|
|
"front-matter": "^3.0.1",
|
|
"fs-extra": "^7.0.1",
|
|
"glob": "^7.1.2",
|
|
"globby": "^9.2.0",
|
|
"handlebars": "4.1.2",
|
|
"html-to-image": "^0.1.0",
|
|
"istanbul": "0.4.5",
|
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
"jquery": "3.4.1",
|
|
"jsdoc": "3.5.5",
|
|
"jsdoc-plugin-typescript": "^1.0.8",
|
|
"karma": "^4.0.1",
|
|
"karma-chrome-launcher": "2.2.0",
|
|
"karma-coverage": "^1.1.2",
|
|
"karma-coverage-istanbul-reporter": "^2.0.5",
|
|
"karma-firefox-launcher": "^1.1.0",
|
|
"karma-mocha": "1.3.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-webpack": "^4.0.0-rc.2",
|
|
"loglevelnext": "^3.0.0",
|
|
"marked": "0.6.2",
|
|
"mocha": "6.1.4",
|
|
"ol-mapbox-style": "^4.3.1",
|
|
"pixelmatch": "^4.0.2",
|
|
"pngjs": "^3.4.0",
|
|
"proj4": "2.5.0",
|
|
"puppeteer": "~1.15.0",
|
|
"serve-static": "^1.13.2",
|
|
"shx": "^0.3.2",
|
|
"sinon": "^7.3.1",
|
|
"terser-webpack-plugin": "^1.2.3",
|
|
"typescript": "^3.2.2",
|
|
"url-polyfill": "^1.1.5",
|
|
"walk": "^2.3.9",
|
|
"webpack": "4.30.0",
|
|
"webpack-cli": "^3.3.0",
|
|
"webpack-dev-middleware": "^3.6.2",
|
|
"webpack-dev-server": "^3.3.1",
|
|
"yargs": "^13.2.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "openlayers",
|
|
"plugins": [
|
|
"@openlayers"
|
|
],
|
|
"rules": {
|
|
"valid-jsdoc": "off",
|
|
"@openlayers/valid-tsdoc": [
|
|
"error",
|
|
{
|
|
"requireReturn": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"sideEffects": [
|
|
"proj.js",
|
|
"ol.css"
|
|
]
|
|
}
|