Files
Mike Salvia 53875ead73 Fix: for logLevel being honored and icons for log levels cleanup to accept colorized logs from Appium (#2096)
* Better colorization & iconography in console
* Added colorization to console to help distinguish type of message
* Fixed logLevel not being honored
* Fixed icons to distinguish log level
* Removed `silly` in leveler

* Use colorized console string from appium instead of colorizing them ourselves

* Fixing output of logs with color

* Remove commented code

* Fix lint issue
2022-09-14 10:53:27 -07:00

198 lines
6.5 KiB
JSON

{
"name": "appium-desktop",
"version": "1.22.3-5",
"description": "Graphical interface for the Appium server, and an app inspector",
"repository": {
"type": "git",
"url": "git+https://github.com/appium/appium-desktop.git"
},
"author": {
"name": "Appium Developers",
"url": "https://github.com/appium"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/appium/appium-desktop/issues"
},
"keywords": [
"appium"
],
"assetsPath": "assets",
"homepage": "https://github.com/appium/appium-desktop",
"main": "dist/main.js",
"scripts": {
"test": "run-s test:*",
"test:lint": "eslint app test",
"e2e": "cross-env E2E_TIMEOUT=600000 NODE_ENV=test RUNNING_IN_SPECTRON=true mocha --reporter mocha-multi-reporters --reporter-options configFile=./test/mochareporters.json ./test/e2e",
"build": "run-s build:prod:*",
"build:prod:main": "cross-env NODE_ENV=production parcel build --target node --public-url . --out-dir ./dist --out-file main.js ./app/main.js",
"build:prod:renderer": "cross-env NODE_ENV=production parcel build --no-content-hash --out-dir ./dist --target electron --public-url . ./app/renderer/*.html",
"watch": "concurrently \"npm run watch:main\" \"npm run watch:renderer\"",
"watch:main": "cross-env NODE_ENV=development parcel --target node --out-dir ./dist --out-file main.js ./app/main.js",
"watch:renderer": "cross-env NODE_ENV=development parcel --out-dir ./dist --target electron --public-url . ./app/renderer/*.html",
"start": "cross-env RUNNING_LOCALLY=true FORCE_NO_WRONG_FOLDER=true electron ./",
"clean": "run-s clean:*",
"clean:electron": "rimraf dist/ && rimraf .cache",
"clean:npm": "rimraf package-lock.json && rimraf node_modules && npm install",
"build:dev:main": "cross-env NODE_ENV=development parcel build --target node --out-dir ./dist --out-file main.js ./app/main.js",
"build:dev:renderer": "cross-env NODE_ENV=development parcel build --out-dir ./dist --target electron --public-url . ./app/renderer/*.html",
"start:dev": "cross-env RUNNING_LOCALLY=true FORCE_NO_WRONG_FOLDER=true NODE_ENV=development electron --inspect ./",
"dev": "cross-env NODE_ENV=development npm run build:dev:main && npm run build:dev:renderer && concurrently --kill-others \"npm run start:dev\" \"npm run watch:main\" \"npm run watch:renderer\" ",
"dev-wrong-folder": "cross-env WRONG_FOLDER=true npm run dev",
"postinstall": "git submodule update --init --recursive && node ./check-engines package.json package.json && rimraf node_modules/jimp/browser",
"postversion": "git pull --tags && git push && git push --tags",
"pre-commit": "npm run test:lint",
"pre-push": "npm test",
"crowdin-update": "node crowdin-update-resources.js",
"crowdin-sync": "node ./gui-common/crowdin-sync-translations.js"
},
"build": {
"productName": "Appium Server GUI",
"appId": "io.appium.desktop",
"asar": false,
"directories": {
"output": "release"
},
"mac": {
"category": "public.app-category.developer-tools",
"target": [
"dmg",
"zip"
]
},
"dmg": {
"artifactName": "${productName}-mac-${version}.${ext}",
"contents": [{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"files": [
"dist/",
"node_modules/**/*",
"main.js",
"main.js.map",
"package.json"
],
"win": {
"artifactName": "${productName}-windows-${version}.${ext}",
"target": [
"nsis",
"zip"
],
"icon": "build/icon.ico"
},
"nsisWeb": {
"oneClick": false
},
"nsis": {
"oneClick": false
},
"linux": {
"artifactName": "${productName}-linux-${version}.${ext}",
"target": [
"AppImage"
],
"category": "Development"
},
"publish": {
"provider": "github",
"owner": "appium",
"vPrefixedTagName": true
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"dependencies": {
"ansi-to-html": "^0.7.2",
"antd": "~4.16.1",
"appium": "1.22.3",
"appium-support": "^2.25.0",
"bluebird": "^3.5.5",
"connected-react-router": "^6.0.0",
"electron-debug": "^3.2.0",
"electron-log": "^4.4.0",
"electron-settings": "^2.2.4",
"electron-updater": "^4.2.0",
"fix-path": "^3.0.0",
"font-awesome": "4.x",
"history": "^4.7.2",
"i18next": "^21.9.0",
"i18next-node-fs-backend": "^2.1.1",
"lodash": "4.x",
"moment": "^2.20.1",
"prop-types": "^15.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.0.0",
"react-redux": "^7.0.0",
"react-router": "^5.0.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "2.x",
"request-promise": "^4.2.2",
"shell-env": "^3.0.0",
"source-map-support": "^0.5.0",
"temp": "0.x"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/eslint-parser": "^7.13.4",
"@babel/eslint-plugin": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.13",
"@babel/register": "^7.4.0",
"asyncbox": "^2.5.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"check-engines": "^1.5.0",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"devtron": "^1.4.0",
"dir-compare": "^3.3.0",
"electron": "^10.0",
"electron-builder": "^23.0.0",
"electron-devtools-installer": "^3.0.0",
"eslint-config-appium": "^4.5.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-native": "^4.0.0",
"husky": "^7.0.4",
"less": "^3.12.2",
"mocha": "^9.2.0",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.1.7",
"node-libs-browser": "^2.1.0",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.10.3",
"parcel-plugin-asset-copier": "^1.1.0",
"postcss-modules": "^1.5.0",
"release": "^6.0.1",
"request": "^2.88.2",
"rimraf": "^3.0.0",
"sinon": "^14.0.0",
"spectron": "^12.0"
},
"devEngines": {
"node": ">=12.x",
"npm": ">=6.x"
},
"engines": {
"node": ">=12.x",
"npm": ">=6.x"
}
}