diff --git a/.babelrc b/.babelrc
index 558736d..715744e 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,4 +1,13 @@
{
- "presets": ["@babel/preset-env"],
+ "presets": [
+ [
+ "@babel/preset-env",
+ {
+ "targets": {
+ "esmodules": true
+ }
+ }
+ ]
+ ],
"plugins": ["@babel/plugin-transform-react-jsx"]
-}
+}
\ No newline at end of file
diff --git a/.eslintrc b/.eslintrc
index 8b5beb1..dc0266c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -12,5 +12,6 @@
"jsx-a11y/alt-text": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0
- }
+ },
+ "ignorePatterns": "/lib"
}
diff --git a/.gitignore b/.gitignore
index 55371e5..ad4e056 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
node_modules
-.vscode
\ No newline at end of file
+.vscode
+.npmrc
+dist
\ No newline at end of file
diff --git a/README.md b/README.md
index 87412c4..e409a6f 100644
--- a/README.md
+++ b/README.md
@@ -1,36 +1,56 @@
-# ReactXpress
+# Reactend / Express
-**React renderer to build Node.js server**
+React-like http-server on Nodejs
-![Planet Express](public/logo.svg)
+![Planet Express](./logo.svg)
+
-### Why?
+## Why?
It's the only crazy idea to use React to structure Backend on Node.js.
-
+
-### How it works?
+## How it works?
It works with express.js framework to run Node.js server. Custom renderer we have is building express structure app from React Components.
-
+
+
+## Install
+
+### Install the package
+
+`npm i --save @reactend/express`
+or
+`yarn add @reactend/express`
+
-### Code Example
+### Install peer dependecies
+
+`npm i --save react react-dom react-helmet styled-components`
+or
+`yarn add react react-dom react-helmet styled-components`
+
+
+
+## Code Example
```js
import React from 'react';
import { resolve } from 'path';
-import { ReactXpress, App, Static, Router, Get, Post, Res } from '../lib';
-const HomePage = () =>
- UserID: {userId} / PostID: {id} -
-Body: {body}
-
- {`
- {`
- {`
- {`
- {`
- {`
- {`
- {`
- {`
- {`
Sorry for this, better page is in process...
-