190 lines
5.5 KiB
JSON
190 lines
5.5 KiB
JSON
{
|
|
"name": "flightgear-airports",
|
|
"version": "0.0.21",
|
|
"author": "portree_kid <keith.paterson@gmx.de>",
|
|
"description": "An software to design Flightgear groundnets",
|
|
"license": "GPL v3",
|
|
"main": "./dist/electron/main.js",
|
|
"scripts": {
|
|
"build": "node .electron-vue/build.js && electron-builder",
|
|
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
|
|
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
|
|
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
|
|
"dev": "SET NODE_ENV=development&& node .electron-vue/dev-runner.js",
|
|
"e2e": "npm run pack && mocha test/e2e",
|
|
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test",
|
|
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test",
|
|
"pack": "npm run pack:main && npm run pack:renderer",
|
|
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
|
|
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
|
|
"test": "npm run unit && npm run e2e",
|
|
"mocha": "SET NODE_ENV=mocha&& mocha test/mocha/**/*.js",
|
|
"unit": "karma start test/unit/karma.conf.js",
|
|
"postinstall": ""
|
|
},
|
|
"build": {
|
|
"productName": "flightgear-airports",
|
|
"appId": "de.keith-paterson.flightgear-airports",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"asar": "true",
|
|
"extraResources": [
|
|
{
|
|
"from": "src/renderer/utils",
|
|
"to": "workers",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "node_modules/dijkstrajs",
|
|
"to": "workers",
|
|
"filter": [
|
|
"**/dijkstra.js"
|
|
]
|
|
},
|
|
{
|
|
"from": "node_modules/@turf",
|
|
"to": "workers/node_modules/@turf",
|
|
"filter": [
|
|
"**"
|
|
]
|
|
}
|
|
],
|
|
"files": [
|
|
"dist/electron/**/*"
|
|
],
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 410,
|
|
"y": 150,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
},
|
|
{
|
|
"x": 130,
|
|
"y": 150,
|
|
"type": "file"
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"icon": "build/icons/icon.icns"
|
|
},
|
|
"win": {
|
|
"icon": "build/icons/icon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"linux": {
|
|
"icon": "build/icons",
|
|
"target": "AppImage"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@turf/intersect": "^6.1.3",
|
|
"@turf/turf": "^5.1.6",
|
|
"axios": "^0.18.1",
|
|
"coordinate-parser": "^1.0.3",
|
|
"dijkstrajs": "^1.0.1",
|
|
"electron-debug": "^3.0.1",
|
|
"element-ui": "^2.13.2",
|
|
"file-url": "^3.0.0",
|
|
"fs": "0.0.1-security",
|
|
"geo-coordinates-parser": "^1.2.4",
|
|
"geodesy": "^2.2.0",
|
|
"idb": "^4.0.5",
|
|
"jquery": "^3.4.1",
|
|
"leaflet": "^1.5.1",
|
|
"leaflet-editable": "^1.2.0",
|
|
"leaflet-polylinedecorator": "^1.6.0",
|
|
"leaflet-sidebar-v2": "^3.2.1",
|
|
"leaflet-textpath": "^1.2.0",
|
|
"lokijs": "^1.5.8",
|
|
"mathjs": "^6.2.5",
|
|
"path": "^0.12.7",
|
|
"tiny-worker": "^2.3.0",
|
|
"vue": "^2.5.16",
|
|
"vue-electron": "^1.0.6",
|
|
"vue-idb": "^0.2.0",
|
|
"vue-leaflet": "^0.1.0",
|
|
"vue-router": "^3.0.1",
|
|
"vue2-leaflet": "^2.2.1",
|
|
"vuetify": "^2.1.9",
|
|
"vuex": "^3.0.1",
|
|
"vuex-electron": "^1.0.0",
|
|
"vuex-persist": "^2.2.0",
|
|
"vuex-persistedstate": "^2.7.0",
|
|
"worker-threads": "^1.0.0",
|
|
"xamel": "^0.3.1",
|
|
"xmlbuilder": "^13.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@fortawesome/fontawesome-free": "^5.12.0",
|
|
"ajv": "^6.5.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.3",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-istanbul": "^4.1.6",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"babel-register": "^6.26.0",
|
|
"babili-webpack-plugin": "^0.1.2",
|
|
"cfonts": "^2.1.2",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^2.4.1",
|
|
"copy-webpack-plugin": "^4.5.1",
|
|
"cross-env": "^5.1.6",
|
|
"css-loader": "^0.28.11",
|
|
"del": "^3.0.0",
|
|
"devtron": "^1.4.0",
|
|
"electron": "^7.2.4",
|
|
"electron-builder": "^21.2.0",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-standard": "^11.0.0",
|
|
"eslint-friendly-formatter": "^4.0.1",
|
|
"eslint-loader": "^2.0.0",
|
|
"eslint-plugin-html": "^4.0.3",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-node": "^6.0.1",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"eslint-plugin-standard": "^3.1.0",
|
|
"file-loader": "^1.1.11",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"inject-loader": "^4.0.1",
|
|
"karma": "^2.0.2",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-coverage": "^1.1.2",
|
|
"karma-electron": "^6.0.0",
|
|
"karma-mocha": "^1.3.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-spec-reporter": "^0.0.32",
|
|
"karma-webpack": "^3.0.0",
|
|
"mini-css-extract-plugin": "0.4.0",
|
|
"mocha": "^5.2.0",
|
|
"multispinner": "^0.2.1",
|
|
"node-loader": "^0.6.0",
|
|
"node-sass": "^4.9.2",
|
|
"require-dir": "^1.0.0",
|
|
"sass-loader": "^7.0.3",
|
|
"spectron": "^3.8.0",
|
|
"style-loader": "^0.21.0",
|
|
"url-loader": "^1.0.1",
|
|
"vue-html-loader": "^1.2.4",
|
|
"vue-loader": "^15.2.4",
|
|
"vue-style-loader": "^4.1.0",
|
|
"vue-template-compiler": "^2.5.16",
|
|
"webpack": "^4.15.1",
|
|
"webpack-cli": "^3.0.8",
|
|
"webpack-dev-server": "^3.1.4",
|
|
"webpack-hot-middleware": "^2.22.2",
|
|
"webpack-merge": "^4.1.3"
|
|
}
|
|
}
|