Script to build examples

This commit is contained in:
Tim Schaub
2017-08-25 18:59:18 -06:00
committed by Tim Schaub
parent 7f47883c48
commit 93411a2b91
8 changed files with 282 additions and 8 deletions

View File

@@ -22,7 +22,8 @@
"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"
"transform": "npm run changecase-src && npm run transform-src && npm run transform-examples && npm run transform-test && npm run lint -- --fix",
"build-examples": "webpack --config examples/webpack/config.js"
},
"main": "dist/ol.js",
"repository": {
@@ -58,12 +59,15 @@
"coveralls": "3.0.0",
"debounce": "^1.1.0",
"eslint": "4.13.1",
"copy-webpack-plugin": "^4.0.1",
"eslint-config-openlayers": "7.0.0",
"eslint-plugin-openlayers-internal": "^3.1.0",
"expect.js": "0.3.1",
"front-matter": "^2.1.2",
"gaze": "^1.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",
@@ -85,7 +89,9 @@
"serve-files": "1.0.1",
"sinon": "4.1.3",
"slimerjs": "0.10.3",
"url-polyfill": "^1.0.7"
"url-polyfill": "^1.0.7",
"webpack": "^3.5.5",
"webpack-dev-server": "^2.7.1"
},
"eslintConfig": {
"extends": "openlayers",
@@ -138,8 +144,7 @@
]
}
},
"ext": [
{
"ext": [{
"module": "rbush"
},
{