forked from project-codeflare/codeflare-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 6.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "CodeFlare.app",
"version": "0.7.5",
"description": "",
"main": "dist/headless/codeflare.min.js",
"scripts": {
"watch:source": "tsc --build . --watch",
"compile": "npx tsc --build . && npx kui-babel && npx kui-prescan",
"compile:clean": "tsc --build tsconfig.json --clean",
"kill": "npm run kill:proxy; kill $(lsof -t -i:908${PORT_OFFSET-0}) > /dev/null 2> /dev/null || true",
"_watch": "bash -c \"npm run kill; export CSP_ALLOWED_HOSTS='http: https: data: filesystem: about: blob: ws: wss:'; kui-watch-webpack\"",
"watch:webpack": "bash -c \"npm run pty:nodejs && KUI_HEADLESS_WEBPACK=true npm run _watch $WATCH_ARGS\"",
"watch:electron": "bash -c \"npm run pty:electron && KUI_HEADLESS_WEBPACK=true TARGET=electron-renderer npm run _watch\"",
"watch": "bash -c \"npm run kill; npm run compile && concurrently -n ES6,WEBPACK --kill-others 'npm run watch:source' 'npm run watch:electron'\"",
"proxy": "export PORT=8081; export KUI_USE_HTTP=true; npm run pty:nodejs && npx kui-run-proxy",
"kill:proxy": "kill $(lsof -t -i:808${PORT_OFFSET-1}) > /dev/null 2> /dev/null || true",
"pty:rebuild": "kui-pty-rebuild",
"pty:electron": "npm run pty:rebuild electron",
"pty:nodejs": "npm run pty:rebuild node",
"prepare": "cross-env husky install",
"preprod": "npm run mirror",
"build:docker0": "docker build -t ghcr.io/project-codeflare/codeflare-cli .",
"build:docker": "NO_INSTALLER=true npm run build:electron:linux:amd64 && npm run build:docker0",
"docker:debug": "ENTRYPOINT=bash ./bin/codeflare -d",
"build:electron:mac:amd64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare PLATFORM=mac ARCH=x64 kui-build-electron",
"build:electron:mac:arm64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare PLATFORM=mac ARCH=arm64 kui-build-electron",
"build:electron:osx:amd64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare npm run build:electron:mac:amd64",
"build:electron:osx:arm64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare npm run build:electron:mac:arm64",
"build:electron:macOS:X64": "npm run build:electron:mac:amd64",
"build:electron:macOS:ARM64": "npm run build:electron:mac:arm64",
"build:electron:linux:amd64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare PLATFORM=linux ARCH=x64 kui-build-electron",
"build:electron:linux:arm64": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare PLATFORM=linux ARCH=arm64 kui-build-electron",
"build:electron:Linux:X64": "npm run build:electron:linux:amd64",
"build:electron:Linux:ARM64": "npm run build:electron:linux:armd64",
"build:electron:win32:amd64": "npm run preprod && cross-env KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare PLATFORM=win32 ARCH=x64 kui-build-electron",
"build:electron:Windows:X64": "npm run build:electron:win32:amd64",
"build:electron:all": "npm run preprod && KUI_HEADLESS_WEBPACK=true KUI_LAUNCHER=$PWD/bin/codeflare kui-build-electron",
"build": "npm run compile && webpack --mode production",
"postinstall": "npm run compile",
"format": "prettier --write '**/*.{scss,css,html,js,json,md,ts,tsx}'",
"lint": "eslint . --ext '**/*.{js,ts,tsx}'",
"open": "./bin/codeflare hello",
"start": "WATCH_ARGS='-open' npm run watch",
"mirror": "cross-env rm -rf tmp && cross-env git clone --depth=1 https://github.com/guidebooks/store.git $PWD/tmp/store && cross-env madwizard mirror $PWD/tmp/store/guidebooks $PWD/store && rm -rf tmp",
"mirror-if-needed": "if [ ! -d ./store ]; then npm run mirror; fi",
"test": "cross-env RUNNING_KUI_TEST=true playwright test --workers 1"
},
"keywords": [],
"author": "@starpit",
"license": "Apache-2.0",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"@typescript-eslint/no-unused-vars": "error"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
]
},
"eslintIgnore": [
"mdist",
"dist",
".#*",
"*~"
],
"lint-staged": {
"**/*.{scss,css,html,js,json,md,ts,tsx}": [
"prettier --write",
"git add"
],
"**/*.{js,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"prettier": {
"semi": false,
"printWidth": 120
},
"devDependencies": {
"@kui-shell/builder": "11.5.0-dev-20220801-133414",
"@kui-shell/proxy": "11.5.0-dev-20220801-133414",
"@kui-shell/react": "11.5.0-dev-20220801-133414",
"@kui-shell/webpack": "11.5.0-dev-20220801-133414",
"@playwright/test": "^1.24.2",
"@types/debug": "^4.1.7",
"@types/needle": "^2.5.3",
"@types/node": "14.11.8",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.11",
"@types/split2": "^3.2.1",
"@types/tmp": "^0.2.3",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"concurrently": "7.3.0",
"cross-env": "^7.0.3",
"electron": "18.3.6",
"eslint": "^8.20.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"playwright": "^1.24.2",
"prettier": "^2.7.1",
"slash": "^3.0.0",
"typescript": "4.7.4"
},
"dependencies": {
"@kui-shell/client": "file:./plugins/plugin-client-default",
"@kui-shell/core": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-bash-like": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-client-common": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-codeflare": "file:./plugins/plugin-codeflare",
"@kui-shell/plugin-core-support": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-electron-components": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-kubectl": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-madwizard": "file:./plugins/plugin-madwizard",
"@kui-shell/plugin-patternfly4-themes": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-proxy-support": "11.5.0-dev-20220801-133414",
"@kui-shell/plugin-s3": "11.5.0-dev-20220801-133414"
}
}