aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 52fab488ff11db2a4648e11cc054cd407494043e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "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": "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",
        "lint": "./node_modules/.bin/eslint web/."
    }
}