@usman404/crowjs 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +41 -0
  2. package/package.json +2 -2
package/index.js ADDED
@@ -0,0 +1,41 @@
1
+ // Core
2
+ const Root = require('./Core/Root');
3
+ const Component = require('./Core/Component');
4
+ const GUIEvent = require('./Core/GUIEvent/GUIEvent');
5
+ const KeyboardEvent = require('./Core/GUIEvent/KeyboardEvent');
6
+ const MouseEvent = require('./Core/GUIEvent/MouseEvent');
7
+
8
+ // Frames
9
+ const DummyFrame = require('./Frames/DummyFrame');
10
+ const Frame = require('./Frames/Frame');
11
+ const FrameComponent = require('./Frames/FrameComponent');
12
+ const GridFrame = require('./Frames/GridFrame');
13
+ const ScrollFrame = require('./Frames/ScrollFrame');
14
+
15
+ // UIComponents
16
+ const Input = require('./UIComponents/Input');
17
+ const Label = require('./UIComponents/Label');
18
+ const TextField = require('./UIComponents/TextField');
19
+ const UIComponent = require('./UIComponents/UIComponent');
20
+
21
+ module.exports = {
22
+ // Core
23
+ Component,
24
+ Root,
25
+ GUIEvent,
26
+ KeyboardEvent,
27
+ MouseEvent,
28
+
29
+ // Frames
30
+ DummyFrame,
31
+ Frame,
32
+ FrameComponent,
33
+ GridFrame,
34
+ ScrollFrame,
35
+
36
+ // UIComponents
37
+ Input,
38
+ Label,
39
+ TextField,
40
+ UIComponent
41
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usman404/crowjs",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "lightweight and extensible GUI library built on top of p5.js",
5
5
  "keywords": [
6
6
  "CROWJS"
@@ -16,7 +16,7 @@
16
16
  "license": "MIT",
17
17
  "author": "Usman Ali",
18
18
  "type": "commonjs",
19
- "main": "sketch.js",
19
+ "main": "index.js",
20
20
  "scripts": {
21
21
  "test": "echo \"Error: no test specified\" && exit 1"
22
22
  }