@lmjs/core 1.0.1 → 1.0.3

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 (4) hide show
  1. package/README.md +2 -91
  2. package/index.js +14 -0
  3. package/package.json +10 -27
  4. package/uws.js +0 -7
package/README.md CHANGED
@@ -1,92 +1,3 @@
1
- ![LumenJS Reactive JavaScript Framework](https://lumen.bea.com.lb/lmjs.svg)
2
-
3
- # LumenJS Reactive JavaScript Framework
4
-
5
- LumenJS is a tiny robust reactive javascript framework for building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript.
6
- <a href="https://lumen.bea.com.lb/" target="_blank">LumenJS Documentation</a>
7
-
8
-
9
-
10
- LumenJS comes along with MobiusCSS library which is a utility-first CSS framework packed with grid and table sectioning systems and classes like g, mt20, pv100, c and sq that can be composed to build any design, directly in your markup.
11
- <a href="https://mobius.bea.com.lb/" target="_blank">MobiusCSS Documentation</a>
12
-
13
- &nbsp;
14
-
15
- ## Installation
16
- Using npm:
17
- ```
18
- npm install -g @lmjs/cli
19
- ```
20
-
21
- &nbsp;
22
-
23
- ## USAGE
24
- Create A New Project
25
- ```
26
- lm create My Project Name
27
- ```
28
- You can use lu, lm, or lumen as a command.
29
-
30
- &nbsp;
31
-
32
- Run The Project
33
- ```
34
- lm serve
35
- ```
36
-
37
- &nbsp;
38
-
39
- Create A View
40
- ```
41
- lm create -v myview
42
- ```
43
-
44
- &nbsp;
45
-
46
- Create A Sub View
47
- ```
48
- lm create -s mysubview
49
- ```
50
-
51
- &nbsp;
52
-
53
- Create A Component Template
54
- ```
55
- lm create -c mycomponent
56
- ```
57
-
58
- &nbsp;
59
-
60
- Purge Offline Cache Files (For Offline Usage)
61
- ```
62
- lm purge
63
- ```
64
-
65
- &nbsp;
66
-
67
- Build A Dist For Production Version + NodeJs Server
68
- ```
69
- lm build
70
- ```
71
-
72
- &nbsp;
73
-
74
- Build A Dist For Production Version + NodeJs Server & Deploy It Directly
75
- ```
76
- lm build --deploy
77
- ```
78
-
79
- &nbsp;
80
-
81
- Build A Dist For Production Version without NodeJs Server
82
- ```
83
- lm build --serverless
84
- ```
85
-
86
- &nbsp;
87
-
88
- Build A Dist For Production Version without NodeJs Server & Deploy It Directly
89
- ```
90
- lm build --serverless --deploy
91
- ```
1
+ ![LumenJS Reactive JavaScript Framework](https://www.lumenjs.com/images/lumenjs.svg)
92
2
 
3
+ # LumenJS Reactive JavaScript Framework Core
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Authored by BEA Technology Company, 2016-2022.
3
+ * Intellectual property of third-party.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ * Unless required by applicable law or agreed to in writing, software
9
+ * distributed under the License is distributed on an "AS IS" BASIS,
10
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ * See the License for the specific language governing permissions and
12
+ * limitations under the License.
13
+ * https://www.bea.com.lb/
14
+ */
package/package.json CHANGED
@@ -1,19 +1,8 @@
1
1
  {
2
2
  "name": "@lmjs/core",
3
- "types": "./index.d.ts",
4
- "version": "1.0.1",
3
+ "version": "1.0.3",
5
4
  "description": "LumenJS Core",
6
- "main": "uws.js",
7
- "bin": {
8
- "lm": "./bin/commands.js",
9
- "lu": "./bin/commands.js",
10
- "lumen": "./bin/commands.js"
11
- },
12
- "files": [
13
- "bin/",
14
- "lib/",
15
- "index.js"
16
- ],
5
+ "main": "index.js",
17
6
  "keywords": [
18
7
  "lu",
19
8
  "lm",
@@ -32,34 +21,28 @@
32
21
  "tiny",
33
22
  "lumen-cli",
34
23
  "bea.com.lb",
24
+ "lumenjs.com",
35
25
  "lumin",
36
26
  "beajs",
37
27
  "lumen bea"
38
28
  ],
39
29
  "dependencies": {
30
+ "compression": "^1.7.4",
31
+ "cookie-parser": "^1.4.6",
32
+ "express": "^4.18.1",
33
+ "express-session": "^1.17.3",
40
34
  "axios": "^0.27.2",
41
35
  "ftp-deploy": "^2.4.3",
42
36
  "multer": "^1.4.5-lts.1",
43
37
  "nodemon": "^2.0.16",
44
38
  "ora": "^6.1.2",
45
39
  "semver": "^7.3.7",
46
- "uglify-js": "^3.16.0"
47
- },
48
- "engines": {
49
- "node": ">=12.0.0"
50
- },
51
- "scripts": {
52
- "requirements-check": "node ./lib/check-version.js",
53
- "postinstall": "npm run requirements-check",
54
- "build": "lm serve"
40
+ "uglify-js": "^3.16.0",
41
+ "ws": "^8.8.1"
55
42
  },
56
43
  "author": {
57
44
  "name": "BEA Technology Company",
58
45
  "email": "info@bea.com.lb"
59
46
  },
60
- "license": "MIT",
61
- "repository": {
62
- "type": "git",
63
- "url": "git+https://github.com/bea-company/lmjs-cli.git"
64
- }
47
+ "license": "MIT"
65
48
  }
package/uws.js DELETED
@@ -1,7 +0,0 @@
1
- module.exports = (() => {
2
- try {
3
- return require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node');
4
- } catch (e) {
5
- throw new Error('This version of uWS.js supports only Node.js 14, 16 and 18 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).\n\n' + e.toString());
6
- }
7
- })();