diff options
author | rahighi <rahighi> | 2021-08-26 13:11:23 +0430 |
---|---|---|
committer | rahighi <rahighi> | 2021-08-26 13:11:23 +0430 |
commit | d4c38aa96f8404f3178031592e773a72b30df533 (patch) | |
tree | faf0bfada7b5d98b3cbe34230a7628ba6d16a030 /package.json | |
parent | b18da8ebebca5d40fb58fa270530cb9b048ff6ec (diff) | |
download | trackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.tar.gz trackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.tar.bz2 trackermap-web-d4c38aa96f8404f3178031592e773a72b30df533.zip |
Merge branch 'master' of https://github.com/traccar/traccar-web
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package.json b/package.json index 9e318572..eb87b1ac 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,18 @@ { "name": "traccar-web", + "dependencies": { + "extjs-gpl": "^6.2.0", + "ol": "^6.6.1", + "ol-layerswitcher": "^3.8.3", + "openlayers-dist": "^6.6.1", + "proj4": "^2.7.5" + }, "devDependencies": { "eslint": "^4.4.1" }, "scripts": { + "postinstall": "/bin/bash -c 'mkdir -p web/lib/{ol,ol-layerswitcher,proj4,extjs} && cp node_modules/openlayers-dist/{ol.js,ol.css} web/lib/ol/ && cp node_modules/ol-layerswitcher/dist/{ol-layerswitcher.js,ol-layerswitcher.css} web/lib/ol-layerswitcher/ && cp node_modules/proj4/dist/proj4.js web/lib/proj4/ && cp node_modules/extjs-gpl/build/ext-all.js web/lib/extjs/ && mkdir -p web/lib/extjs/classic && cp -r node_modules/extjs-gpl/build/classic/locale web/lib/extjs/classic/locale && cp -r node_modules/extjs-gpl/build/classic/theme-triton web/lib/extjs/classic/theme-triton && mkdir -p web/lib/extjs/packages/charts && cp -r node_modules/extjs-gpl/build/packages/charts/classic web/lib/extjs/packages/charts/classic'", + "build": "sencha compile --classpath=web/app.js,web/app,node_modules/extjs-gpl/packages/core/src,node_modules/extjs-gpl/packages/core/overrides,node_modules/extjs-gpl/classic/classic/src,node_modules/extjs-gpl/classic/classic/overrides exclude -all and include -recursive -file web/app.js and exclude -namespace=Ext and concatenate -closure web/app.min.js", "lint": "./node_modules/.bin/eslint web/." } } |