├── .gitignore
├── README.md
├── nodegui
├── .gitkeep
├── calculator
│ ├── .gitignore
│ ├── README.md
│ ├── calculator_linux.png
│ ├── calculator_mac.png
│ ├── calculator_win.jpg
│ ├── package-lock.json
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ ├── tsconfig.json
│ └── webpack.config.js
├── clipboard-image
│ ├── .gitignore
│ ├── README.md
│ ├── assets.d.ts
│ ├── package-lock.json
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ ├── tsconfig.json
│ └── webpack.config.js
├── custom-native-widget-qpainter
│ ├── .gitignore
│ ├── README.md
│ ├── assets
│ │ └── analog-clock.gif
│ ├── package-lock.json
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ ├── tsconfig.json
│ └── webpack.config.js
├── password-generator
│ └── README.md
└── systray
│ ├── .gitignore
│ ├── README.md
│ ├── assets
│ ├── nodegui_white.png
│ └── systray-example.gif
│ ├── package-lock.json
│ ├── package.json
│ ├── src
│ └── index.ts
│ ├── tsconfig.json
│ └── webpack.config.js
└── react-nodegui
├── SystemUtility
└── README.md
├── calculator
├── README.md
├── calculator_linux.png
├── calculator_mac.png
├── calculator_win.jpg
├── index.tsx
├── package-lock.json
├── package.json
└── tsconfig.json
├── image-view
├── README.md
├── image_view_linux.png
├── image_view_mac.png
├── image_view_win.jpg
├── index.tsx
├── package-lock.json
├── package.json
└── tsconfig.json
├── react-router-example
├── .babelrc
├── .gitignore
├── README.md
├── assets.d.ts
├── assets
│ └── routes.gif
├── package-lock.json
├── package.json
├── src
│ ├── app.tsx
│ ├── index.tsx
│ ├── pages
│ │ ├── About.tsx
│ │ └── Home.tsx
│ └── routes.tsx
├── tsconfig.json
└── webpack.config.js
└── weather-app-widget
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── src
├── assets
│ └── icons
│ │ ├── 01d.png
│ │ ├── 01n.png
│ │ ├── 02d.png
│ │ ├── 02n.png
│ │ ├── 03d.png
│ │ ├── 03n.png
│ │ ├── 04d.png
│ │ ├── 04n.png
│ │ ├── 09d.png
│ │ ├── 09n.png
│ │ ├── 10d.png
│ │ ├── 10n.png
│ │ ├── 11d.png
│ │ ├── 11n.png
│ │ ├── 13d.png
│ │ ├── 13n.png
│ │ ├── 50d.png
│ │ ├── 50n.png
│ │ └── na.png
├── components
│ ├── PlaceDate.tsx
│ ├── Summary.tsx
│ ├── TemperatureBox.tsx
│ └── WeatherIcon.tsx
├── index.tsx
└── utils
│ ├── helpers.ts
│ └── weather.ts
├── tsconfig.json
└── weather_widget_mac.png
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # examples
2 |
3 | Repo containing example apps made with NodeGUI and React NodeGUI
4 |
--------------------------------------------------------------------------------
/nodegui/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/.gitkeep
--------------------------------------------------------------------------------
/nodegui/calculator/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
4 | .vscode
--------------------------------------------------------------------------------
/nodegui/calculator/README.md:
--------------------------------------------------------------------------------
1 | # Calculator app
2 |
3 | This example showcases how to build a basic calculator clone.
4 |
5 | ### Screenshots
6 |
7 | **Linux**
8 |
9 |
10 |
11 | **Windows**
12 |
13 |
14 |
15 | **Mac:**
16 |
17 |
18 |
19 | To run the demo:
20 |
21 | 0. `cd calculator`
22 |
23 | 1. `npm install`
24 |
25 | 1. `npm start`
26 |
--------------------------------------------------------------------------------
/nodegui/calculator/calculator_linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/calculator/calculator_linux.png
--------------------------------------------------------------------------------
/nodegui/calculator/calculator_mac.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/calculator/calculator_mac.png
--------------------------------------------------------------------------------
/nodegui/calculator/calculator_win.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/calculator/calculator_win.jpg
--------------------------------------------------------------------------------
/nodegui/calculator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "calculator",
3 | "version": "1.0.0",
4 | "description": "This example showcases how to build a basic calculator clone.",
5 | "main": "index.js",
6 | "author": "Atul R ",
7 | "license": "MIT",
8 | "private": true,
9 | "scripts": {
10 | "build": "webpack -p",
11 | "start": "webpack && qode ./dist/index.js",
12 | "debug": "webpack && qode --inspect ./dist/index.js"
13 | },
14 | "dependencies": {
15 | "@nodegui/nodegui": "^0.6.5"
16 | },
17 | "devDependencies": {
18 | "@types/node": "^12.12.8",
19 | "file-loader": "^4.2.0",
20 | "node-loader": "^0.6.0",
21 | "ts-loader": "^6.2.1",
22 | "typescript": "^3.7.2",
23 | "webpack": "^4.41.2",
24 | "webpack-cli": "^3.3.10"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/nodegui/calculator/src/index.ts:
--------------------------------------------------------------------------------
1 | import {
2 | QMainWindow,
3 | QPushButton,
4 | QPushButtonEvents,
5 | QWidget,
6 | QKeyEvent,
7 | FlexLayout,
8 | QLabel,
9 | BaseWidgetEvents,
10 | NativeElement
11 | } from "@nodegui/nodegui";
12 |
13 | // ===============
14 | // UI AND DESIGN
15 | // ===============
16 | const getButton = (
17 | label: string,
18 | value: number | string,
19 | type: "value" | "command"
20 | ) => {
21 | const button = new QPushButton();
22 | button.setText(label);
23 | button.setObjectName(`btn${value}`);
24 | button.addEventListener(QPushButtonEvents.clicked, () => {
25 | onBtnClick(value, type);
26 | });
27 | return {
28 | ui: button,
29 | value,
30 | type
31 | };
32 | };
33 |
34 | // Main Window
35 | const win = new QMainWindow();
36 | win.setFixedSize(230, 300);
37 |
38 | // Root view
39 | const rootView = new QWidget();
40 | win.addEventListener(
41 | BaseWidgetEvents.KeyRelease,
42 | (nativeEvent: NativeElement) => {
43 | const keyEvt = new QKeyEvent(nativeEvent);
44 | const text = keyEvt.text();
45 | const isNotNumber = isNaN(parseInt(text));
46 | onBtnClick(text, isNotNumber ? "command" : "value");
47 | }
48 | );
49 | rootView.setObjectName("rootView"); //This is like ids in web world
50 | win.setCentralWidget(rootView);
51 | const rootStyleSheet = `
52 | * {
53 | font-size: 20px;
54 | color: white;
55 | }
56 |
57 | QPushButton {
58 | min-width: '25%';
59 | height: 60px;
60 | border: 1px solid black;
61 | }
62 |
63 | QPushButton:pressed {
64 | background: grey;
65 | }
66 |
67 | #rootView {
68 | flex: 1;
69 | flex-direction: column;
70 | }
71 |
72 | #btnAC {
73 | min-width: '25%';
74 | border-right: 2px solid black;
75 | }
76 |
77 | #resultText {
78 | flex: 1;
79 | qproperty-alignment: 'AlignRight|AlignVCenter';
80 | padding-right: 5px;
81 | font-size: 40px;
82 | }
83 |
84 | #row0,#row1,#row2,#row3,#row4 {
85 | flex: 1;
86 | justify-content: space-between;
87 | flex-direction: row;
88 | }
89 |
90 | #row0 * {
91 | background: #1E1E1E;
92 | }
93 |
94 | #row0 QPushButton:pressed {
95 | background: grey;
96 | }
97 |
98 | #row1 QPushButton {
99 | background: #2E2E2E;
100 | }
101 |
102 | #row1 QPushButton:pressed {
103 | background: grey;
104 | }
105 |
106 |
107 | #row2 QPushButton, #row2 QPushButton, #row3 QPushButton, #row4 QPushButton {
108 | background: #4B4B4B;
109 | }
110 |
111 | #row2 QPushButton:pressed, #row2 QPushButton:pressed, #row3 QPushButton:pressed, #row4 QPushButton:pressed {
112 | background: grey;
113 | }
114 | `;
115 |
116 | const operatorStyleSheet = `
117 | QPushButton {
118 | background: #FD8D0E;
119 | }
120 |
121 | QPushButton:pressed {
122 | background: grey;
123 | }
124 | `;
125 |
126 | rootView.setStyleSheet(rootStyleSheet);
127 | const rootViewFlexLayout = new FlexLayout();
128 | rootViewFlexLayout.setFlexNode(rootView.getFlexNode());
129 | rootView.setLayout(rootViewFlexLayout);
130 |
131 | // Top Row
132 | const btnClear = getButton("AC", "AC", "command");
133 | const resultText = new QLabel();
134 | resultText.setObjectName("resultText");
135 | resultText.setText(0);
136 | const row0 = new QWidget();
137 | row0.setObjectName("row0");
138 |
139 | const row0Layout = new FlexLayout();
140 | row0Layout.setFlexNode(row0.getFlexNode());
141 | row0.setLayout(row0Layout);
142 | row0Layout.addWidget(btnClear.ui, btnClear.ui.getFlexNode());
143 | row0Layout.addWidget(resultText, resultText.getFlexNode());
144 |
145 | // First Row
146 | const btn7 = getButton("7", 7, "value");
147 | const btn8 = getButton("8", 8, "value");
148 | const btn9 = getButton("9", 9, "value");
149 | const btnDivide = getButton("/", "/", "command");
150 | btnDivide.ui.setStyleSheet(operatorStyleSheet);
151 | const row1 = new QWidget();
152 | row1.setObjectName("row1");
153 | const row1Layout = new FlexLayout();
154 | row1Layout.setFlexNode(row1.getFlexNode());
155 | row1Layout.addWidget(btn7.ui, btn7.ui.getFlexNode());
156 | row1Layout.addWidget(btn8.ui, btn8.ui.getFlexNode());
157 | row1Layout.addWidget(btn9.ui, btn9.ui.getFlexNode());
158 | row1Layout.addWidget(btnDivide.ui, btnDivide.ui.getFlexNode());
159 | row1.setLayout(row1Layout);
160 |
161 | // Second Row
162 | const btn4 = getButton("4", 4, "value");
163 | const btn5 = getButton("5", 5, "value");
164 | const btn6 = getButton("6", 6, "value");
165 | const btnMultiply = getButton("x", "*", "command");
166 | btnMultiply.ui.setStyleSheet(operatorStyleSheet);
167 | const row2 = new QWidget();
168 | row2.setObjectName("row2");
169 | const row2Layout = new FlexLayout();
170 | row2Layout.setFlexNode(row2.getFlexNode());
171 | row2Layout.addWidget(btn4.ui, btn4.ui.getFlexNode());
172 | row2Layout.addWidget(btn5.ui, btn5.ui.getFlexNode());
173 | row2Layout.addWidget(btn6.ui, btn6.ui.getFlexNode());
174 | row2Layout.addWidget(btnMultiply.ui, btnMultiply.ui.getFlexNode());
175 | row2.setLayout(row2Layout);
176 |
177 | // Third Row
178 | const btn1 = getButton("1", 1, "value");
179 | const btn2 = getButton("2", 2, "value");
180 | const btn3 = getButton("3", 3, "value");
181 | const btnMinus = getButton("-", "-", "command");
182 | btnMinus.ui.setStyleSheet(operatorStyleSheet);
183 |
184 | const row3 = new QWidget();
185 | row3.setObjectName("row3");
186 |
187 | const row3Layout = new FlexLayout();
188 | row3Layout.setFlexNode(row3.getFlexNode());
189 | row3Layout.addWidget(btn1.ui, btn1.ui.getFlexNode());
190 | row3Layout.addWidget(btn2.ui, btn2.ui.getFlexNode());
191 | row3Layout.addWidget(btn3.ui, btn3.ui.getFlexNode());
192 | row3Layout.addWidget(btnMinus.ui, btnMinus.ui.getFlexNode());
193 | row3.setLayout(row3Layout);
194 |
195 | // Fourth Row
196 | const btn0 = getButton("0", 0, "value");
197 | const btnDot = getButton(".", ".", "command");
198 | const btnEquals = getButton("=", "=", "command");
199 | const btnPlus = getButton("+", "+", "command");
200 | btnPlus.ui.setStyleSheet(operatorStyleSheet);
201 |
202 | const row4 = new QWidget();
203 | row4.setObjectName("row4");
204 | const row4Layout = new FlexLayout();
205 | row4Layout.setFlexNode(row4.getFlexNode());
206 | row4Layout.addWidget(btn0.ui, btn0.ui.getFlexNode());
207 | row4Layout.addWidget(btnDot.ui, btnDot.ui.getFlexNode());
208 | row4Layout.addWidget(btnEquals.ui, btnEquals.ui.getFlexNode());
209 | row4Layout.addWidget(btnPlus.ui, btnPlus.ui.getFlexNode());
210 | row4.setLayout(row4Layout);
211 |
212 | // Add to root view
213 | rootViewFlexLayout.addWidget(row0, row0.getFlexNode());
214 | rootViewFlexLayout.addWidget(row1, row1.getFlexNode());
215 | rootViewFlexLayout.addWidget(row2, row2.getFlexNode());
216 | rootViewFlexLayout.addWidget(row3, row3.getFlexNode());
217 | rootViewFlexLayout.addWidget(row4, row4.getFlexNode());
218 |
219 | win.show();
220 |
221 | (global as any).win = win; //to keep gc from collecting ui widgets
222 |
223 | // ========================
224 | // CALC APP LOGIC - LOGIC
225 | // ========================
226 | // This is probably the worst calculator logic ever but the purpose of demo is to showcase the UI and not the js logic.
227 | // Read ahead of this line at your own risk.
228 |
229 | let displayText = "0";
230 | let currentInputString = "";
231 | let total = 0;
232 | let previousOperator = "+";
233 |
234 | var onBtnClick = (value: number | string, type: "value" | "command") => {
235 | if (
236 | ![
237 | "0",
238 | "1",
239 | "2",
240 | "3",
241 | "4",
242 | "5",
243 | "6",
244 | "7",
245 | "8",
246 | "9",
247 | "+",
248 | "-",
249 | "/",
250 | "*",
251 | "=",
252 | "AC"
253 | ].includes(`${value}`)
254 | ) {
255 | return;
256 | }
257 | if (type === "value" || value === ".") {
258 | currentInputString += value;
259 | displayText = currentInputString;
260 | } else {
261 | const currentInput = parseFloat(currentInputString || "0");
262 | if (!previousOperator) {
263 | if (currentInputString) {
264 | total = currentInput;
265 | }
266 | }
267 | if (!currentInputString && value === "=") {
268 | previousOperator = "+";
269 | }
270 | switch (previousOperator) {
271 | case "+": {
272 | total += currentInput;
273 | break;
274 | }
275 | case "-": {
276 | total -= currentInput;
277 | break;
278 | }
279 | case "*": {
280 | total *= currentInput;
281 | break;
282 | }
283 | case "/": {
284 | total /= currentInput;
285 | break;
286 | }
287 | }
288 | currentInputString = "";
289 |
290 | if (value === "=") {
291 | displayText = String(total);
292 | previousOperator = "";
293 | } else {
294 | previousOperator = String(value);
295 | displayText = previousOperator;
296 | }
297 | }
298 |
299 | if (value === "AC") {
300 | displayText = "0";
301 | currentInputString = "";
302 | total = 0;
303 | previousOperator = "+";
304 | }
305 |
306 | if (Number.isNaN(total)) {
307 | total = 0;
308 | displayText = "Error";
309 | }
310 |
311 | // SET THE FINAL TEXT
312 | resultText.setText(displayText);
313 | };
314 |
--------------------------------------------------------------------------------
/nodegui/calculator/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "incremental": true,
4 | "target": "es2016",
5 | "module": "commonjs",
6 | "allowJs": true,
7 | "checkJs": false,
8 | "outDir": "./dist",
9 | "sourceMap": true,
10 | "strict": true,
11 | "alwaysStrict": true,
12 | "moduleResolution": "node",
13 | "esModuleInterop": true
14 | },
15 | "include": ["**/*"]
16 | }
17 |
--------------------------------------------------------------------------------
/nodegui/calculator/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require("path");
2 |
3 | module.exports = {
4 | mode: process.NODE_ENV || "development",
5 | entry: "./src",
6 | target: "node",
7 | output: {
8 | path: path.resolve(__dirname, "dist"),
9 | filename: "index.js"
10 | },
11 | module: {
12 | rules: [
13 | {
14 | test: /\.tsx?$/,
15 | use: "ts-loader",
16 | exclude: /node_modules/
17 | },
18 | {
19 | test: /\.(png|jpe?g|gif|svg)$/i,
20 | use: [{ loader: "file-loader" }]
21 | },
22 | {
23 | test: /\.node/i,
24 | use: [
25 | { loader: "node-loader" },
26 | {
27 | loader: "file-loader",
28 | options: {
29 | name: "[name].[ext]"
30 | }
31 | }
32 | ]
33 | }
34 | ]
35 | },
36 | resolve: {
37 | extensions: [".tsx", ".ts", ".js"]
38 | }
39 | };
40 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
4 | .vscode
--------------------------------------------------------------------------------
/nodegui/clipboard-image/README.md:
--------------------------------------------------------------------------------
1 | # Clipboard image reading and writing app
2 |
3 | This example showcases how to build a nodegui app that can read and write images to clipboard.
4 |
5 | To run the demo:
6 |
7 | 0. `cd clipboard-image`
8 |
9 | 1. `npm install`
10 |
11 | 1. `npm start`
12 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/assets.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.svg";
2 | declare module "*.png";
3 | declare module "*.jpg";
4 | declare module "*.jpeg";
5 | declare module "*.gif";
6 | declare module "*.bmp";
7 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodegui-starter",
3 | "version": "1.0.0",
4 | "main": "index.js",
5 | "author": "Atul R ",
6 | "license": "MIT",
7 | "private": true,
8 | "scripts": {
9 | "build": "webpack -p",
10 | "start": "webpack && qode ./dist/index.js",
11 | "debug": "webpack && qode --inspect ./dist/index.js"
12 | },
13 | "dependencies": {
14 | "@nodegui/nodegui": "^0.16.0"
15 | },
16 | "devDependencies": {
17 | "@nodegui/packer": "^1.4.0",
18 | "@types/node": "^13.7.7",
19 | "clean-webpack-plugin": "^3.0.0",
20 | "file-loader": "^5.1.0",
21 | "native-addon-loader": "^2.0.1",
22 | "ts-loader": "^6.2.1",
23 | "typescript": "^3.8.3",
24 | "webpack": "^4.42.0",
25 | "webpack-cli": "^3.3.11"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/src/index.ts:
--------------------------------------------------------------------------------
1 | import {
2 | QMainWindow,
3 | QWidget,
4 | QPushButton,
5 | QLineEdit,
6 | FlexLayout,
7 | QApplication,
8 | QClipboardMode,
9 | QLabel,
10 | QPixmap
11 | } from "@nodegui/nodegui";
12 |
13 | const win = new QMainWindow();
14 | const center = new QWidget();
15 | const label = new QLabel();
16 | const textInput = new QLineEdit();
17 | const getBtn = new QPushButton();
18 | const setBtn = new QPushButton();
19 |
20 | //----------
21 | label.setText(
22 | "Copy any image onto the clipboard and click `Get clipbard image button`"
23 | );
24 | getBtn.setText("Get clipboard image");
25 | getBtn.addEventListener("clicked", () => {
26 | const clip = QApplication.clipboard();
27 | const pixmap = clip.pixmap(QClipboardMode.Clipboard);
28 | label.setPixmap(pixmap);
29 | });
30 |
31 | //--------------
32 | textInput.setPlaceholderText(
33 | "Enter absolute image path to load into clipboard"
34 | );
35 | setBtn.setText("Set clipboard image");
36 | setBtn.addEventListener("clicked", () => {
37 | const clip = QApplication.clipboard();
38 | const pixmap = new QPixmap();
39 | pixmap.load(textInput.text());
40 | clip.setPixmap(pixmap, QClipboardMode.Clipboard);
41 | label.setText(`Loaded image at ${textInput.text()} to global clipboard`);
42 | });
43 |
44 | center.setLayout(new FlexLayout());
45 | center.layout?.addWidget(textInput);
46 | center.layout?.addWidget(setBtn);
47 | center.layout?.addWidget(getBtn);
48 | center.layout?.addWidget(label);
49 | center.setInlineStyle(`width: 400; height: 400;`);
50 | win.setCentralWidget(center);
51 | win.show();
52 | win.setFixedSize(400, 400);
53 | (global as any).win = win;
54 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "incremental": true,
4 | "target": "es2016",
5 | "module": "commonjs",
6 | "allowJs": true,
7 | "checkJs": false,
8 | "outDir": "./dist",
9 | "sourceMap": true,
10 | "strict": true,
11 | "alwaysStrict": true,
12 | "moduleResolution": "node",
13 | "esModuleInterop": true
14 | },
15 | "include": ["**/*"]
16 | }
17 |
--------------------------------------------------------------------------------
/nodegui/clipboard-image/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require("path");
2 | const { CleanWebpackPlugin } = require("clean-webpack-plugin");
3 |
4 | module.exports = {
5 | mode: process.NODE_ENV || "development",
6 | entry: "./src",
7 | target: "node",
8 | output: {
9 | path: path.resolve(__dirname, "dist"),
10 | filename: "index.js"
11 | },
12 | module: {
13 | rules: [
14 | {
15 | test: /\.tsx?$/,
16 | use: "ts-loader",
17 | exclude: /node_modules/
18 | },
19 | {
20 | test: /\.(png|jpe?g|gif|svg)$/i,
21 | use: [
22 | {
23 | loader: "file-loader",
24 | options: { publicPath: "dist" }
25 | }
26 | ]
27 | },
28 | {
29 | test: /\.node$/,
30 | use: [
31 | {
32 | loader: "native-addon-loader",
33 | options: { name: "[name]-[hash].[ext]" }
34 | }
35 | ]
36 | }
37 | ]
38 | },
39 | resolve: {
40 | extensions: [".tsx", ".ts", ".js", ".jsx"]
41 | },
42 | plugins: [new CleanWebpackPlugin()]
43 | };
44 |
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
4 | .vscode
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/README.md:
--------------------------------------------------------------------------------
1 | # Custom Native Widget built using QPainter from NodeGui
2 |
3 | An example of powerful QPainter from Qt in NodeGui that you can use to build completely custom native widgets using Javascript.
4 | The example showcases how to build a widget that looks and behaves like an analog clock.
5 |
6 | **PS: Keep in mind the whole clock in just one single widget**
7 |
8 | ### Screenshots
9 |
10 |
11 |
12 | ## To Use
13 |
14 | To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer.
15 |
16 | Make sure you have met the requirements listed here: https://docs.nodegui.org/#/tutorial/development-environment
17 |
18 | From your command line:
19 |
20 | ```bash
21 | # Install dependencies
22 | npm install
23 | # Run the app
24 | npm start
25 | ```
26 |
27 | ## Resources for Learning NodeGUI
28 |
29 | - [docs.nodegui.org](https://nodegui.github.io/nodegui) - all of NodeGui and React Desktop's documentation
30 |
31 | ## Extra info
32 |
33 | This is a javascript version of QPainter example using NodeGui from here: https://doc.qt.io/qt-5/qtgui-analogclock-example.html
34 |
35 | ## License
36 |
37 | MIT
38 |
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/assets/analog-clock.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/custom-native-widget-qpainter/assets/analog-clock.gif
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodegui-starter",
3 | "version": "1.0.0",
4 | "main": "index.js",
5 | "author": "Atul R ",
6 | "license": "MIT",
7 | "private": true,
8 | "scripts": {
9 | "build": "webpack -p",
10 | "start": "webpack && qode ./dist/index.js",
11 | "debug": "webpack && qode --inspect ./dist/index.js"
12 | },
13 | "dependencies": {
14 | "@nodegui/nodegui": "^0.13.0"
15 | },
16 | "devDependencies": {
17 | "@types/node": "^12.12.17",
18 | "file-loader": "^5.0.2",
19 | "node-loader": "^0.6.0",
20 | "ts-loader": "^6.2.1",
21 | "typescript": "^3.7.3",
22 | "webpack": "^4.41.3",
23 | "webpack-cli": "^3.3.10"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/src/index.ts:
--------------------------------------------------------------------------------
1 | import {
2 | FlexLayout,
3 | PenStyle,
4 | QColor,
5 | QMainWindow,
6 | QPainter,
7 | QPoint,
8 | QWidget,
9 | RenderHint,
10 | WidgetEventTypes
11 | } from "@nodegui/nodegui";
12 |
13 | const win = new QMainWindow();
14 | const center = new QWidget();
15 | const layout = new FlexLayout();
16 | const hourHand = [new QPoint(7, 8), new QPoint(-7, 8), new QPoint(0, -40)];
17 | const minuteHand = [new QPoint(7, 8), new QPoint(-7, 8), new QPoint(0, -70)];
18 | const secondHand = [new QPoint(4, 8), new QPoint(-4, 8), new QPoint(0, -70)];
19 | const hourColor = new QColor(127, 0, 127);
20 | const minuteColor = new QColor(0, 127, 127, 191);
21 | const secondColor = new QColor(0, 0, 0);
22 |
23 | center.setLayout(layout);
24 | win.setWindowTitle("Analog Clock");
25 | win.resize(200, 200);
26 | const side = Math.min(win.geometry().width(), win.geometry().height());
27 |
28 | function repaint(): void {
29 | win.repaint();
30 | setTimeout(repaint, 1000);
31 | }
32 |
33 | setTimeout(repaint, 1000);
34 | win.addEventListener(WidgetEventTypes.Paint, () => {
35 | const time = new Date();
36 |
37 | const painter = new QPainter(win);
38 | painter.setRenderHint(RenderHint.Antialiasing);
39 | painter.translate(win.geometry().width() / 2, win.geometry().height() / 2);
40 | painter.scale(side / 200.0, side / 200.0);
41 |
42 | painter.setPen(PenStyle.NoPen);
43 | painter.setBrush(hourColor);
44 |
45 | painter.save();
46 | painter.rotate(30.0 * (time.getHours() + time.getMinutes() / 60.0));
47 | painter.drawConvexPolygon(hourHand);
48 | painter.restore();
49 |
50 | painter.setPen(hourColor);
51 |
52 | for (let i = 0; i < 12; ++i) {
53 | painter.drawLine(88, 0, 96, 0);
54 | painter.rotate(30.0);
55 | }
56 |
57 | painter.setPen(PenStyle.NoPen);
58 | painter.setBrush(minuteColor);
59 |
60 | painter.save();
61 | painter.rotate(6.0 * (time.getMinutes() + time.getSeconds() / 60.0));
62 | painter.drawConvexPolygon(minuteHand);
63 | painter.restore();
64 |
65 | painter.setBrush(secondColor);
66 | painter.setPen(PenStyle.NoPen);
67 |
68 | painter.save();
69 | painter.rotate(360 * (time.getSeconds() / 60.0));
70 | painter.drawConvexPolygon(secondHand);
71 | painter.restore();
72 |
73 | painter.setPen(minuteColor);
74 | for (let j = 0; j < 60; ++j) {
75 | if (j % 5 != 0) {
76 | painter.drawLine(92, 0, 96, 0);
77 | }
78 | painter.rotate(6.0);
79 | }
80 | painter.end();
81 | });
82 | win.show();
83 | (global as any).win = win;
84 |
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "incremental": true,
4 | "target": "es2016",
5 | "module": "commonjs",
6 | "allowJs": true,
7 | "checkJs": false,
8 | "outDir": "./dist",
9 | "sourceMap": true,
10 | "strict": true,
11 | "alwaysStrict": true,
12 | "moduleResolution": "node",
13 | "esModuleInterop": true
14 | },
15 | "include": ["**/*"]
16 | }
17 |
--------------------------------------------------------------------------------
/nodegui/custom-native-widget-qpainter/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require("path");
2 |
3 | module.exports = {
4 | mode: process.NODE_ENV || "development",
5 | entry: "./src",
6 | target: "node",
7 | output: {
8 | path: path.resolve(__dirname, "dist"),
9 | filename: "index.js"
10 | },
11 | module: {
12 | rules: [
13 | {
14 | test: /\.tsx?$/,
15 | use: "ts-loader",
16 | exclude: /node_modules/
17 | },
18 | {
19 | test: /\.(png|jpe?g|gif|svg)$/i,
20 | use: [{ loader: "file-loader" }]
21 | },
22 | {
23 | test: /\.node/i,
24 | use: [
25 | { loader: "node-loader" },
26 | {
27 | loader: "file-loader",
28 | options: {
29 | name: "[name].[ext]"
30 | }
31 | }
32 | ]
33 | }
34 | ]
35 | },
36 | resolve: {
37 | extensions: [".tsx", ".ts", ".js"]
38 | }
39 | };
40 |
--------------------------------------------------------------------------------
/nodegui/password-generator/README.md:
--------------------------------------------------------------------------------
1 | # Password generator
2 |
3 | A password generator app built with NodeGUI by [James Hibbard](https://github.com/jameshibbard)
4 |
5 | Link: https://github.com/jameshibbard/nodegui-password-generator
6 |
7 |
8 | 
9 |
--------------------------------------------------------------------------------
/nodegui/systray/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
4 | .vscode
--------------------------------------------------------------------------------
/nodegui/systray/README.md:
--------------------------------------------------------------------------------
1 | # Systray app
2 |
3 | This example showcases how to build a nodegui app that runs on systray. Also, shows how to show/hide a window from systray.
4 |
5 | ### Screenshots
6 |
7 |
8 |
9 | To run the demo:
10 |
11 | 0. `cd systray`
12 |
13 | 1. `npm install`
14 |
15 | 1. `npm start`
16 |
--------------------------------------------------------------------------------
/nodegui/systray/assets/nodegui_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/systray/assets/nodegui_white.png
--------------------------------------------------------------------------------
/nodegui/systray/assets/systray-example.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/nodegui/systray/assets/systray-example.gif
--------------------------------------------------------------------------------
/nodegui/systray/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodegui-starter",
3 | "version": "1.0.0",
4 | "main": "index.js",
5 | "author": "Atul R ",
6 | "license": "MIT",
7 | "private": true,
8 | "scripts": {
9 | "build": "webpack -p",
10 | "start": "webpack && qode ./dist/index.js",
11 | "debug": "webpack && qode --inspect ./dist/index.js"
12 | },
13 | "dependencies": {
14 | "@nodegui/nodegui": "^0.15.3",
15 | "@nodegui/os-utils": "^1.1.2"
16 | },
17 | "devDependencies": {
18 | "@types/node": "^13.9.1",
19 | "file-loader": "^4.2.0",
20 | "node-loader": "^0.6.0",
21 | "ts-loader": "^6.2.1",
22 | "typescript": "^3.8.3",
23 | "webpack": "^4.42.0",
24 | "webpack-cli": "^3.3.11"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/nodegui/systray/src/index.ts:
--------------------------------------------------------------------------------
1 | import {
2 | QKeySequence,
3 | QApplication,
4 | QMainWindow,
5 | QMenu,
6 | QIcon,
7 | QSystemTrayIcon,
8 | QAction
9 | } from "@nodegui/nodegui";
10 | import path from "path";
11 | import { Dock } from "@nodegui/os-utils";
12 | const icon = require("../assets/nodegui_white.png");
13 |
14 | const win = new QMainWindow();
15 | const trayIcon = new QIcon(path.resolve(__dirname, icon));
16 | const tray = new QSystemTrayIcon();
17 | tray.setIcon(trayIcon);
18 | tray.show();
19 | tray.setToolTip("hello");
20 |
21 | const menu = new QMenu();
22 | tray.setContextMenu(menu);
23 |
24 | // -------------------
25 | // Quit Action
26 | // -------------------
27 | const quitAction = new QAction();
28 | quitAction.setText("Quit");
29 | quitAction.setIcon(trayIcon);
30 | quitAction.addEventListener("triggered", () => {
31 | const app = QApplication.instance();
32 | app.exit(0);
33 | });
34 |
35 | // -------------------
36 | // Action with Submenu
37 | // -------------------
38 | const actionWithSubmenu = new QAction();
39 | const subMenu = new QMenu();
40 | const hideDockAction = new QAction();
41 | hideDockAction.setText("hide");
42 | hideDockAction.addEventListener("triggered", () => {
43 | Dock.hide();
44 | });
45 | //-----
46 | const showDockAction = new QAction();
47 | showDockAction.setText("show");
48 | showDockAction.addEventListener("triggered", () => {
49 | Dock.show();
50 | });
51 | //-----
52 | subMenu.addAction(hideDockAction);
53 | subMenu.addAction(showDockAction);
54 | actionWithSubmenu.setMenu(subMenu);
55 | actionWithSubmenu.setText("Mac Dock");
56 |
57 | // ----------------
58 | // Dock Hide/Show
59 | // ----------------
60 | const hideAction = new QAction();
61 | hideAction.setText("hide window");
62 | hideAction.setShortcut(new QKeySequence("Alt+H"));
63 | hideAction.addEventListener("triggered", () => {
64 | win.hide();
65 | });
66 | //-----
67 | const showAction = new QAction();
68 | showAction.setText("show window");
69 | showAction.setShortcut(new QKeySequence("Alt+S"));
70 | showAction.addEventListener("triggered", () => {
71 | win.show();
72 | });
73 |
74 | // ----------------------
75 | // Add everything to menu
76 | // ----------------------
77 | menu.addAction(hideAction);
78 | menu.addAction(showAction);
79 | menu.addAction(actionWithSubmenu);
80 | menu.addAction(quitAction);
81 |
82 | win.setWindowTitle("NodeGUI Demo");
83 | win.resize(400, 700);
84 | win.show();
85 |
86 | const qApp = QApplication.instance();
87 | qApp.setQuitOnLastWindowClosed(false); // required so that app doesnt close if we close all windows.
88 |
89 | (global as any).win = win; // To prevent win from being garbage collected.
90 | (global as any).systemTray = tray; // To prevent system tray from being garbage collected.
91 |
--------------------------------------------------------------------------------
/nodegui/systray/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "incremental": true,
4 | "target": "es2016",
5 | "module": "commonjs",
6 | "allowJs": true,
7 | "checkJs": false,
8 | "outDir": "./dist",
9 | "sourceMap": true,
10 | "strict": true,
11 | "alwaysStrict": true,
12 | "moduleResolution": "node",
13 | "esModuleInterop": true
14 | },
15 | "include": ["**/*"]
16 | }
17 |
--------------------------------------------------------------------------------
/nodegui/systray/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require("path");
2 |
3 | module.exports = {
4 | mode: process.NODE_ENV || "development",
5 | entry: "./src",
6 | target: "node",
7 | output: {
8 | path: path.resolve(__dirname, "dist"),
9 | filename: "index.js"
10 | },
11 | node: {
12 | __dirname: false
13 | },
14 | module: {
15 | rules: [
16 | {
17 | test: /\.tsx?$/,
18 | use: "ts-loader",
19 | exclude: /node_modules/
20 | },
21 | {
22 | test: /\.(png|jpe?g|gif|svg)$/i,
23 | use: [{ loader: "file-loader" }]
24 | },
25 | {
26 | test: /\.node/i,
27 | use: [
28 | { loader: "node-loader" },
29 | {
30 | loader: "file-loader",
31 | options: {
32 | name: "[name].[ext]"
33 | }
34 | }
35 | ]
36 | }
37 | ]
38 | },
39 | resolve: {
40 | extensions: [".tsx", ".ts", ".js"]
41 | }
42 | };
43 |
--------------------------------------------------------------------------------
/react-nodegui/SystemUtility/README.md:
--------------------------------------------------------------------------------
1 | # System Utility app
2 |
3 | A system utility app built with NodeGUI by Siegfried
4 |
5 | Blog post: https://blog.logrocket.com/electron-alternatives-exploring-nodegui-and-react-nodegui/
6 |
7 | Link: https://github.com/siegfriedgrimbeek/NodeGUI-System-Utility-Library
8 |
9 |
10 |
--------------------------------------------------------------------------------
/react-nodegui/calculator/README.md:
--------------------------------------------------------------------------------
1 | # Calculator app
2 |
3 | This example showcases how to build a basic calculator clone.
4 |
5 | ### Screenshots
6 |
7 | **Linux**
8 |
9 |
10 |
11 | **Windows**
12 |
13 |
14 |
15 | **Mac:**
16 |
17 |
18 |
19 | To run the demo:
20 |
21 | 1. `npm install`
22 |
23 | 2. `npm start`
24 |
--------------------------------------------------------------------------------
/react-nodegui/calculator/calculator_linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/calculator/calculator_linux.png
--------------------------------------------------------------------------------
/react-nodegui/calculator/calculator_mac.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/calculator/calculator_mac.png
--------------------------------------------------------------------------------
/react-nodegui/calculator/calculator_win.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/calculator/calculator_win.jpg
--------------------------------------------------------------------------------
/react-nodegui/calculator/index.tsx:
--------------------------------------------------------------------------------
1 | import React, { useReducer, Reducer } from "react";
2 | import { Renderer, View, Text, Button, Window } from "@nodegui/react-nodegui";
3 | import {
4 | QPushButtonEvents,
5 | QMainWindowEvents,
6 | QWidgetEvents,
7 | QKeyEvent,
8 | NativeEvent
9 | } from "@nodegui/nodegui";
10 |
11 | interface state {
12 | display: string;
13 | total: number;
14 | pendingOp: string;
15 | valueBuffer: string;
16 | }
17 | interface action {
18 | type: "operation" | "value";
19 | value: string;
20 | }
21 | const initialState: state = {
22 | display: "",
23 | total: 0,
24 | pendingOp: "~",
25 | valueBuffer: ""
26 | };
27 |
28 | const reducer: Reducer = (state, action) => {
29 | const newState = { ...state };
30 | switch (action.type) {
31 | case "operation": {
32 | switch (newState.pendingOp) {
33 | case "+": {
34 | newState.total =
35 | newState.total + parseFloat(state.valueBuffer || "0");
36 | break;
37 | }
38 | case "-": {
39 | newState.total =
40 | newState.total - parseFloat(state.valueBuffer || "0");
41 | break;
42 | }
43 | case "*": {
44 | newState.total =
45 | newState.total * parseFloat(state.valueBuffer || "0");
46 | break;
47 | }
48 | case "/": {
49 | newState.total =
50 | newState.total / parseFloat(state.valueBuffer || "1");
51 | break;
52 | }
53 | case "=": {
54 | break;
55 | }
56 | case "~": {
57 | newState.total = parseFloat(state.valueBuffer || "0");
58 | }
59 | default:
60 | }
61 | newState.valueBuffer = "";
62 | newState.display = action.value;
63 | if (action.value === "=") {
64 | const total = newState.total;
65 | Object.assign(newState, initialState);
66 | newState.total = total;
67 | newState.display = `${total}`;
68 | }
69 | if (action.value === "~") {
70 | Object.assign(newState, initialState);
71 | }
72 | newState.pendingOp = `${action.value}`;
73 | break;
74 | }
75 | case "value": {
76 | if (state.pendingOp === "=") {
77 | newState.pendingOp = "~";
78 | }
79 | if (!state.valueBuffer) {
80 | newState.display = action.value;
81 | newState.valueBuffer = `${action.value}`;
82 | } else {
83 | newState.display = `${state.display}` + `${action.value}`;
84 | newState.valueBuffer += `${action.value}`;
85 | }
86 | break;
87 | }
88 | default:
89 | throw new Error("Invalid operation");
90 | }
91 | return newState;
92 | };
93 |
94 | const App = () => {
95 | const [state, dispatch] = useReducer(reducer, initialState);
96 | const onOperator = (value: string) => () => {
97 | dispatch({ type: "operation", value });
98 | };
99 | const onValue = (value: string) => () => {
100 | dispatch({ type: "value", value });
101 | };
102 | const onKeyRelease = (evt: NativeEvent) => {
103 | const operatorKeys = ["~", "/", "*", "-", "=", "+"];
104 | const valueKeys = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "."];
105 | const keyEvt = new QKeyEvent(evt);
106 | const keyText = keyEvt.text();
107 | if (operatorKeys.includes(keyText)) {
108 | dispatch({ type: "operation", value: keyText });
109 | } else if (valueKeys.includes(keyText)) {
110 | dispatch({ type: "value", value: keyText });
111 | }
112 | };
113 |
114 | return (
115 | <>
116 |
124 |
125 |
126 |
131 | {state.display || "0"}
132 |
133 |
134 |
139 |
144 |
149 |
154 |
155 |
156 |
161 |
166 |
171 |
176 |
177 |
178 |
183 |
188 |
193 |
198 |
199 |
200 |
205 |
211 |
216 |
221 |
222 |
223 |
224 | >
225 | );
226 | };
227 |
228 | const styleSheet = `
229 | #container {
230 | flex: 1;
231 | flex-direction: column;
232 | min-height: '100%';
233 | }
234 | #row, #row0, #row1 {
235 | flex: 1;
236 | align-items: stretch;
237 | justify-content: space-between;
238 | flex-direction: row;
239 | background: #4B4B4B;
240 | }
241 | #row0 {
242 | background: #1E1E1E;
243 | }
244 | #row1 {
245 | background: #2E2E2E;
246 | }
247 | #valueBtn, #opBtn, #opBtnY {
248 | min-width: '25%';
249 | border: 1px solid black;
250 | font-size: 20px;
251 | color: white;
252 | }
253 | #opBtnY {
254 | background: #FD8D0E;
255 | }
256 | #valueBtn:pressed, #opBtn:pressed, #opBtnY:pressed {
257 | background: grey;
258 | }
259 | #result {
260 | qproperty-alignment: 'AlignRight|AlignVCenter';
261 | padding-horizontal: 5px;
262 | font-size: 40px;
263 | flex: 1;
264 | color: white;
265 | }
266 | `;
267 |
268 | Renderer.render();
269 |
--------------------------------------------------------------------------------
/react-nodegui/calculator/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "calculator",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@nodegui/nodegui": {
8 | "version": "0.1.3",
9 | "resolved": "https://registry.npmjs.org/@nodegui/nodegui/-/nodegui-0.1.3.tgz",
10 | "integrity": "sha512-uvlvZecFgBpLaYkjzwKMqrqhvM77KFjqkuIvghHilf69MAabLaG6sDmUKmsIDYeGFQrMobBLxqnalXUfRCEkvQ==",
11 | "requires": {
12 | "@nodegui/qode": "^1.0.2",
13 | "bindings": "^1.5.0",
14 | "cuid": "^2.1.6",
15 | "node-addon-api": "^1.6.3",
16 | "node-gyp": "^4.0.0",
17 | "postcss-nodegui-autoprefixer": "0.0.7"
18 | }
19 | },
20 | "@nodegui/qode": {
21 | "version": "1.0.2",
22 | "resolved": "https://registry.npmjs.org/@nodegui/qode/-/qode-1.0.2.tgz",
23 | "integrity": "sha512-cy/nWiLNpwf6AGDObeGFbiKNHaPrts0fZdK4qo5G1T4kxgxPGO14MyARP56Hzi55k5988v+Gi0n8vj2EnMY7ug==",
24 | "requires": {
25 | "env-paths": "^2.2.0",
26 | "extract-zip": "^1.6.7",
27 | "fs-extra": "^8.1.0",
28 | "got": "^9.6.0",
29 | "progress": "^2.0.3"
30 | }
31 | },
32 | "@nodegui/react-nodegui": {
33 | "version": "0.1.1",
34 | "resolved": "https://registry.npmjs.org/@nodegui/react-nodegui/-/react-nodegui-0.1.1.tgz",
35 | "integrity": "sha512-BRm6jMO2CvT9g8vOiZMzxFA5si+ADIE7Fxlr8JGQ4GHO/Tk3DVbOOewcUIo/iy4XBjAehKGAdrPObtaolH0Mtw==",
36 | "requires": {
37 | "react-reconciler": "^0.20.4"
38 | }
39 | },
40 | "@sindresorhus/is": {
41 | "version": "0.14.0",
42 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
43 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
44 | },
45 | "@szmarczak/http-timer": {
46 | "version": "1.1.2",
47 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
48 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
49 | "requires": {
50 | "defer-to-connect": "^1.0.1"
51 | }
52 | },
53 | "@types/prop-types": {
54 | "version": "15.7.1",
55 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.1.tgz",
56 | "integrity": "sha512-CFzn9idOEpHrgdw8JsoTkaDDyRWk1jrzIV8djzcgpq0y9tG4B4lFT+Nxh52DVpDXV+n4+NPNv7M1Dj5uMp6XFg==",
57 | "dev": true
58 | },
59 | "@types/react": {
60 | "version": "16.9.2",
61 | "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.2.tgz",
62 | "integrity": "sha512-jYP2LWwlh+FTqGd9v7ynUKZzjj98T8x7Yclz479QdRhHfuW9yQ+0jjnD31eXSXutmBpppj5PYNLYLRfnZJvcfg==",
63 | "dev": true,
64 | "requires": {
65 | "@types/prop-types": "*",
66 | "csstype": "^2.2.0"
67 | }
68 | },
69 | "abbrev": {
70 | "version": "1.1.1",
71 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
72 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
73 | },
74 | "ajv": {
75 | "version": "6.10.2",
76 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
77 | "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
78 | "requires": {
79 | "fast-deep-equal": "^2.0.1",
80 | "fast-json-stable-stringify": "^2.0.0",
81 | "json-schema-traverse": "^0.4.1",
82 | "uri-js": "^4.2.2"
83 | }
84 | },
85 | "ansi-regex": {
86 | "version": "2.1.1",
87 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
88 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
89 | },
90 | "ansi-styles": {
91 | "version": "3.2.1",
92 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
93 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
94 | "requires": {
95 | "color-convert": "^1.9.0"
96 | }
97 | },
98 | "aproba": {
99 | "version": "1.2.0",
100 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
101 | "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
102 | },
103 | "are-we-there-yet": {
104 | "version": "1.1.5",
105 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
106 | "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
107 | "requires": {
108 | "delegates": "^1.0.0",
109 | "readable-stream": "^2.0.6"
110 | }
111 | },
112 | "asn1": {
113 | "version": "0.2.4",
114 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
115 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
116 | "requires": {
117 | "safer-buffer": "~2.1.0"
118 | }
119 | },
120 | "assert-plus": {
121 | "version": "1.0.0",
122 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
123 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
124 | },
125 | "asynckit": {
126 | "version": "0.4.0",
127 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
128 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
129 | },
130 | "aws-sign2": {
131 | "version": "0.7.0",
132 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
133 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
134 | },
135 | "aws4": {
136 | "version": "1.8.0",
137 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
138 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
139 | },
140 | "balanced-match": {
141 | "version": "1.0.0",
142 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
143 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
144 | },
145 | "bcrypt-pbkdf": {
146 | "version": "1.0.2",
147 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
148 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
149 | "requires": {
150 | "tweetnacl": "^0.14.3"
151 | }
152 | },
153 | "bindings": {
154 | "version": "1.5.0",
155 | "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
156 | "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
157 | "requires": {
158 | "file-uri-to-path": "1.0.0"
159 | }
160 | },
161 | "brace-expansion": {
162 | "version": "1.1.11",
163 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
164 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
165 | "requires": {
166 | "balanced-match": "^1.0.0",
167 | "concat-map": "0.0.1"
168 | }
169 | },
170 | "buffer-from": {
171 | "version": "1.1.1",
172 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
173 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
174 | },
175 | "cacheable-request": {
176 | "version": "6.1.0",
177 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
178 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
179 | "requires": {
180 | "clone-response": "^1.0.2",
181 | "get-stream": "^5.1.0",
182 | "http-cache-semantics": "^4.0.0",
183 | "keyv": "^3.0.0",
184 | "lowercase-keys": "^2.0.0",
185 | "normalize-url": "^4.1.0",
186 | "responselike": "^1.0.2"
187 | },
188 | "dependencies": {
189 | "get-stream": {
190 | "version": "5.1.0",
191 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
192 | "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
193 | "requires": {
194 | "pump": "^3.0.0"
195 | }
196 | },
197 | "lowercase-keys": {
198 | "version": "2.0.0",
199 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
200 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
201 | }
202 | }
203 | },
204 | "caseless": {
205 | "version": "0.12.0",
206 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
207 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
208 | },
209 | "chalk": {
210 | "version": "2.4.2",
211 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
212 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
213 | "requires": {
214 | "ansi-styles": "^3.2.1",
215 | "escape-string-regexp": "^1.0.5",
216 | "supports-color": "^5.3.0"
217 | },
218 | "dependencies": {
219 | "supports-color": {
220 | "version": "5.5.0",
221 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
222 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
223 | "requires": {
224 | "has-flag": "^3.0.0"
225 | }
226 | }
227 | }
228 | },
229 | "chownr": {
230 | "version": "1.1.2",
231 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.2.tgz",
232 | "integrity": "sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A=="
233 | },
234 | "clone-response": {
235 | "version": "1.0.2",
236 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
237 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
238 | "requires": {
239 | "mimic-response": "^1.0.0"
240 | }
241 | },
242 | "code-point-at": {
243 | "version": "1.1.0",
244 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
245 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
246 | },
247 | "color-convert": {
248 | "version": "1.9.3",
249 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
250 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
251 | "requires": {
252 | "color-name": "1.1.3"
253 | }
254 | },
255 | "color-name": {
256 | "version": "1.1.3",
257 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
258 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
259 | },
260 | "combined-stream": {
261 | "version": "1.0.8",
262 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
263 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
264 | "requires": {
265 | "delayed-stream": "~1.0.0"
266 | }
267 | },
268 | "concat-map": {
269 | "version": "0.0.1",
270 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
271 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
272 | },
273 | "concat-stream": {
274 | "version": "1.6.2",
275 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
276 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
277 | "requires": {
278 | "buffer-from": "^1.0.0",
279 | "inherits": "^2.0.3",
280 | "readable-stream": "^2.2.2",
281 | "typedarray": "^0.0.6"
282 | }
283 | },
284 | "console-control-strings": {
285 | "version": "1.1.0",
286 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
287 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
288 | },
289 | "core-util-is": {
290 | "version": "1.0.2",
291 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
292 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
293 | },
294 | "csstype": {
295 | "version": "2.6.6",
296 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.6.tgz",
297 | "integrity": "sha512-RpFbQGUE74iyPgvr46U9t1xoQBM8T4BL8SxrN66Le2xYAPSaDJJKeztV3awugusb3g3G9iL8StmkBBXhcbbXhg==",
298 | "dev": true
299 | },
300 | "cuid": {
301 | "version": "2.1.6",
302 | "resolved": "https://registry.npmjs.org/cuid/-/cuid-2.1.6.tgz",
303 | "integrity": "sha512-ZFp7PS6cSYMJNch9fc3tyHdE4T8TDo3Y5qAxb0KSA9mpiYDo7z9ql1CznFuuzxea9STVIDy0tJWm2lYiX2ZU1Q=="
304 | },
305 | "dashdash": {
306 | "version": "1.14.1",
307 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
308 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
309 | "requires": {
310 | "assert-plus": "^1.0.0"
311 | }
312 | },
313 | "debug": {
314 | "version": "2.6.9",
315 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
316 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
317 | "requires": {
318 | "ms": "2.0.0"
319 | }
320 | },
321 | "decompress-response": {
322 | "version": "3.3.0",
323 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
324 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
325 | "requires": {
326 | "mimic-response": "^1.0.0"
327 | }
328 | },
329 | "defer-to-connect": {
330 | "version": "1.0.2",
331 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.0.2.tgz",
332 | "integrity": "sha512-k09hcQcTDY+cwgiwa6PYKLm3jlagNzQ+RSvhjzESOGOx+MNOuXkxTfEvPrO1IOQ81tArCFYQgi631clB70RpQw=="
333 | },
334 | "delayed-stream": {
335 | "version": "1.0.0",
336 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
337 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
338 | },
339 | "delegates": {
340 | "version": "1.0.0",
341 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
342 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
343 | },
344 | "duplexer3": {
345 | "version": "0.1.4",
346 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
347 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
348 | },
349 | "ecc-jsbn": {
350 | "version": "0.1.2",
351 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
352 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
353 | "requires": {
354 | "jsbn": "~0.1.0",
355 | "safer-buffer": "^2.1.0"
356 | }
357 | },
358 | "end-of-stream": {
359 | "version": "1.4.1",
360 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
361 | "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
362 | "requires": {
363 | "once": "^1.4.0"
364 | }
365 | },
366 | "env-paths": {
367 | "version": "2.2.0",
368 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
369 | "integrity": "sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA=="
370 | },
371 | "escape-string-regexp": {
372 | "version": "1.0.5",
373 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
374 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
375 | },
376 | "extend": {
377 | "version": "3.0.2",
378 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
379 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
380 | },
381 | "extract-zip": {
382 | "version": "1.6.7",
383 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz",
384 | "integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=",
385 | "requires": {
386 | "concat-stream": "1.6.2",
387 | "debug": "2.6.9",
388 | "mkdirp": "0.5.1",
389 | "yauzl": "2.4.1"
390 | }
391 | },
392 | "extsprintf": {
393 | "version": "1.3.0",
394 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
395 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
396 | },
397 | "fast-deep-equal": {
398 | "version": "2.0.1",
399 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
400 | "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
401 | },
402 | "fast-json-stable-stringify": {
403 | "version": "2.0.0",
404 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
405 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
406 | },
407 | "fd-slicer": {
408 | "version": "1.0.1",
409 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
410 | "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
411 | "requires": {
412 | "pend": "~1.2.0"
413 | }
414 | },
415 | "file-uri-to-path": {
416 | "version": "1.0.0",
417 | "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
418 | "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
419 | },
420 | "forever-agent": {
421 | "version": "0.6.1",
422 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
423 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
424 | },
425 | "form-data": {
426 | "version": "2.3.3",
427 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
428 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
429 | "requires": {
430 | "asynckit": "^0.4.0",
431 | "combined-stream": "^1.0.6",
432 | "mime-types": "^2.1.12"
433 | }
434 | },
435 | "fs-extra": {
436 | "version": "8.1.0",
437 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
438 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
439 | "requires": {
440 | "graceful-fs": "^4.2.0",
441 | "jsonfile": "^4.0.0",
442 | "universalify": "^0.1.0"
443 | }
444 | },
445 | "fs-minipass": {
446 | "version": "1.2.6",
447 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz",
448 | "integrity": "sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==",
449 | "requires": {
450 | "minipass": "^2.2.1"
451 | }
452 | },
453 | "fs.realpath": {
454 | "version": "1.0.0",
455 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
456 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
457 | },
458 | "gauge": {
459 | "version": "2.7.4",
460 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
461 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
462 | "requires": {
463 | "aproba": "^1.0.3",
464 | "console-control-strings": "^1.0.0",
465 | "has-unicode": "^2.0.0",
466 | "object-assign": "^4.1.0",
467 | "signal-exit": "^3.0.0",
468 | "string-width": "^1.0.1",
469 | "strip-ansi": "^3.0.1",
470 | "wide-align": "^1.1.0"
471 | }
472 | },
473 | "get-stream": {
474 | "version": "4.1.0",
475 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
476 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
477 | "requires": {
478 | "pump": "^3.0.0"
479 | }
480 | },
481 | "getpass": {
482 | "version": "0.1.7",
483 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
484 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
485 | "requires": {
486 | "assert-plus": "^1.0.0"
487 | }
488 | },
489 | "glob": {
490 | "version": "7.1.4",
491 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
492 | "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
493 | "requires": {
494 | "fs.realpath": "^1.0.0",
495 | "inflight": "^1.0.4",
496 | "inherits": "2",
497 | "minimatch": "^3.0.4",
498 | "once": "^1.3.0",
499 | "path-is-absolute": "^1.0.0"
500 | }
501 | },
502 | "got": {
503 | "version": "9.6.0",
504 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
505 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
506 | "requires": {
507 | "@sindresorhus/is": "^0.14.0",
508 | "@szmarczak/http-timer": "^1.1.2",
509 | "cacheable-request": "^6.0.0",
510 | "decompress-response": "^3.3.0",
511 | "duplexer3": "^0.1.4",
512 | "get-stream": "^4.1.0",
513 | "lowercase-keys": "^1.0.1",
514 | "mimic-response": "^1.0.1",
515 | "p-cancelable": "^1.0.0",
516 | "to-readable-stream": "^1.0.0",
517 | "url-parse-lax": "^3.0.0"
518 | }
519 | },
520 | "graceful-fs": {
521 | "version": "4.2.2",
522 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz",
523 | "integrity": "sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q=="
524 | },
525 | "har-schema": {
526 | "version": "2.0.0",
527 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
528 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
529 | },
530 | "har-validator": {
531 | "version": "5.1.3",
532 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
533 | "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
534 | "requires": {
535 | "ajv": "^6.5.5",
536 | "har-schema": "^2.0.0"
537 | }
538 | },
539 | "has-flag": {
540 | "version": "3.0.0",
541 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
542 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
543 | },
544 | "has-unicode": {
545 | "version": "2.0.1",
546 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
547 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
548 | },
549 | "http-cache-semantics": {
550 | "version": "4.0.3",
551 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
552 | "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
553 | },
554 | "http-signature": {
555 | "version": "1.2.0",
556 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
557 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
558 | "requires": {
559 | "assert-plus": "^1.0.0",
560 | "jsprim": "^1.2.2",
561 | "sshpk": "^1.7.0"
562 | }
563 | },
564 | "inflight": {
565 | "version": "1.0.6",
566 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
567 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
568 | "requires": {
569 | "once": "^1.3.0",
570 | "wrappy": "1"
571 | }
572 | },
573 | "inherits": {
574 | "version": "2.0.4",
575 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
576 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
577 | },
578 | "is-fullwidth-code-point": {
579 | "version": "1.0.0",
580 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
581 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
582 | "requires": {
583 | "number-is-nan": "^1.0.0"
584 | }
585 | },
586 | "is-typedarray": {
587 | "version": "1.0.0",
588 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
589 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
590 | },
591 | "isarray": {
592 | "version": "1.0.0",
593 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
594 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
595 | },
596 | "isexe": {
597 | "version": "2.0.0",
598 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
599 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
600 | },
601 | "isstream": {
602 | "version": "0.1.2",
603 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
604 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
605 | },
606 | "js-tokens": {
607 | "version": "4.0.0",
608 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
609 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
610 | },
611 | "jsbn": {
612 | "version": "0.1.1",
613 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
614 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
615 | },
616 | "json-buffer": {
617 | "version": "3.0.0",
618 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
619 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
620 | },
621 | "json-schema": {
622 | "version": "0.2.3",
623 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
624 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
625 | },
626 | "json-schema-traverse": {
627 | "version": "0.4.1",
628 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
629 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
630 | },
631 | "json-stringify-safe": {
632 | "version": "5.0.1",
633 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
634 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
635 | },
636 | "jsonfile": {
637 | "version": "4.0.0",
638 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
639 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
640 | "requires": {
641 | "graceful-fs": "^4.1.6"
642 | }
643 | },
644 | "jsprim": {
645 | "version": "1.4.1",
646 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
647 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
648 | "requires": {
649 | "assert-plus": "1.0.0",
650 | "extsprintf": "1.3.0",
651 | "json-schema": "0.2.3",
652 | "verror": "1.10.0"
653 | }
654 | },
655 | "keyv": {
656 | "version": "3.1.0",
657 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
658 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
659 | "requires": {
660 | "json-buffer": "3.0.0"
661 | }
662 | },
663 | "loose-envify": {
664 | "version": "1.4.0",
665 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
666 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
667 | "requires": {
668 | "js-tokens": "^3.0.0 || ^4.0.0"
669 | }
670 | },
671 | "lowercase-keys": {
672 | "version": "1.0.1",
673 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
674 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
675 | },
676 | "mime-db": {
677 | "version": "1.40.0",
678 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
679 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA=="
680 | },
681 | "mime-types": {
682 | "version": "2.1.24",
683 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
684 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
685 | "requires": {
686 | "mime-db": "1.40.0"
687 | }
688 | },
689 | "mimic-response": {
690 | "version": "1.0.1",
691 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
692 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
693 | },
694 | "minimatch": {
695 | "version": "3.0.4",
696 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
697 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
698 | "requires": {
699 | "brace-expansion": "^1.1.7"
700 | }
701 | },
702 | "minimist": {
703 | "version": "0.0.8",
704 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
705 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
706 | },
707 | "minipass": {
708 | "version": "2.3.5",
709 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz",
710 | "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
711 | "requires": {
712 | "safe-buffer": "^5.1.2",
713 | "yallist": "^3.0.0"
714 | }
715 | },
716 | "minizlib": {
717 | "version": "1.2.1",
718 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz",
719 | "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==",
720 | "requires": {
721 | "minipass": "^2.2.1"
722 | }
723 | },
724 | "mkdirp": {
725 | "version": "0.5.1",
726 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
727 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
728 | "requires": {
729 | "minimist": "0.0.8"
730 | }
731 | },
732 | "ms": {
733 | "version": "2.0.0",
734 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
735 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
736 | },
737 | "node-addon-api": {
738 | "version": "1.7.1",
739 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.1.tgz",
740 | "integrity": "sha512-2+DuKodWvwRTrCfKOeR24KIc5unKjOh8mz17NCzVnHWfjAdDqbfbjqh7gUT+BkXBRQM52+xCHciKWonJ3CbJMQ=="
741 | },
742 | "node-gyp": {
743 | "version": "4.0.0",
744 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-4.0.0.tgz",
745 | "integrity": "sha512-2XiryJ8sICNo6ej8d0idXDEMKfVfFK7kekGCtJAuelGsYHQxhj13KTf95swTCN2dZ/4lTfZ84Fu31jqJEEgjWA==",
746 | "requires": {
747 | "glob": "^7.0.3",
748 | "graceful-fs": "^4.1.2",
749 | "mkdirp": "^0.5.0",
750 | "nopt": "2 || 3",
751 | "npmlog": "0 || 1 || 2 || 3 || 4",
752 | "osenv": "0",
753 | "request": "^2.87.0",
754 | "rimraf": "2",
755 | "semver": "~5.3.0",
756 | "tar": "^4.4.8",
757 | "which": "1"
758 | }
759 | },
760 | "nopt": {
761 | "version": "3.0.6",
762 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
763 | "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
764 | "requires": {
765 | "abbrev": "1"
766 | }
767 | },
768 | "normalize-url": {
769 | "version": "4.3.0",
770 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.3.0.tgz",
771 | "integrity": "sha512-0NLtR71o4k6GLP+mr6Ty34c5GA6CMoEsncKJxvQd8NzPxaHRJNnb5gZE8R1XF4CPIS7QPHLJ74IFszwtNVAHVQ=="
772 | },
773 | "npmlog": {
774 | "version": "4.1.2",
775 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
776 | "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
777 | "requires": {
778 | "are-we-there-yet": "~1.1.2",
779 | "console-control-strings": "~1.1.0",
780 | "gauge": "~2.7.3",
781 | "set-blocking": "~2.0.0"
782 | }
783 | },
784 | "number-is-nan": {
785 | "version": "1.0.1",
786 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
787 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
788 | },
789 | "oauth-sign": {
790 | "version": "0.9.0",
791 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
792 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
793 | },
794 | "object-assign": {
795 | "version": "4.1.1",
796 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
797 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
798 | },
799 | "once": {
800 | "version": "1.4.0",
801 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
802 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
803 | "requires": {
804 | "wrappy": "1"
805 | }
806 | },
807 | "os-homedir": {
808 | "version": "1.0.2",
809 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
810 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
811 | },
812 | "os-tmpdir": {
813 | "version": "1.0.2",
814 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
815 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
816 | },
817 | "osenv": {
818 | "version": "0.1.5",
819 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
820 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
821 | "requires": {
822 | "os-homedir": "^1.0.0",
823 | "os-tmpdir": "^1.0.0"
824 | }
825 | },
826 | "p-cancelable": {
827 | "version": "1.1.0",
828 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
829 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
830 | },
831 | "path-is-absolute": {
832 | "version": "1.0.1",
833 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
834 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
835 | },
836 | "pend": {
837 | "version": "1.2.0",
838 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
839 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
840 | },
841 | "performance-now": {
842 | "version": "2.1.0",
843 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
844 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
845 | },
846 | "postcss": {
847 | "version": "7.0.17",
848 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz",
849 | "integrity": "sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==",
850 | "requires": {
851 | "chalk": "^2.4.2",
852 | "source-map": "^0.6.1",
853 | "supports-color": "^6.1.0"
854 | }
855 | },
856 | "postcss-nodegui-autoprefixer": {
857 | "version": "0.0.7",
858 | "resolved": "https://registry.npmjs.org/postcss-nodegui-autoprefixer/-/postcss-nodegui-autoprefixer-0.0.7.tgz",
859 | "integrity": "sha512-cPNAIz9siY+ssc3ecdPaeflfdc2HRS6tgQGu59YKLiiaZT3iMw578l1LTFfmEnJtv1RvNEQUNn/YjHyySXla2Q==",
860 | "requires": {
861 | "postcss": "^7.0.17"
862 | }
863 | },
864 | "prepend-http": {
865 | "version": "2.0.0",
866 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
867 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
868 | },
869 | "process-nextick-args": {
870 | "version": "2.0.1",
871 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
872 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
873 | },
874 | "progress": {
875 | "version": "2.0.3",
876 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
877 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
878 | },
879 | "prop-types": {
880 | "version": "15.7.2",
881 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
882 | "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
883 | "requires": {
884 | "loose-envify": "^1.4.0",
885 | "object-assign": "^4.1.1",
886 | "react-is": "^16.8.1"
887 | }
888 | },
889 | "psl": {
890 | "version": "1.3.0",
891 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.3.0.tgz",
892 | "integrity": "sha512-avHdspHO+9rQTLbv1RO+MPYeP/SzsCoxofjVnHanETfQhTJrmB0HlDoW+EiN/R+C0BZ+gERab9NY0lPN2TxNag=="
893 | },
894 | "pump": {
895 | "version": "3.0.0",
896 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
897 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
898 | "requires": {
899 | "end-of-stream": "^1.1.0",
900 | "once": "^1.3.1"
901 | }
902 | },
903 | "punycode": {
904 | "version": "2.1.1",
905 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
906 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
907 | },
908 | "qs": {
909 | "version": "6.5.2",
910 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
911 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
912 | },
913 | "react": {
914 | "version": "16.9.0",
915 | "resolved": "https://registry.npmjs.org/react/-/react-16.9.0.tgz",
916 | "integrity": "sha512-+7LQnFBwkiw+BobzOF6N//BdoNw0ouwmSJTEm9cglOOmsg/TMiFHZLe2sEoN5M7LgJTj9oHH0gxklfnQe66S1w==",
917 | "requires": {
918 | "loose-envify": "^1.1.0",
919 | "object-assign": "^4.1.1",
920 | "prop-types": "^15.6.2"
921 | }
922 | },
923 | "react-is": {
924 | "version": "16.9.0",
925 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.9.0.tgz",
926 | "integrity": "sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw=="
927 | },
928 | "react-reconciler": {
929 | "version": "0.20.4",
930 | "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.20.4.tgz",
931 | "integrity": "sha512-kxERc4H32zV2lXMg/iMiwQHOtyqf15qojvkcZ5Ja2CPkjVohHw9k70pdDBwrnQhLVetUJBSYyqU3yqrlVTOajA==",
932 | "requires": {
933 | "loose-envify": "^1.1.0",
934 | "object-assign": "^4.1.1",
935 | "prop-types": "^15.6.2",
936 | "scheduler": "^0.13.6"
937 | }
938 | },
939 | "readable-stream": {
940 | "version": "2.3.6",
941 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
942 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
943 | "requires": {
944 | "core-util-is": "~1.0.0",
945 | "inherits": "~2.0.3",
946 | "isarray": "~1.0.0",
947 | "process-nextick-args": "~2.0.0",
948 | "safe-buffer": "~5.1.1",
949 | "string_decoder": "~1.1.1",
950 | "util-deprecate": "~1.0.1"
951 | }
952 | },
953 | "request": {
954 | "version": "2.88.0",
955 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
956 | "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
957 | "requires": {
958 | "aws-sign2": "~0.7.0",
959 | "aws4": "^1.8.0",
960 | "caseless": "~0.12.0",
961 | "combined-stream": "~1.0.6",
962 | "extend": "~3.0.2",
963 | "forever-agent": "~0.6.1",
964 | "form-data": "~2.3.2",
965 | "har-validator": "~5.1.0",
966 | "http-signature": "~1.2.0",
967 | "is-typedarray": "~1.0.0",
968 | "isstream": "~0.1.2",
969 | "json-stringify-safe": "~5.0.1",
970 | "mime-types": "~2.1.19",
971 | "oauth-sign": "~0.9.0",
972 | "performance-now": "^2.1.0",
973 | "qs": "~6.5.2",
974 | "safe-buffer": "^5.1.2",
975 | "tough-cookie": "~2.4.3",
976 | "tunnel-agent": "^0.6.0",
977 | "uuid": "^3.3.2"
978 | }
979 | },
980 | "responselike": {
981 | "version": "1.0.2",
982 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
983 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
984 | "requires": {
985 | "lowercase-keys": "^1.0.0"
986 | }
987 | },
988 | "rimraf": {
989 | "version": "2.7.1",
990 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
991 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
992 | "requires": {
993 | "glob": "^7.1.3"
994 | }
995 | },
996 | "safe-buffer": {
997 | "version": "5.1.2",
998 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
999 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1000 | },
1001 | "safer-buffer": {
1002 | "version": "2.1.2",
1003 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1004 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1005 | },
1006 | "scheduler": {
1007 | "version": "0.13.6",
1008 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.13.6.tgz",
1009 | "integrity": "sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==",
1010 | "requires": {
1011 | "loose-envify": "^1.1.0",
1012 | "object-assign": "^4.1.1"
1013 | }
1014 | },
1015 | "semver": {
1016 | "version": "5.3.0",
1017 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
1018 | "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8="
1019 | },
1020 | "set-blocking": {
1021 | "version": "2.0.0",
1022 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1023 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
1024 | },
1025 | "signal-exit": {
1026 | "version": "3.0.2",
1027 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
1028 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
1029 | },
1030 | "source-map": {
1031 | "version": "0.6.1",
1032 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
1033 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
1034 | },
1035 | "sshpk": {
1036 | "version": "1.16.1",
1037 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
1038 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
1039 | "requires": {
1040 | "asn1": "~0.2.3",
1041 | "assert-plus": "^1.0.0",
1042 | "bcrypt-pbkdf": "^1.0.0",
1043 | "dashdash": "^1.12.0",
1044 | "ecc-jsbn": "~0.1.1",
1045 | "getpass": "^0.1.1",
1046 | "jsbn": "~0.1.0",
1047 | "safer-buffer": "^2.0.2",
1048 | "tweetnacl": "~0.14.0"
1049 | }
1050 | },
1051 | "string-width": {
1052 | "version": "1.0.2",
1053 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
1054 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
1055 | "requires": {
1056 | "code-point-at": "^1.0.0",
1057 | "is-fullwidth-code-point": "^1.0.0",
1058 | "strip-ansi": "^3.0.0"
1059 | }
1060 | },
1061 | "string_decoder": {
1062 | "version": "1.1.1",
1063 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
1064 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
1065 | "requires": {
1066 | "safe-buffer": "~5.1.0"
1067 | }
1068 | },
1069 | "strip-ansi": {
1070 | "version": "3.0.1",
1071 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
1072 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
1073 | "requires": {
1074 | "ansi-regex": "^2.0.0"
1075 | }
1076 | },
1077 | "supports-color": {
1078 | "version": "6.1.0",
1079 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
1080 | "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
1081 | "requires": {
1082 | "has-flag": "^3.0.0"
1083 | }
1084 | },
1085 | "tar": {
1086 | "version": "4.4.10",
1087 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.10.tgz",
1088 | "integrity": "sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==",
1089 | "requires": {
1090 | "chownr": "^1.1.1",
1091 | "fs-minipass": "^1.2.5",
1092 | "minipass": "^2.3.5",
1093 | "minizlib": "^1.2.1",
1094 | "mkdirp": "^0.5.0",
1095 | "safe-buffer": "^5.1.2",
1096 | "yallist": "^3.0.3"
1097 | }
1098 | },
1099 | "to-readable-stream": {
1100 | "version": "1.0.0",
1101 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
1102 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
1103 | },
1104 | "tough-cookie": {
1105 | "version": "2.4.3",
1106 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
1107 | "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
1108 | "requires": {
1109 | "psl": "^1.1.24",
1110 | "punycode": "^1.4.1"
1111 | },
1112 | "dependencies": {
1113 | "punycode": {
1114 | "version": "1.4.1",
1115 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
1116 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
1117 | }
1118 | }
1119 | },
1120 | "tunnel-agent": {
1121 | "version": "0.6.0",
1122 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1123 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
1124 | "requires": {
1125 | "safe-buffer": "^5.0.1"
1126 | }
1127 | },
1128 | "tweetnacl": {
1129 | "version": "0.14.5",
1130 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1131 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
1132 | },
1133 | "typedarray": {
1134 | "version": "0.0.6",
1135 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
1136 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
1137 | },
1138 | "typescript": {
1139 | "version": "3.5.3",
1140 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz",
1141 | "integrity": "sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==",
1142 | "dev": true
1143 | },
1144 | "universalify": {
1145 | "version": "0.1.2",
1146 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
1147 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
1148 | },
1149 | "uri-js": {
1150 | "version": "4.2.2",
1151 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
1152 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
1153 | "requires": {
1154 | "punycode": "^2.1.0"
1155 | }
1156 | },
1157 | "url-parse-lax": {
1158 | "version": "3.0.0",
1159 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
1160 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
1161 | "requires": {
1162 | "prepend-http": "^2.0.0"
1163 | }
1164 | },
1165 | "util-deprecate": {
1166 | "version": "1.0.2",
1167 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1168 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
1169 | },
1170 | "uuid": {
1171 | "version": "3.3.2",
1172 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
1173 | "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
1174 | },
1175 | "verror": {
1176 | "version": "1.10.0",
1177 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
1178 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1179 | "requires": {
1180 | "assert-plus": "^1.0.0",
1181 | "core-util-is": "1.0.2",
1182 | "extsprintf": "^1.2.0"
1183 | }
1184 | },
1185 | "which": {
1186 | "version": "1.3.1",
1187 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
1188 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
1189 | "requires": {
1190 | "isexe": "^2.0.0"
1191 | }
1192 | },
1193 | "wide-align": {
1194 | "version": "1.1.3",
1195 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
1196 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
1197 | "requires": {
1198 | "string-width": "^1.0.2 || 2"
1199 | }
1200 | },
1201 | "wrappy": {
1202 | "version": "1.0.2",
1203 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1204 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
1205 | },
1206 | "yallist": {
1207 | "version": "3.0.3",
1208 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
1209 | "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
1210 | },
1211 | "yauzl": {
1212 | "version": "2.4.1",
1213 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz",
1214 | "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=",
1215 | "requires": {
1216 | "fd-slicer": "~1.0.1"
1217 | }
1218 | }
1219 | }
1220 | }
1221 |
--------------------------------------------------------------------------------
/react-nodegui/calculator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "calculator",
3 | "version": "1.0.0",
4 | "description": "This example showcases how to build a basic calculator clone.",
5 | "main": "dist/index.js",
6 | "scripts": {
7 | "start": "tsc && qode dist/index.js"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "@nodegui/nodegui": "^0.1.3",
13 | "@nodegui/react-nodegui": "^0.1.1",
14 | "react": "^16.9.0"
15 | },
16 | "devDependencies": {
17 | "@types/react": "^16.9.2",
18 | "typescript": "^3.5.3"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/react-nodegui/calculator/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | /* Basic Options */
4 | "target": "ES2016" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
5 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6 | // "lib": [], /* Specify library files to be included in the compilation. */
7 | // "allowJs": true /* Allow javascript files to be compiled. */,
8 | // "checkJs": true, /* Report errors in .js files. */
9 | "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
10 | "declaration": true /* Generates corresponding '.d.ts' file. */,
11 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
12 | "sourceMap": true /* Generates corresponding '.map' file. */,
13 | // "outFile": "./", /* Concatenate and emit output to single file. */
14 | "outDir": "./dist" /* Redirect output structure to the directory. */,
15 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16 | // "composite": true, /* Enable project compilation */
17 | // "incremental": true, /* Enable incremental compilation */
18 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
19 | // "removeComments": true, /* Do not emit comments to output. */
20 | // "noEmit": true, /* Do not emit outputs. */
21 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */
22 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
23 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
24 |
25 | /* Strict Type-Checking Options */
26 | "strict": true /* Enable all strict type-checking options. */,
27 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
28 | // "strictNullChecks": true, /* Enable strict null checks. */
29 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */
30 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
31 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
32 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
33 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
34 |
35 | /* Additional Checks */
36 | // "noUnusedLocals": true, /* Report errors on unused locals. */
37 | // "noUnusedParameters": true, /* Report errors on unused parameters. */
38 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
39 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
40 |
41 | /* Module Resolution Options */
42 | "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
43 | // "baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
44 | // "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
45 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
46 | // "typeRoots": [], /* List of folders to include type definitions from. */
47 | // "types": [] /* Type declaration files to be included in compilation. */,
48 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
50 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
51 |
52 | /* Source Map Options */
53 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
54 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
55 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
56 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
57 |
58 | /* Experimental Options */
59 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
60 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
61 | "resolveJsonModule": true
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/react-nodegui/image-view/README.md:
--------------------------------------------------------------------------------
1 | # Image viewer app
2 |
3 | This example showcases how to build a basic image viewer clone.
4 |
5 | ### Screenshots
6 |
7 | **Linux**
8 |
9 |
10 |
11 | **Windows**
12 |
13 |
14 |
15 | **Mac:**
16 |
17 |
18 |
19 | To run the demo:
20 |
21 | 1. `npm install`
22 |
23 | 2. `npm start`
24 |
--------------------------------------------------------------------------------
/react-nodegui/image-view/image_view_linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/image-view/image_view_linux.png
--------------------------------------------------------------------------------
/react-nodegui/image-view/image_view_mac.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/image-view/image_view_mac.png
--------------------------------------------------------------------------------
/react-nodegui/image-view/image_view_win.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/image-view/image_view_win.jpg
--------------------------------------------------------------------------------
/react-nodegui/image-view/index.tsx:
--------------------------------------------------------------------------------
1 | import {
2 | Renderer,
3 | View,
4 | Button,
5 | Window,
6 | Image,
7 | LineEdit
8 | } from "@nodegui/react-nodegui";
9 | import React, { useEffect, useRef, useMemo, useState } from "react";
10 | import {
11 | AspectRatioMode,
12 | QMainWindow,
13 | QLineEditEvents,
14 | QPushButtonEvents
15 | } from "@nodegui/nodegui";
16 |
17 | const App = () => {
18 | const winRef = useRef(null);
19 | const [fileUrl, setFileUrl] = useState();
20 | const [imageSrc, setImageSrc] = useState();
21 | useEffect(() => {
22 | if (winRef.current) {
23 | winRef.current.resize(800, 450);
24 | }
25 | }, []);
26 | const lineEditHandler = useMemo(
27 | () => ({
28 | [QLineEditEvents.textChanged]: (text: string) => {
29 | setFileUrl(text);
30 | }
31 | }),
32 | []
33 | );
34 |
35 | const loadButtonHandler = useMemo(
36 | () => ({
37 | [QPushButtonEvents.clicked]: () => {
38 | setImageSrc(fileUrl);
39 | }
40 | }),
41 | [fileUrl]
42 | );
43 |
44 | return (
45 | <>
46 |
47 |
48 |
49 |
55 |
56 |
57 |
62 |
63 |
64 | >
65 | );
66 | };
67 |
68 | const styleSheet = `
69 | #container {
70 | flex: 1;
71 | min-height: '100%';
72 | }
73 | #controls {
74 | flex-direction: 'row';
75 | justify-content: 'space-around';
76 | align-items: 'center';
77 | padding-horizontal: 20;
78 | padding-vertical: 10;
79 | }
80 | #img {
81 | flex: 1;
82 | qproperty-alignment: 'AlignCenter';
83 | }
84 | #textField {
85 | flex: 1;
86 | }
87 | `;
88 |
89 | Renderer.render();
90 |
--------------------------------------------------------------------------------
/react-nodegui/image-view/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "imageview",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "@nodegui/nodegui": {
8 | "version": "0.1.3",
9 | "resolved": "https://registry.npmjs.org/@nodegui/nodegui/-/nodegui-0.1.3.tgz",
10 | "integrity": "sha512-uvlvZecFgBpLaYkjzwKMqrqhvM77KFjqkuIvghHilf69MAabLaG6sDmUKmsIDYeGFQrMobBLxqnalXUfRCEkvQ==",
11 | "requires": {
12 | "@nodegui/qode": "^1.0.2",
13 | "bindings": "^1.5.0",
14 | "cuid": "^2.1.6",
15 | "node-addon-api": "^1.6.3",
16 | "node-gyp": "^4.0.0",
17 | "postcss-nodegui-autoprefixer": "0.0.7"
18 | }
19 | },
20 | "@nodegui/qode": {
21 | "version": "1.0.2",
22 | "resolved": "https://registry.npmjs.org/@nodegui/qode/-/qode-1.0.2.tgz",
23 | "integrity": "sha512-cy/nWiLNpwf6AGDObeGFbiKNHaPrts0fZdK4qo5G1T4kxgxPGO14MyARP56Hzi55k5988v+Gi0n8vj2EnMY7ug==",
24 | "requires": {
25 | "env-paths": "^2.2.0",
26 | "extract-zip": "^1.6.7",
27 | "fs-extra": "^8.1.0",
28 | "got": "^9.6.0",
29 | "progress": "^2.0.3"
30 | }
31 | },
32 | "@nodegui/react-nodegui": {
33 | "version": "0.1.1",
34 | "resolved": "https://registry.npmjs.org/@nodegui/react-nodegui/-/react-nodegui-0.1.1.tgz",
35 | "integrity": "sha512-BRm6jMO2CvT9g8vOiZMzxFA5si+ADIE7Fxlr8JGQ4GHO/Tk3DVbOOewcUIo/iy4XBjAehKGAdrPObtaolH0Mtw==",
36 | "requires": {
37 | "react-reconciler": "^0.20.4"
38 | }
39 | },
40 | "@sindresorhus/is": {
41 | "version": "0.14.0",
42 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
43 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
44 | },
45 | "@szmarczak/http-timer": {
46 | "version": "1.1.2",
47 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
48 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
49 | "requires": {
50 | "defer-to-connect": "^1.0.1"
51 | }
52 | },
53 | "@types/prop-types": {
54 | "version": "15.7.1",
55 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.1.tgz",
56 | "integrity": "sha512-CFzn9idOEpHrgdw8JsoTkaDDyRWk1jrzIV8djzcgpq0y9tG4B4lFT+Nxh52DVpDXV+n4+NPNv7M1Dj5uMp6XFg==",
57 | "dev": true
58 | },
59 | "@types/react": {
60 | "version": "16.9.2",
61 | "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.2.tgz",
62 | "integrity": "sha512-jYP2LWwlh+FTqGd9v7ynUKZzjj98T8x7Yclz479QdRhHfuW9yQ+0jjnD31eXSXutmBpppj5PYNLYLRfnZJvcfg==",
63 | "dev": true,
64 | "requires": {
65 | "@types/prop-types": "*",
66 | "csstype": "^2.2.0"
67 | }
68 | },
69 | "abbrev": {
70 | "version": "1.1.1",
71 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
72 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
73 | },
74 | "ajv": {
75 | "version": "6.10.2",
76 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
77 | "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
78 | "requires": {
79 | "fast-deep-equal": "^2.0.1",
80 | "fast-json-stable-stringify": "^2.0.0",
81 | "json-schema-traverse": "^0.4.1",
82 | "uri-js": "^4.2.2"
83 | }
84 | },
85 | "ansi-regex": {
86 | "version": "2.1.1",
87 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
88 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
89 | },
90 | "ansi-styles": {
91 | "version": "3.2.1",
92 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
93 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
94 | "requires": {
95 | "color-convert": "^1.9.0"
96 | }
97 | },
98 | "aproba": {
99 | "version": "1.2.0",
100 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
101 | "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
102 | },
103 | "are-we-there-yet": {
104 | "version": "1.1.5",
105 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
106 | "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
107 | "requires": {
108 | "delegates": "^1.0.0",
109 | "readable-stream": "^2.0.6"
110 | }
111 | },
112 | "asn1": {
113 | "version": "0.2.4",
114 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
115 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
116 | "requires": {
117 | "safer-buffer": "~2.1.0"
118 | }
119 | },
120 | "assert-plus": {
121 | "version": "1.0.0",
122 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
123 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
124 | },
125 | "asynckit": {
126 | "version": "0.4.0",
127 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
128 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
129 | },
130 | "aws-sign2": {
131 | "version": "0.7.0",
132 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
133 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
134 | },
135 | "aws4": {
136 | "version": "1.8.0",
137 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
138 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
139 | },
140 | "balanced-match": {
141 | "version": "1.0.0",
142 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
143 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
144 | },
145 | "bcrypt-pbkdf": {
146 | "version": "1.0.2",
147 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
148 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
149 | "requires": {
150 | "tweetnacl": "^0.14.3"
151 | }
152 | },
153 | "bindings": {
154 | "version": "1.5.0",
155 | "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
156 | "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
157 | "requires": {
158 | "file-uri-to-path": "1.0.0"
159 | }
160 | },
161 | "brace-expansion": {
162 | "version": "1.1.11",
163 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
164 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
165 | "requires": {
166 | "balanced-match": "^1.0.0",
167 | "concat-map": "0.0.1"
168 | }
169 | },
170 | "buffer-from": {
171 | "version": "1.1.1",
172 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
173 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
174 | },
175 | "cacheable-request": {
176 | "version": "6.1.0",
177 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
178 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
179 | "requires": {
180 | "clone-response": "^1.0.2",
181 | "get-stream": "^5.1.0",
182 | "http-cache-semantics": "^4.0.0",
183 | "keyv": "^3.0.0",
184 | "lowercase-keys": "^2.0.0",
185 | "normalize-url": "^4.1.0",
186 | "responselike": "^1.0.2"
187 | },
188 | "dependencies": {
189 | "get-stream": {
190 | "version": "5.1.0",
191 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz",
192 | "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==",
193 | "requires": {
194 | "pump": "^3.0.0"
195 | }
196 | },
197 | "lowercase-keys": {
198 | "version": "2.0.0",
199 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
200 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
201 | }
202 | }
203 | },
204 | "caseless": {
205 | "version": "0.12.0",
206 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
207 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
208 | },
209 | "chalk": {
210 | "version": "2.4.2",
211 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
212 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
213 | "requires": {
214 | "ansi-styles": "^3.2.1",
215 | "escape-string-regexp": "^1.0.5",
216 | "supports-color": "^5.3.0"
217 | },
218 | "dependencies": {
219 | "supports-color": {
220 | "version": "5.5.0",
221 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
222 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
223 | "requires": {
224 | "has-flag": "^3.0.0"
225 | }
226 | }
227 | }
228 | },
229 | "chownr": {
230 | "version": "1.1.2",
231 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.2.tgz",
232 | "integrity": "sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A=="
233 | },
234 | "clone-response": {
235 | "version": "1.0.2",
236 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
237 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
238 | "requires": {
239 | "mimic-response": "^1.0.0"
240 | }
241 | },
242 | "code-point-at": {
243 | "version": "1.1.0",
244 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
245 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
246 | },
247 | "color-convert": {
248 | "version": "1.9.3",
249 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
250 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
251 | "requires": {
252 | "color-name": "1.1.3"
253 | }
254 | },
255 | "color-name": {
256 | "version": "1.1.3",
257 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
258 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
259 | },
260 | "combined-stream": {
261 | "version": "1.0.8",
262 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
263 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
264 | "requires": {
265 | "delayed-stream": "~1.0.0"
266 | }
267 | },
268 | "concat-map": {
269 | "version": "0.0.1",
270 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
271 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
272 | },
273 | "concat-stream": {
274 | "version": "1.6.2",
275 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
276 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
277 | "requires": {
278 | "buffer-from": "^1.0.0",
279 | "inherits": "^2.0.3",
280 | "readable-stream": "^2.2.2",
281 | "typedarray": "^0.0.6"
282 | }
283 | },
284 | "console-control-strings": {
285 | "version": "1.1.0",
286 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
287 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
288 | },
289 | "core-util-is": {
290 | "version": "1.0.2",
291 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
292 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
293 | },
294 | "csstype": {
295 | "version": "2.6.6",
296 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.6.tgz",
297 | "integrity": "sha512-RpFbQGUE74iyPgvr46U9t1xoQBM8T4BL8SxrN66Le2xYAPSaDJJKeztV3awugusb3g3G9iL8StmkBBXhcbbXhg==",
298 | "dev": true
299 | },
300 | "cuid": {
301 | "version": "2.1.6",
302 | "resolved": "https://registry.npmjs.org/cuid/-/cuid-2.1.6.tgz",
303 | "integrity": "sha512-ZFp7PS6cSYMJNch9fc3tyHdE4T8TDo3Y5qAxb0KSA9mpiYDo7z9ql1CznFuuzxea9STVIDy0tJWm2lYiX2ZU1Q=="
304 | },
305 | "dashdash": {
306 | "version": "1.14.1",
307 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
308 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
309 | "requires": {
310 | "assert-plus": "^1.0.0"
311 | }
312 | },
313 | "debug": {
314 | "version": "2.6.9",
315 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
316 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
317 | "requires": {
318 | "ms": "2.0.0"
319 | }
320 | },
321 | "decompress-response": {
322 | "version": "3.3.0",
323 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
324 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
325 | "requires": {
326 | "mimic-response": "^1.0.0"
327 | }
328 | },
329 | "defer-to-connect": {
330 | "version": "1.0.2",
331 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.0.2.tgz",
332 | "integrity": "sha512-k09hcQcTDY+cwgiwa6PYKLm3jlagNzQ+RSvhjzESOGOx+MNOuXkxTfEvPrO1IOQ81tArCFYQgi631clB70RpQw=="
333 | },
334 | "delayed-stream": {
335 | "version": "1.0.0",
336 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
337 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
338 | },
339 | "delegates": {
340 | "version": "1.0.0",
341 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
342 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
343 | },
344 | "duplexer3": {
345 | "version": "0.1.4",
346 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
347 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
348 | },
349 | "ecc-jsbn": {
350 | "version": "0.1.2",
351 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
352 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
353 | "requires": {
354 | "jsbn": "~0.1.0",
355 | "safer-buffer": "^2.1.0"
356 | }
357 | },
358 | "end-of-stream": {
359 | "version": "1.4.1",
360 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
361 | "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
362 | "requires": {
363 | "once": "^1.4.0"
364 | }
365 | },
366 | "env-paths": {
367 | "version": "2.2.0",
368 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
369 | "integrity": "sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA=="
370 | },
371 | "escape-string-regexp": {
372 | "version": "1.0.5",
373 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
374 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
375 | },
376 | "extend": {
377 | "version": "3.0.2",
378 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
379 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
380 | },
381 | "extract-zip": {
382 | "version": "1.6.7",
383 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz",
384 | "integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=",
385 | "requires": {
386 | "concat-stream": "1.6.2",
387 | "debug": "2.6.9",
388 | "mkdirp": "0.5.1",
389 | "yauzl": "2.4.1"
390 | }
391 | },
392 | "extsprintf": {
393 | "version": "1.3.0",
394 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
395 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
396 | },
397 | "fast-deep-equal": {
398 | "version": "2.0.1",
399 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
400 | "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
401 | },
402 | "fast-json-stable-stringify": {
403 | "version": "2.0.0",
404 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
405 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
406 | },
407 | "fd-slicer": {
408 | "version": "1.0.1",
409 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
410 | "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
411 | "requires": {
412 | "pend": "~1.2.0"
413 | }
414 | },
415 | "file-uri-to-path": {
416 | "version": "1.0.0",
417 | "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
418 | "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
419 | },
420 | "forever-agent": {
421 | "version": "0.6.1",
422 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
423 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
424 | },
425 | "form-data": {
426 | "version": "2.3.3",
427 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
428 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
429 | "requires": {
430 | "asynckit": "^0.4.0",
431 | "combined-stream": "^1.0.6",
432 | "mime-types": "^2.1.12"
433 | }
434 | },
435 | "fs-extra": {
436 | "version": "8.1.0",
437 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
438 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
439 | "requires": {
440 | "graceful-fs": "^4.2.0",
441 | "jsonfile": "^4.0.0",
442 | "universalify": "^0.1.0"
443 | }
444 | },
445 | "fs-minipass": {
446 | "version": "1.2.6",
447 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz",
448 | "integrity": "sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==",
449 | "requires": {
450 | "minipass": "^2.2.1"
451 | }
452 | },
453 | "fs.realpath": {
454 | "version": "1.0.0",
455 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
456 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
457 | },
458 | "gauge": {
459 | "version": "2.7.4",
460 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
461 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
462 | "requires": {
463 | "aproba": "^1.0.3",
464 | "console-control-strings": "^1.0.0",
465 | "has-unicode": "^2.0.0",
466 | "object-assign": "^4.1.0",
467 | "signal-exit": "^3.0.0",
468 | "string-width": "^1.0.1",
469 | "strip-ansi": "^3.0.1",
470 | "wide-align": "^1.1.0"
471 | }
472 | },
473 | "get-stream": {
474 | "version": "4.1.0",
475 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
476 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
477 | "requires": {
478 | "pump": "^3.0.0"
479 | }
480 | },
481 | "getpass": {
482 | "version": "0.1.7",
483 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
484 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
485 | "requires": {
486 | "assert-plus": "^1.0.0"
487 | }
488 | },
489 | "glob": {
490 | "version": "7.1.4",
491 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
492 | "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
493 | "requires": {
494 | "fs.realpath": "^1.0.0",
495 | "inflight": "^1.0.4",
496 | "inherits": "2",
497 | "minimatch": "^3.0.4",
498 | "once": "^1.3.0",
499 | "path-is-absolute": "^1.0.0"
500 | }
501 | },
502 | "got": {
503 | "version": "9.6.0",
504 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
505 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
506 | "requires": {
507 | "@sindresorhus/is": "^0.14.0",
508 | "@szmarczak/http-timer": "^1.1.2",
509 | "cacheable-request": "^6.0.0",
510 | "decompress-response": "^3.3.0",
511 | "duplexer3": "^0.1.4",
512 | "get-stream": "^4.1.0",
513 | "lowercase-keys": "^1.0.1",
514 | "mimic-response": "^1.0.1",
515 | "p-cancelable": "^1.0.0",
516 | "to-readable-stream": "^1.0.0",
517 | "url-parse-lax": "^3.0.0"
518 | }
519 | },
520 | "graceful-fs": {
521 | "version": "4.2.2",
522 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz",
523 | "integrity": "sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q=="
524 | },
525 | "har-schema": {
526 | "version": "2.0.0",
527 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
528 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
529 | },
530 | "har-validator": {
531 | "version": "5.1.3",
532 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
533 | "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
534 | "requires": {
535 | "ajv": "^6.5.5",
536 | "har-schema": "^2.0.0"
537 | }
538 | },
539 | "has-flag": {
540 | "version": "3.0.0",
541 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
542 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
543 | },
544 | "has-unicode": {
545 | "version": "2.0.1",
546 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
547 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
548 | },
549 | "http-cache-semantics": {
550 | "version": "4.0.3",
551 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
552 | "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
553 | },
554 | "http-signature": {
555 | "version": "1.2.0",
556 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
557 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
558 | "requires": {
559 | "assert-plus": "^1.0.0",
560 | "jsprim": "^1.2.2",
561 | "sshpk": "^1.7.0"
562 | }
563 | },
564 | "inflight": {
565 | "version": "1.0.6",
566 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
567 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
568 | "requires": {
569 | "once": "^1.3.0",
570 | "wrappy": "1"
571 | }
572 | },
573 | "inherits": {
574 | "version": "2.0.4",
575 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
576 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
577 | },
578 | "is-fullwidth-code-point": {
579 | "version": "1.0.0",
580 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
581 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
582 | "requires": {
583 | "number-is-nan": "^1.0.0"
584 | }
585 | },
586 | "is-typedarray": {
587 | "version": "1.0.0",
588 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
589 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
590 | },
591 | "isarray": {
592 | "version": "1.0.0",
593 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
594 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
595 | },
596 | "isexe": {
597 | "version": "2.0.0",
598 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
599 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
600 | },
601 | "isstream": {
602 | "version": "0.1.2",
603 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
604 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
605 | },
606 | "js-tokens": {
607 | "version": "4.0.0",
608 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
609 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
610 | },
611 | "jsbn": {
612 | "version": "0.1.1",
613 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
614 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
615 | },
616 | "json-buffer": {
617 | "version": "3.0.0",
618 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
619 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
620 | },
621 | "json-schema": {
622 | "version": "0.2.3",
623 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
624 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
625 | },
626 | "json-schema-traverse": {
627 | "version": "0.4.1",
628 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
629 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
630 | },
631 | "json-stringify-safe": {
632 | "version": "5.0.1",
633 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
634 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
635 | },
636 | "jsonfile": {
637 | "version": "4.0.0",
638 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
639 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
640 | "requires": {
641 | "graceful-fs": "^4.1.6"
642 | }
643 | },
644 | "jsprim": {
645 | "version": "1.4.1",
646 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
647 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
648 | "requires": {
649 | "assert-plus": "1.0.0",
650 | "extsprintf": "1.3.0",
651 | "json-schema": "0.2.3",
652 | "verror": "1.10.0"
653 | }
654 | },
655 | "keyv": {
656 | "version": "3.1.0",
657 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
658 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
659 | "requires": {
660 | "json-buffer": "3.0.0"
661 | }
662 | },
663 | "loose-envify": {
664 | "version": "1.4.0",
665 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
666 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
667 | "requires": {
668 | "js-tokens": "^3.0.0 || ^4.0.0"
669 | }
670 | },
671 | "lowercase-keys": {
672 | "version": "1.0.1",
673 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
674 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
675 | },
676 | "mime-db": {
677 | "version": "1.40.0",
678 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
679 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA=="
680 | },
681 | "mime-types": {
682 | "version": "2.1.24",
683 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
684 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
685 | "requires": {
686 | "mime-db": "1.40.0"
687 | }
688 | },
689 | "mimic-response": {
690 | "version": "1.0.1",
691 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
692 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
693 | },
694 | "minimatch": {
695 | "version": "3.0.4",
696 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
697 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
698 | "requires": {
699 | "brace-expansion": "^1.1.7"
700 | }
701 | },
702 | "minimist": {
703 | "version": "0.0.8",
704 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
705 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
706 | },
707 | "minipass": {
708 | "version": "2.3.5",
709 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz",
710 | "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
711 | "requires": {
712 | "safe-buffer": "^5.1.2",
713 | "yallist": "^3.0.0"
714 | }
715 | },
716 | "minizlib": {
717 | "version": "1.2.1",
718 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz",
719 | "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==",
720 | "requires": {
721 | "minipass": "^2.2.1"
722 | }
723 | },
724 | "mkdirp": {
725 | "version": "0.5.1",
726 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
727 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
728 | "requires": {
729 | "minimist": "0.0.8"
730 | }
731 | },
732 | "ms": {
733 | "version": "2.0.0",
734 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
735 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
736 | },
737 | "node-addon-api": {
738 | "version": "1.7.1",
739 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.1.tgz",
740 | "integrity": "sha512-2+DuKodWvwRTrCfKOeR24KIc5unKjOh8mz17NCzVnHWfjAdDqbfbjqh7gUT+BkXBRQM52+xCHciKWonJ3CbJMQ=="
741 | },
742 | "node-gyp": {
743 | "version": "4.0.0",
744 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-4.0.0.tgz",
745 | "integrity": "sha512-2XiryJ8sICNo6ej8d0idXDEMKfVfFK7kekGCtJAuelGsYHQxhj13KTf95swTCN2dZ/4lTfZ84Fu31jqJEEgjWA==",
746 | "requires": {
747 | "glob": "^7.0.3",
748 | "graceful-fs": "^4.1.2",
749 | "mkdirp": "^0.5.0",
750 | "nopt": "2 || 3",
751 | "npmlog": "0 || 1 || 2 || 3 || 4",
752 | "osenv": "0",
753 | "request": "^2.87.0",
754 | "rimraf": "2",
755 | "semver": "~5.3.0",
756 | "tar": "^4.4.8",
757 | "which": "1"
758 | }
759 | },
760 | "nopt": {
761 | "version": "3.0.6",
762 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
763 | "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
764 | "requires": {
765 | "abbrev": "1"
766 | }
767 | },
768 | "normalize-url": {
769 | "version": "4.3.0",
770 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.3.0.tgz",
771 | "integrity": "sha512-0NLtR71o4k6GLP+mr6Ty34c5GA6CMoEsncKJxvQd8NzPxaHRJNnb5gZE8R1XF4CPIS7QPHLJ74IFszwtNVAHVQ=="
772 | },
773 | "npmlog": {
774 | "version": "4.1.2",
775 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
776 | "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
777 | "requires": {
778 | "are-we-there-yet": "~1.1.2",
779 | "console-control-strings": "~1.1.0",
780 | "gauge": "~2.7.3",
781 | "set-blocking": "~2.0.0"
782 | }
783 | },
784 | "number-is-nan": {
785 | "version": "1.0.1",
786 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
787 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
788 | },
789 | "oauth-sign": {
790 | "version": "0.9.0",
791 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
792 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
793 | },
794 | "object-assign": {
795 | "version": "4.1.1",
796 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
797 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
798 | },
799 | "once": {
800 | "version": "1.4.0",
801 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
802 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
803 | "requires": {
804 | "wrappy": "1"
805 | }
806 | },
807 | "os-homedir": {
808 | "version": "1.0.2",
809 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
810 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
811 | },
812 | "os-tmpdir": {
813 | "version": "1.0.2",
814 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
815 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
816 | },
817 | "osenv": {
818 | "version": "0.1.5",
819 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
820 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
821 | "requires": {
822 | "os-homedir": "^1.0.0",
823 | "os-tmpdir": "^1.0.0"
824 | }
825 | },
826 | "p-cancelable": {
827 | "version": "1.1.0",
828 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
829 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
830 | },
831 | "path-is-absolute": {
832 | "version": "1.0.1",
833 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
834 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
835 | },
836 | "pend": {
837 | "version": "1.2.0",
838 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
839 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
840 | },
841 | "performance-now": {
842 | "version": "2.1.0",
843 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
844 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
845 | },
846 | "postcss": {
847 | "version": "7.0.17",
848 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz",
849 | "integrity": "sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==",
850 | "requires": {
851 | "chalk": "^2.4.2",
852 | "source-map": "^0.6.1",
853 | "supports-color": "^6.1.0"
854 | }
855 | },
856 | "postcss-nodegui-autoprefixer": {
857 | "version": "0.0.7",
858 | "resolved": "https://registry.npmjs.org/postcss-nodegui-autoprefixer/-/postcss-nodegui-autoprefixer-0.0.7.tgz",
859 | "integrity": "sha512-cPNAIz9siY+ssc3ecdPaeflfdc2HRS6tgQGu59YKLiiaZT3iMw578l1LTFfmEnJtv1RvNEQUNn/YjHyySXla2Q==",
860 | "requires": {
861 | "postcss": "^7.0.17"
862 | }
863 | },
864 | "prepend-http": {
865 | "version": "2.0.0",
866 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
867 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
868 | },
869 | "process-nextick-args": {
870 | "version": "2.0.1",
871 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
872 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
873 | },
874 | "progress": {
875 | "version": "2.0.3",
876 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
877 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
878 | },
879 | "prop-types": {
880 | "version": "15.7.2",
881 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
882 | "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
883 | "requires": {
884 | "loose-envify": "^1.4.0",
885 | "object-assign": "^4.1.1",
886 | "react-is": "^16.8.1"
887 | }
888 | },
889 | "psl": {
890 | "version": "1.3.0",
891 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.3.0.tgz",
892 | "integrity": "sha512-avHdspHO+9rQTLbv1RO+MPYeP/SzsCoxofjVnHanETfQhTJrmB0HlDoW+EiN/R+C0BZ+gERab9NY0lPN2TxNag=="
893 | },
894 | "pump": {
895 | "version": "3.0.0",
896 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
897 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
898 | "requires": {
899 | "end-of-stream": "^1.1.0",
900 | "once": "^1.3.1"
901 | }
902 | },
903 | "punycode": {
904 | "version": "2.1.1",
905 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
906 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
907 | },
908 | "qs": {
909 | "version": "6.5.2",
910 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
911 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
912 | },
913 | "react": {
914 | "version": "16.9.0",
915 | "resolved": "https://registry.npmjs.org/react/-/react-16.9.0.tgz",
916 | "integrity": "sha512-+7LQnFBwkiw+BobzOF6N//BdoNw0ouwmSJTEm9cglOOmsg/TMiFHZLe2sEoN5M7LgJTj9oHH0gxklfnQe66S1w==",
917 | "requires": {
918 | "loose-envify": "^1.1.0",
919 | "object-assign": "^4.1.1",
920 | "prop-types": "^15.6.2"
921 | }
922 | },
923 | "react-is": {
924 | "version": "16.9.0",
925 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.9.0.tgz",
926 | "integrity": "sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw=="
927 | },
928 | "react-reconciler": {
929 | "version": "0.20.4",
930 | "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.20.4.tgz",
931 | "integrity": "sha512-kxERc4H32zV2lXMg/iMiwQHOtyqf15qojvkcZ5Ja2CPkjVohHw9k70pdDBwrnQhLVetUJBSYyqU3yqrlVTOajA==",
932 | "requires": {
933 | "loose-envify": "^1.1.0",
934 | "object-assign": "^4.1.1",
935 | "prop-types": "^15.6.2",
936 | "scheduler": "^0.13.6"
937 | }
938 | },
939 | "readable-stream": {
940 | "version": "2.3.6",
941 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
942 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
943 | "requires": {
944 | "core-util-is": "~1.0.0",
945 | "inherits": "~2.0.3",
946 | "isarray": "~1.0.0",
947 | "process-nextick-args": "~2.0.0",
948 | "safe-buffer": "~5.1.1",
949 | "string_decoder": "~1.1.1",
950 | "util-deprecate": "~1.0.1"
951 | }
952 | },
953 | "request": {
954 | "version": "2.88.0",
955 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
956 | "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
957 | "requires": {
958 | "aws-sign2": "~0.7.0",
959 | "aws4": "^1.8.0",
960 | "caseless": "~0.12.0",
961 | "combined-stream": "~1.0.6",
962 | "extend": "~3.0.2",
963 | "forever-agent": "~0.6.1",
964 | "form-data": "~2.3.2",
965 | "har-validator": "~5.1.0",
966 | "http-signature": "~1.2.0",
967 | "is-typedarray": "~1.0.0",
968 | "isstream": "~0.1.2",
969 | "json-stringify-safe": "~5.0.1",
970 | "mime-types": "~2.1.19",
971 | "oauth-sign": "~0.9.0",
972 | "performance-now": "^2.1.0",
973 | "qs": "~6.5.2",
974 | "safe-buffer": "^5.1.2",
975 | "tough-cookie": "~2.4.3",
976 | "tunnel-agent": "^0.6.0",
977 | "uuid": "^3.3.2"
978 | }
979 | },
980 | "responselike": {
981 | "version": "1.0.2",
982 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
983 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
984 | "requires": {
985 | "lowercase-keys": "^1.0.0"
986 | }
987 | },
988 | "rimraf": {
989 | "version": "2.7.1",
990 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
991 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
992 | "requires": {
993 | "glob": "^7.1.3"
994 | }
995 | },
996 | "safe-buffer": {
997 | "version": "5.1.2",
998 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
999 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1000 | },
1001 | "safer-buffer": {
1002 | "version": "2.1.2",
1003 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1004 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1005 | },
1006 | "scheduler": {
1007 | "version": "0.13.6",
1008 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.13.6.tgz",
1009 | "integrity": "sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==",
1010 | "requires": {
1011 | "loose-envify": "^1.1.0",
1012 | "object-assign": "^4.1.1"
1013 | }
1014 | },
1015 | "semver": {
1016 | "version": "5.3.0",
1017 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
1018 | "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8="
1019 | },
1020 | "set-blocking": {
1021 | "version": "2.0.0",
1022 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1023 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
1024 | },
1025 | "signal-exit": {
1026 | "version": "3.0.2",
1027 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
1028 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
1029 | },
1030 | "source-map": {
1031 | "version": "0.6.1",
1032 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
1033 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
1034 | },
1035 | "sshpk": {
1036 | "version": "1.16.1",
1037 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
1038 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
1039 | "requires": {
1040 | "asn1": "~0.2.3",
1041 | "assert-plus": "^1.0.0",
1042 | "bcrypt-pbkdf": "^1.0.0",
1043 | "dashdash": "^1.12.0",
1044 | "ecc-jsbn": "~0.1.1",
1045 | "getpass": "^0.1.1",
1046 | "jsbn": "~0.1.0",
1047 | "safer-buffer": "^2.0.2",
1048 | "tweetnacl": "~0.14.0"
1049 | }
1050 | },
1051 | "string-width": {
1052 | "version": "1.0.2",
1053 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
1054 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
1055 | "requires": {
1056 | "code-point-at": "^1.0.0",
1057 | "is-fullwidth-code-point": "^1.0.0",
1058 | "strip-ansi": "^3.0.0"
1059 | }
1060 | },
1061 | "string_decoder": {
1062 | "version": "1.1.1",
1063 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
1064 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
1065 | "requires": {
1066 | "safe-buffer": "~5.1.0"
1067 | }
1068 | },
1069 | "strip-ansi": {
1070 | "version": "3.0.1",
1071 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
1072 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
1073 | "requires": {
1074 | "ansi-regex": "^2.0.0"
1075 | }
1076 | },
1077 | "supports-color": {
1078 | "version": "6.1.0",
1079 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
1080 | "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
1081 | "requires": {
1082 | "has-flag": "^3.0.0"
1083 | }
1084 | },
1085 | "tar": {
1086 | "version": "4.4.10",
1087 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.10.tgz",
1088 | "integrity": "sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==",
1089 | "requires": {
1090 | "chownr": "^1.1.1",
1091 | "fs-minipass": "^1.2.5",
1092 | "minipass": "^2.3.5",
1093 | "minizlib": "^1.2.1",
1094 | "mkdirp": "^0.5.0",
1095 | "safe-buffer": "^5.1.2",
1096 | "yallist": "^3.0.3"
1097 | }
1098 | },
1099 | "to-readable-stream": {
1100 | "version": "1.0.0",
1101 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
1102 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
1103 | },
1104 | "tough-cookie": {
1105 | "version": "2.4.3",
1106 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
1107 | "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
1108 | "requires": {
1109 | "psl": "^1.1.24",
1110 | "punycode": "^1.4.1"
1111 | },
1112 | "dependencies": {
1113 | "punycode": {
1114 | "version": "1.4.1",
1115 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
1116 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
1117 | }
1118 | }
1119 | },
1120 | "tunnel-agent": {
1121 | "version": "0.6.0",
1122 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1123 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
1124 | "requires": {
1125 | "safe-buffer": "^5.0.1"
1126 | }
1127 | },
1128 | "tweetnacl": {
1129 | "version": "0.14.5",
1130 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1131 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
1132 | },
1133 | "typedarray": {
1134 | "version": "0.0.6",
1135 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
1136 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
1137 | },
1138 | "typescript": {
1139 | "version": "3.5.3",
1140 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz",
1141 | "integrity": "sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==",
1142 | "dev": true
1143 | },
1144 | "universalify": {
1145 | "version": "0.1.2",
1146 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
1147 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
1148 | },
1149 | "uri-js": {
1150 | "version": "4.2.2",
1151 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
1152 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
1153 | "requires": {
1154 | "punycode": "^2.1.0"
1155 | }
1156 | },
1157 | "url-parse-lax": {
1158 | "version": "3.0.0",
1159 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
1160 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
1161 | "requires": {
1162 | "prepend-http": "^2.0.0"
1163 | }
1164 | },
1165 | "util-deprecate": {
1166 | "version": "1.0.2",
1167 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1168 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
1169 | },
1170 | "uuid": {
1171 | "version": "3.3.2",
1172 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
1173 | "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
1174 | },
1175 | "verror": {
1176 | "version": "1.10.0",
1177 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
1178 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1179 | "requires": {
1180 | "assert-plus": "^1.0.0",
1181 | "core-util-is": "1.0.2",
1182 | "extsprintf": "^1.2.0"
1183 | }
1184 | },
1185 | "which": {
1186 | "version": "1.3.1",
1187 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
1188 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
1189 | "requires": {
1190 | "isexe": "^2.0.0"
1191 | }
1192 | },
1193 | "wide-align": {
1194 | "version": "1.1.3",
1195 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
1196 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
1197 | "requires": {
1198 | "string-width": "^1.0.2 || 2"
1199 | }
1200 | },
1201 | "wrappy": {
1202 | "version": "1.0.2",
1203 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1204 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
1205 | },
1206 | "yallist": {
1207 | "version": "3.0.3",
1208 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
1209 | "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="
1210 | },
1211 | "yauzl": {
1212 | "version": "2.4.1",
1213 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz",
1214 | "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=",
1215 | "requires": {
1216 | "fd-slicer": "~1.0.1"
1217 | }
1218 | }
1219 | }
1220 | }
1221 |
--------------------------------------------------------------------------------
/react-nodegui/image-view/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "imageview",
3 | "version": "1.0.0",
4 | "description": "This example showcases how to build a basic image viewer clone.",
5 | "main": "dist/index.js",
6 | "scripts": {
7 | "start": "tsc && qode dist/index.js"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "@nodegui/nodegui": "^0.1.3",
13 | "@nodegui/react-nodegui": "^0.1.1",
14 | "react": "^16.9.0"
15 | },
16 | "devDependencies": {
17 | "@types/react": "^16.9.2",
18 | "typescript": "^3.5.3"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/react-nodegui/image-view/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | /* Basic Options */
4 | "target": "ES2016" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
5 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6 | // "lib": [], /* Specify library files to be included in the compilation. */
7 | // "allowJs": true /* Allow javascript files to be compiled. */,
8 | // "checkJs": true, /* Report errors in .js files. */
9 | "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
10 | "declaration": true /* Generates corresponding '.d.ts' file. */,
11 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
12 | "sourceMap": true /* Generates corresponding '.map' file. */,
13 | // "outFile": "./", /* Concatenate and emit output to single file. */
14 | "outDir": "./dist" /* Redirect output structure to the directory. */,
15 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16 | // "composite": true, /* Enable project compilation */
17 | // "incremental": true, /* Enable incremental compilation */
18 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
19 | // "removeComments": true, /* Do not emit comments to output. */
20 | // "noEmit": true, /* Do not emit outputs. */
21 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */
22 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
23 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
24 |
25 | /* Strict Type-Checking Options */
26 | "strict": true /* Enable all strict type-checking options. */,
27 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
28 | // "strictNullChecks": true, /* Enable strict null checks. */
29 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */
30 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
31 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
32 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
33 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
34 |
35 | /* Additional Checks */
36 | // "noUnusedLocals": true, /* Report errors on unused locals. */
37 | // "noUnusedParameters": true, /* Report errors on unused parameters. */
38 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
39 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
40 |
41 | /* Module Resolution Options */
42 | "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
43 | // "baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
44 | // "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
45 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
46 | // "typeRoots": [], /* List of folders to include type definitions from. */
47 | // "types": [] /* Type declaration files to be included in compilation. */,
48 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
50 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
51 |
52 | /* Source Map Options */
53 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
54 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
55 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
56 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
57 |
58 | /* Experimental Options */
59 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
60 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
61 | "resolveJsonModule": true
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["@babel/preset-env", { "targets": { "node": "12" } }],
4 | "@babel/preset-typescript",
5 | "@babel/preset-react"
6 | ],
7 | "plugins": []
8 | }
9 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/README.md:
--------------------------------------------------------------------------------
1 | # Example usage with React router
2 |
3 | This example shows how to use react-router v5 with react-nodegui. Its uses MemoryRouter (the router which is used in React Native as well). This is a basic example and contains basic routing. Check `routes.tsx` for more details.
4 |
5 |
6 |
7 | **Clone and run for a quick way to see React NodeGui and react router in action.**
8 |
9 | ## To Use
10 |
11 | To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:
12 |
13 | ```bash
14 | cd react-router-example
15 | # Install dependencies
16 | npm install
17 | # Run the dev server
18 | npm run dev
19 | # Open andother terminal and run the app
20 | npm start
21 | ```
22 |
23 | ## Installation & Resources for learning React NodeGUI
24 |
25 | - [Documentation](https://react.nodegui.org) - all of React NodeGui's documentation.
26 | - [NodeGui](https://nodegui.org) - all of NodeGui's documentation.
27 |
28 | ## License
29 |
30 | MIT
31 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/assets.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.svg";
2 | declare module "*.png";
3 | declare module "*.jpg";
4 | declare module "*.jpeg";
5 | declare module "*.gif";
6 | declare module "*.bmp";
7 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/assets/routes.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/react-router-example/assets/routes.gif
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-nodegui-starter",
3 | "version": "1.0.0",
4 | "main": "index.js",
5 | "author": "Atul R ",
6 | "license": "MIT",
7 | "private": true,
8 | "scripts": {
9 | "build": "webpack -p",
10 | "dev": "webpack --mode=development",
11 | "start": "qode --inspect ./dist/index.js"
12 | },
13 | "dependencies": {
14 | "@nodegui/nodegui": "^0.13.4",
15 | "@nodegui/react-nodegui": "^0.4.0",
16 | "open": "^7.0.0",
17 | "react": "^16.9.0",
18 | "react-router": "^5.1.2"
19 | },
20 | "devDependencies": {
21 | "@babel/core": "^7.6.4",
22 | "@babel/preset-env": "^7.6.3",
23 | "@babel/preset-react": "^7.6.3",
24 | "@babel/preset-typescript": "^7.6.0",
25 | "@types/node": "^12.6.8",
26 | "@types/react": "^16.8.23",
27 | "@types/react-router": "^5.1.2",
28 | "@types/webpack-env": "^1.14.1",
29 | "babel-loader": "^8.0.6",
30 | "clean-webpack-plugin": "^3.0.0",
31 | "file-loader": "^4.2.0",
32 | "fork-ts-checker-webpack-plugin": "^3.0.1",
33 | "node-loader": "^0.6.0",
34 | "typescript": "^3.5.3",
35 | "webpack": "^4.39.2",
36 | "webpack-cli": "^3.3.6"
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/src/app.tsx:
--------------------------------------------------------------------------------
1 | import { Window, View, hot } from "@nodegui/react-nodegui";
2 | import React from "react";
3 | import { MemoryRouter } from "react-router";
4 | import AppRoutes from "./routes";
5 | const minSize = { width: 500, height: 520 };
6 |
7 | class App extends React.Component {
8 | render() {
9 | return (
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | );
18 | }
19 | }
20 |
21 | const containerStyle = `
22 | flex: 1;
23 | height: '100%';
24 | border: 1px solid blue;
25 | `
26 |
27 | export default hot(App);
28 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/src/index.tsx:
--------------------------------------------------------------------------------
1 | import { Renderer } from "@nodegui/react-nodegui";
2 | import React from "react";
3 | import App from "./app";
4 |
5 | process.title = "My NodeGui App";
6 | Renderer.render();
7 | // This is for hot reloading (this will be stripped off in production by webpack)
8 | if (module.hot) {
9 | module.hot.accept(["./app"], function() {
10 | Renderer.forceUpdate();
11 | });
12 | }
13 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/src/pages/About.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Text, View, Button, useEventHandler } from "@nodegui/react-nodegui";
3 | import { useHistory } from "react-router";
4 | import { QPushButtonSignals } from "@nodegui/nodegui";
5 |
6 | export default function About() {
7 | const history = useHistory();
8 | const handler = useEventHandler(
9 | { clicked: () => history.goBack() },
10 | []
11 | );
12 | return (
13 |
20 | About
21 | You are now looking at the About Page 😱
22 |
23 |
24 | );
25 | }
26 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/src/pages/Home.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Text, View, Button, useEventHandler } from "@nodegui/react-nodegui";
3 | import { useHistory } from "react-router";
4 | import { QPushButtonSignals } from "@nodegui/nodegui";
5 |
6 | export default function Home() {
7 | const history = useHistory();
8 | const handler = useEventHandler(
9 | { "clicked": () => history.push("/about") },
10 | []
11 | );
12 | return (
13 |
20 | Home Page
21 | You are now looking at Home Page 🤓
22 |
23 |
24 | );
25 | }
26 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/src/routes.tsx:
--------------------------------------------------------------------------------
1 | import { Route } from "react-router";
2 | import React from "react";
3 | import Home from "./pages/Home";
4 | import About from "./pages/About";
5 |
6 | export default function AppRoutes() {
7 | return (
8 | <>
9 |
10 |
11 | >
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es2016",
4 | "module": "commonjs",
5 | "jsx": "react",
6 | "strict": true,
7 | "alwaysStrict": true,
8 | "moduleResolution": "node",
9 | "esModuleInterop": true
10 | },
11 | "include": ["**/*"]
12 | }
13 |
--------------------------------------------------------------------------------
/react-nodegui/react-router-example/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require("path");
2 | const webpack = require("webpack");
3 | const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
4 | const { CleanWebpackPlugin } = require("clean-webpack-plugin");
5 |
6 | module.exports = (env, argv) => {
7 | const config = {
8 | mode: "production",
9 | entry: ["./src/index.tsx"],
10 | target: "node",
11 | output: {
12 | path: path.resolve(__dirname, "dist"),
13 | filename: "index.js"
14 | },
15 | node: {
16 | __dirname: false,
17 | __filename: false
18 | },
19 | module: {
20 | rules: [
21 | {
22 | test: /\.(j|t)sx?$/,
23 | exclude: /node_modules/,
24 | use: {
25 | loader: "babel-loader",
26 | options: { cacheDirectory: true, cacheCompression: false }
27 | }
28 | },
29 | {
30 | test: /\.(png|jpe?g|gif|svg|bmp)$/i,
31 | use: [{ loader: "file-loader" }]
32 | },
33 | {
34 | test: /\.node/i,
35 | use: [{ loader: "node-loader" }, { loader: "file-loader" }]
36 | }
37 | ]
38 | },
39 | plugins: [],
40 | resolve: {
41 | extensions: [".tsx", ".ts", ".js", ".jsx", ".json"]
42 | }
43 | };
44 |
45 | if (argv.mode === "development") {
46 | config.mode = "development";
47 | config.plugins.push(new webpack.HotModuleReplacementPlugin());
48 | config.plugins.push(new ForkTsCheckerWebpackPlugin());
49 | config.devtool = "source-map";
50 | config.watch = true;
51 | config.entry.unshift("webpack/hot/poll?100");
52 | }
53 |
54 | if (argv.p) {
55 | config.plugins.push(new CleanWebpackPlugin());
56 | }
57 | return config;
58 | };
59 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist/
3 | *.log
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/README.md:
--------------------------------------------------------------------------------
1 | # Weather App widget
2 |
3 | This example showcases how to build a basic weather widget app.
4 |
5 | ### Screenshots
6 |
7 | **Mac:**
8 |
9 |
10 |
11 | To run the demo:
12 |
13 | 0. `cd weather-app-widget`
14 |
15 | 1. `npm install`
16 |
17 | 1. `npm start`
18 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-nodegui-starter",
3 | "version": "1.0.0",
4 | "main": "index.js",
5 | "author": "Atul R ",
6 | "license": "MIT",
7 | "private": true,
8 | "scripts": {
9 | "start": "tsc && qode ./dist/index.js"
10 | },
11 | "dependencies": {
12 | "@nodegui/nodegui": "^0.1.3",
13 | "@nodegui/react-nodegui": "^0.1.1",
14 | "react": "^16.9.0",
15 | "axios": "^0.19.0",
16 | "dateformat": "^3.0.3"
17 | },
18 | "devDependencies": {
19 | "@types/node": "^12.6.8",
20 | "@types/react": "^16.9.1",
21 | "typescript": "^3.5.3"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/01d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/01d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/01n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/01n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/02d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/02d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/02n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/02n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/03d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/03d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/03n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/03n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/04d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/04d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/04n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/04n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/09d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/09d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/09n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/09n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/10d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/10d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/10n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/10n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/11d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/11d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/11n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/11n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/13d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/13d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/13n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/13n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/50d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/50d.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/50n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/50n.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/assets/icons/na.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/src/assets/icons/na.png
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/components/PlaceDate.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { View, Text } from "@nodegui/react-nodegui";
3 | import { dateFormatter } from "../utils/helpers";
4 |
5 | type PlaceDateProps = {
6 | place: string;
7 | date: Date;
8 | };
9 | export const PlaceDate: React.FC = props => {
10 | return (
11 |
12 | {props.place}
13 | {dateFormatter(props.date)}
14 |
15 | );
16 | };
17 |
18 | const placeStyle = `
19 | flex: 1;
20 | font-size: 20px;
21 | qproperty-alignment: 'AlignCenter';
22 | color: white;
23 | `;
24 |
25 | const dateStyle = `
26 | flex: 1;
27 | font-size: 12px;
28 | qproperty-alignment: 'AlignCenter';
29 | color: white;
30 | `;
31 |
32 | const containerStyle = `
33 | flex: 1;
34 | `;
35 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/components/Summary.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { View, Text } from "@nodegui/react-nodegui";
3 |
4 | type SummaryProps = {
5 | title: string;
6 | description: string;
7 | };
8 | //https://doc.qt.io/qt-5/04-qdoc-commands-textmarkup.html
9 | export const Summary: React.FC = props => {
10 | return (
11 |
12 | {`${props.title}: ${
13 | props.description
14 | }.`}
15 |
16 | );
17 | };
18 |
19 | const containerStyle = `
20 | align-items: 'center';
21 | `;
22 |
23 | const textStyle = `
24 | color: white;
25 | `;
26 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/components/TemperatureBox.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { View, Text } from "@nodegui/react-nodegui";
3 |
4 | type TempProps = {
5 | now: number;
6 | min: number;
7 | max: number;
8 | };
9 | export const TemperatureBox: React.FC = props => {
10 | return (
11 |
12 | {`${props.now} oC`}
13 |
14 | {`${props.min} oC / ${
15 | props.max
16 | } oC`}
17 |
18 |
19 | );
20 | };
21 |
22 | const currentTempStyle = `
23 | font-size: 20px;
24 | width: 100px;
25 | qproperty-alignment: AlignCenter;
26 | color: white;
27 | `;
28 |
29 | const temperatureBoxStyle = `
30 | border-right: 1px solid white;
31 | flex: 1;
32 | align-items: 'center';
33 | justify-content: 'center';
34 | `;
35 |
36 | const smallBox = `
37 | flex-direction: 'row';
38 | align-items: 'center';
39 | justify-content: 'center';
40 | `;
41 |
42 | const smallInfo = `
43 | width: 150px;
44 | color: white;
45 | qproperty-alignment: AlignCenter;
46 | `;
47 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/components/WeatherIcon.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Image } from "@nodegui/react-nodegui";
3 | import path from "path";
4 | import { AspectRatioMode } from "@nodegui/nodegui";
5 |
6 | const rootDir = path.resolve(__dirname, "../..");
7 | const assetUrl = path.resolve(rootDir, "src/assets/icons");
8 |
9 | type WeatherIconProps = {
10 | icon: string;
11 | [key: string]: any;
12 | };
13 | export const WeatherIcon = React.memo(props => {
14 | const iconId = props.icon || "na";
15 | const imageUrl = `${path.resolve(assetUrl, `${iconId}.png`)}`;
16 | return (
17 |
22 | );
23 | });
24 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/index.tsx:
--------------------------------------------------------------------------------
1 | import {
2 | Renderer,
3 | Window,
4 | View,
5 | Button,
6 | useEventHandler
7 | } from "@nodegui/react-nodegui";
8 | import React, { useEffect, useRef, useState, useCallback } from "react";
9 | import {
10 | QMainWindow,
11 | WidgetAttribute,
12 | WindowType,
13 | QApplication,
14 | QPushButtonEvents
15 | } from "@nodegui/nodegui";
16 | import os from 'os';
17 | import { getCurrentWeather } from "./utils/weather";
18 | import { WeatherIcon } from "./components/WeatherIcon";
19 | import { TemperatureBox } from "./components/TemperatureBox";
20 | import { Summary } from "./components/Summary";
21 | import { PlaceDate } from "./components/PlaceDate";
22 |
23 | const App = () => {
24 | const winRef = useRef(null);
25 | const [weather, setWeather] = useState(defaultState);
26 | useEffect(() => {
27 | if (winRef.current) {
28 | const win = winRef.current;
29 | initWindow(win);
30 | }
31 | getWeather();
32 | }, []);
33 |
34 | const getWeather = useCallback(async () => {
35 | try {
36 | const data = await getCurrentWeather();
37 | setWeather(data);
38 | } catch (err) {
39 | console.log(err);
40 | }
41 | }, []);
42 |
43 | const summary = weather.weather[0] || {};
44 | const refreshHandler = useEventHandler(
45 | {
46 | [QPushButtonEvents.clicked]: async () => {
47 | setWeather(defaultState);
48 | await getWeather();
49 | }
50 | },
51 | []
52 | );
53 | const quitHandler = useEventHandler(
54 | {
55 | [QPushButtonEvents.clicked]: () => {
56 | QApplication.instance().quit();
57 | }
58 | },
59 | []
60 | );
61 |
62 | return (
63 |
64 |
65 |
66 |
67 |
68 |
69 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 | );
84 | };
85 |
86 | const stylesheet = `
87 | #win {
88 | background-color: transparent;
89 | }
90 | #container {
91 | height: '100%';
92 | }
93 | #details {
94 | flex: 1;
95 | padding: 10px;
96 | justify-content: 'space-around';
97 | background-color: qlineargradient( x1:0 y1:0, x2:0 y2:1, stop:0 rgba(32,65,106,0.6), stop:1 rgba(8,8,8,0.6));
98 | border-radius: 5px;
99 | }
100 | #image {
101 | flex: 2;
102 | qproperty-alignment: 'AlignCenter';
103 | margin-right: '10%';
104 | }
105 | `;
106 |
107 | const midBox = `
108 | margin-vertical: 10px;
109 | flex-direction: 'row';
110 | `;
111 |
112 | const buttonBox = `
113 | flex-direction: 'row';
114 | justify-content: 'center';
115 | `;
116 |
117 | const initWindow = (win: QMainWindow) => {
118 | win.hide(); //https://forum.qt.io/topic/60642/framelesswindowhint-fails-at-runtime-on-mainwindow
119 | win.resize(300, 300);
120 |
121 | win.setWindowFlag(WindowType.FramelessWindowHint, true);
122 | win.setWindowFlag(WindowType.Widget, true);
123 | if (os.platform() === "darwin") {
124 | win.setAttribute(WidgetAttribute.WA_TranslucentBackground, true);
125 | }
126 | win.show();
127 | };
128 |
129 | type Weather = {
130 | main: string;
131 | description: string;
132 | icon: string;
133 | };
134 | type WeatherData = {
135 | weather: Weather[];
136 | main: {
137 | temp: number;
138 | temp_min: number;
139 | temp_max: number;
140 | };
141 | name: string;
142 | };
143 |
144 | const defaultState = {
145 | weather: [],
146 | main: {
147 | temp: 0,
148 | temp_min: 0,
149 | temp_max: 0
150 | },
151 | name: "NA"
152 | };
153 |
154 | Renderer.render(, {
155 | onRender: () => {
156 | console.log("Yo");
157 | },
158 | enableDevtools: true
159 | });
160 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/utils/helpers.ts:
--------------------------------------------------------------------------------
1 | export const dateFormatter = (date: Date) => {
2 | const monthNames = [
3 | "Jan",
4 | "Feb",
5 | "Mar",
6 | "Apr",
7 | "May",
8 | "Jun",
9 | "Jul",
10 | "Aug",
11 | "Sep",
12 | "Oct",
13 | "Nov",
14 | "Dec"
15 | ];
16 | const day = date.getDate();
17 | const monthIndex = date.getMonth();
18 | const year = date.getFullYear();
19 | return `${day} ${monthNames[monthIndex]} ${year}`;
20 | };
21 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/src/utils/weather.ts:
--------------------------------------------------------------------------------
1 | import axios from "axios";
2 |
3 | export const getCurrentWeather = async () => {
4 | let apiKey = "15e768797b4bf44b49979df29e6da67a";
5 | let city = "Stockholm";
6 | let url = `http://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${apiKey}&units=metric`;
7 | const response = await axios({ url, method: "get" });
8 | return response.data;
9 | };
10 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | /* Basic Options */
4 | "target": "ES2016" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
5 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6 | // "lib": [], /* Specify library files to be included in the compilation. */
7 | // "allowJs": true /* Allow javascript files to be compiled. */,
8 | // "checkJs": true, /* Report errors in .js files. */
9 | "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
10 | "declaration": true /* Generates corresponding '.d.ts' file. */,
11 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
12 | "sourceMap": true /* Generates corresponding '.map' file. */,
13 | // "outFile": "./", /* Concatenate and emit output to single file. */
14 | "outDir": "./dist" /* Redirect output structure to the directory. */,
15 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16 | // "composite": true, /* Enable project compilation */
17 | // "incremental": true, /* Enable incremental compilation */
18 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
19 | // "removeComments": true, /* Do not emit comments to output. */
20 | // "noEmit": true, /* Do not emit outputs. */
21 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */
22 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
23 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
24 |
25 | /* Strict Type-Checking Options */
26 | "strict": true /* Enable all strict type-checking options. */,
27 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
28 | // "strictNullChecks": true, /* Enable strict null checks. */
29 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */
30 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
31 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
32 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
33 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
34 |
35 | /* Additional Checks */
36 | // "noUnusedLocals": true, /* Report errors on unused locals. */
37 | // "noUnusedParameters": true, /* Report errors on unused parameters. */
38 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
39 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
40 |
41 | /* Module Resolution Options */
42 | "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
43 | // "baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
44 | // "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
45 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
46 | // "typeRoots": [], /* List of folders to include type definitions from. */
47 | // "types": [] /* Type declaration files to be included in compilation. */,
48 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
50 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
51 |
52 | /* Source Map Options */
53 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
54 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
55 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
56 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
57 |
58 | /* Experimental Options */
59 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
60 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
61 | "resolveJsonModule": true
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/react-nodegui/weather-app-widget/weather_widget_mac.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodegui/examples/24233911a5b36977dd08bd16d8175413aac0ce82/react-nodegui/weather-app-widget/weather_widget_mac.png
--------------------------------------------------------------------------------