{ "name": "oui", "version": "0.0.0", "description": "", "main": "node_modules/@kui-shell/core/dist/main/main.js", "scripts": { "build:electron:mac": "KEEP_CLASSNAMES=true PLATFORM=mac kui-build-electron", "build:electron:linux": "KEEP_CLASSNAMES=true PLATFORM=linux kui-build-electron", "build:electron:win32": "KEEP_CLASSNAMES=true PLATFORM=win32 kui-build-electron", "build:electron:all": "kui-build-electron", "compile:cjs": "kui-compile", "compile:es6": "kui-compile tsconfig-es6.json", "compile": "npm run compile:cjs && npm run compile:es6", "watch:source": "concurrently 'tsc --build tsconfig-es6.json --watch' 'tsc --build tsconfig.json --watch'", "_watch": "npm run kill && kui-watch-webpack", "_webpack": "export CSP_ALLOWED_HOSTS=\"http://localhost:9953 ws://localhost:908${PORT_OFFSET-0} http://localhost:908${PORT_OFFSET-0}\"; npm run pty:nodejs && npm run _watch", "_webpackproxy": "npm run pty:nodejs && (npm run proxy &) && npm run _watch", "_electron": "npm run pty:electron && TARGET=electron-renderer npm run _watch", "watch": "npm run compile && concurrently -n EJS,ES6,WEBPACK --kill-others 'tsc --build tsconfig.json --watch' 'npm run watch:source' 'npm run _electron'", "watch:webpack": "npm run compile && concurrently -n EJS,ES6,WEBPACK --kill-others 'tsc --build tsconfig.json --watch' 'npm run watch:source' 'npm run _webpack'", "watch:webpackproxy": "npm run compile && concurrently -n EJS,ES6,WEBPACK --kill-others 'tsc --build tsconfig.json --watch' 'npm run watch:source' 'npm run _webpackproxy'", "kill": "kill $(lsof -t -i:908${PORT_OFFSET-0}) > /dev/null 2> /dev/null || true", "proxy": "if [ -z \"$TRAVIS_JOB_ID\" ]; then npm run -s pty:nodejs; fi; kui-run-proxy", "pty:rebuild": "if [ -d node_modules/node-pty-prebuilt-multiarch ]; then cd node_modules/node-pty-prebuilt-multiarch && npm run install; fi", "pty:electron": "if [ -d node_modules/node-pty-prebuilt-multiarch ]; then if [ ! -e node_modules/node-pty-prebuilt-multiarch/.npmrc ]; then cp node_modules/@kui-shell/builder/npmrc node_modules/node-pty-prebuilt-multiarch/.npmrc && npm run pty:rebuild; fi; fi", "pty:nodejs": "if [ -e node_modules/node-pty-prebuilt-multiarch/.npmrc ]; then rm -f node_modules/node-pty-prebuilt-multiarch/.npmrc; npm run pty:rebuild; fi", "test:electron": "npm run kill && npm run _electron && KUI=$(echo \"$(pwd)/bin/oui-ascii\") kui-testv2", "test:webpack": "export PORT_OFFSET=${PORT_OFFSET-0}; npm run kill && npm run _webpack && MOCHA_RUN_TARGET=webpack kui-testv2", "test": "npm run -s test:electron", "lint": "eslint '**/*.{js,ts}'", "format": "prettier --write '**/*.{css,html,js,json,md,ts}'", "postinstall": "npm run -s compile && npm run -s pty:electron", "update": "ncu -u -x \"@types/yargs-parser,husky,electron,spectron,@types/webdriverio\" && for i in plugins/*; do (cd $i && ncu -u -x electron,spectron,@types/webdriverio && rm -rf node_modules); done && rm -rf node_modules/ package-lock.json && npm install", "open": "electron . shell", "start": "echo \"use 'npm run watch' followed by 'npm run open'\"" }, "engines": { "node": ">=8.15.0", "npm": ">=5.7.1" }, "repository": { "type": "git", "url": "git@github.com:kui-shell/oui.git" }, "keywords": [ "openwhisk", "cli", "ui", "kui" ], "author": "@starpit", "contributors": [ "Mengting Yan" ], "license": "Apache-2.0", "devDependencies": { "@kui-shell/builder": "6.0.5", "@kui-shell/test": "6.0.5", "@kui-shell/webpack": "6.0.5", "@types/mocha": "5.2.7", "@types/node": "13.5.1", "@types/swagger-schema-official": "^2.0.20", "@types/uuid": "3.4.7", "@types/webdriverio": "4.13.3", "@typescript-eslint/eslint-plugin": "2.18.0", "@typescript-eslint/parser": "2.18.0", "concurrently": "5.1.0", "electron": "6.1.7", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.20.0", "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "husky": "3.1.0", "lint-staged": "10.0.3", "mocha": "7.0.1", "prettier": "1.19.1", "request-promise": "^4.2.5", "spectron": "8.0.0", "typescript": "3.7.5" }, "dependencies": { "@kui-shell/core": "6.0.5", "@kui-shell/plugin-bash-like": "6.0.5", "@kui-shell/plugin-client-common": "6.0.5", "@kui-shell/plugin-client-default": "6.0.5", "@kui-shell/plugin-core-support": "6.0.5", "@kui-shell/plugin-core-themes": "6.0.5", "@kui-shell/plugin-editor": "6.0.5", "@kui-shell/plugin-wskflow": "6.0.5", "@kui-shell/client": "file:plugins/plugin-oui-client", "@kui-shell/plugin-apache-composer": "file:plugins/plugin-apache-composer", "@kui-shell/plugin-grid": "file:plugins/plugin-grid", "@kui-shell/plugin-openwhisk": "file:plugins/plugin-openwhisk", "@kui-shell/plugin-openwhisk-editor-extensions": "file:plugins/plugin-openwhisk-editor-extensions" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.{css,html,js,json,md,ts}": [ "prettier --write", "git add" ], "**/*.{js,ts}": [ "eslint --fix", "git add" ] }, "release-it": { "git": { "commit": false, "tag": false, "push": false, "requireUpstream": false }, "npm": { "publish": false }, "github": { "release": true, "releaseNotes": "git log --pretty=format:\"* %s (%h)\" v${latestVersion}...HEAD", "assets": [ "./dist/electron/Oui-darwin-x64.tar.bz2", "./dist/electron/Oui-linux-x64.zip", "./dist/electron/Oui-win32-x64.zip" ] }, "hooks": { "before:init": "if [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then sudo apt-get update && sudo apt-get install wine; fi; npm run build:electron:all" } } }