Scripts for in-place transforms
This commit is contained in:
+9
-1
@@ -17,7 +17,12 @@
|
||||
"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"
|
||||
"karma": "node tasks/test.js start test/karma.config.js",
|
||||
"transform-src": "jscodeshift --transform transforms/module.js src",
|
||||
"transform-examples": "jscodeshift --transform transforms/module.js examples",
|
||||
"transform-test-spec": "jscodeshift --transform transforms/module.js test/spec",
|
||||
"transform-test-rendering": "jscodeshift --transform transforms/module.js test/rendering",
|
||||
"transform": "npm run transform-src && npm run transform-examples && npm run transform-test-spec && npm run transform-test-rendering && npm run lint -- --fix"
|
||||
},
|
||||
"main": "dist/ol.js",
|
||||
"repository": {
|
||||
@@ -83,6 +88,9 @@
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "openlayers",
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
},
|
||||
"globals": {
|
||||
"ArrayBuffer": false,
|
||||
"Float32Array": false,
|
||||
|
||||
Reference in New Issue
Block a user