Skip to content

Commit 718dcd1

Browse files
authored
Merge pull request #108 from team-reactype/development
1.0 master merge
2 parents 41ab6c2 + 96ab6c9 commit 718dcd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+896
-1806
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ ASALocalRun/
480480
.mfractor/
481481

482482
# DMG File
483-
React-Proto.dmg
483+
reactype.dmg
484484
installers/
485485

486486
# End of https://www.gitignore.io/api/node,linux,macos,windows,visualstudio,yarn

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ ASALocalRun/
477477
.mfractor/
478478

479479
# DMG File
480-
React-Proto.dmg
480+
reactype.dmg
481481
installers/
482482
assets/
483483
.git/

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# ReacType
22

3-
43
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/team-reactype/ReacType/pulls)
54
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
65

76
**ReacType** is a visual prototyping tool for developers employing **React** component architecture alongside the comprehensive type checking of **TypeScript**.
87

98
**ReacType** allows the user to _visualize_ their application architecture dynamically, employing a _canvas display_, an _application tree_, and a _component code preview_. The user can create components and load _instances_ of these components, as well as nested HTML elements, onto the canvas. This architecture can then be _exported_ as TypeScript application files to be used as a starter template for any repository.
109

11-
Download for [MacOS](), [Windows](), [Linux]().
10+
Download for [MacOS](), [Windows](), [Linux]().
11+
12+
![Image of ReacType Application](https://i.imgur.com/2sefnAk.jpg)
1213

1314
### How to use
1415

@@ -19,10 +20,12 @@
1920
- The bottom panel allows the user to toggle between 4 different views: a tree diagram of the application, a preview of the exportable code, a form to enter component props, and a form to add HTML attributes.
2021
- **_Props_** can be added to each component within its tab on bottom panel. Enter in a _key-value pair_, select its data _type_ and press the bottom 'ADD PROP'.
2122
- **_HTML Element Attributes_** of class name and ID can be added to each HTML element after an HTML element has been rendered to the canvas.
22-
- To **_delete_** a _child_ or instance from the canvas, select the desired instance and either press the _delete_ key or click the 'DELETE CHILD' button.
23+
- To **_delete_** a _child_ or instance from the canvas, select the desired instance and either press the _delete_ key.
2324
- To **_delete_** a _component_, click the 'DELETE' button of the desired component in the left panel.
2425
- To _start over_, select the blue 'CLEAR WORKSPACE' button in the left panel. This will **clear the entire application**.
2526

27+
![Image of ReacType Application 2](https://i.imgur.com/OCJ8nnw.png)
28+
2629
### To Export Files
2730

2831
- Once finished setting up the application template, press the green 'EXPORT PROJECT' button at the bottom of the left panel and choose between two options to export your files:

electron-builder.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ linux:
77
target:
88
- AppImage
99
- deb
10-
maintainer: test@gmail.com
10+
maintainer: spincycle01@yahoo.com
1111
mac:
1212
category: public.app-category.developer-tools
1313
target: dmg

main.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
const path = require('path');
2+
13
const {
24
app, BrowserWindow, Menu, shell, dialog, ipcMain,
35
} = require('electron');
46

57
// Uncomment below for hot reloading during development
6-
require('electron-reload')(__dirname);
8+
// require('electron-reload')(__dirname);
79

810
// const isDev = true;
911
const isDev = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test';
@@ -65,6 +67,7 @@ const createWindow = () => {
6567
'node-Integration': false,
6668
},
6769
show: false,
70+
icon: path.join(__dirname, '/src/public/icons/mac/icon.icns'),
6871
});
6972

7073
// and load the index.html of the app.

0 commit comments

Comments
 (0)