@reactful/create 0.1.15 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.1.15",
3
+ "version": "1.1.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",
7
7
  "author": "jonathan de sena ribeiro <jsenaribeiro@gmail.com>",
8
- "bin": { "@reactful/create": "index.js" },
8
+ "bin": {
9
+ "@reactful/create": "index.js"
10
+ },
9
11
  "files": [
10
12
  "index.js",
11
13
  "package.json",
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="Home page" >
7
+ <title>Welcome</title>
8
+ </head>
9
+ <body>
10
+ <h2>Minimal Template</h2>
11
+ </body>
12
+ </html>
@@ -0,0 +1,9 @@
1
+ import React from "react"
2
+
3
+ interface Props {
4
+ name?: string
5
+ }
6
+
7
+ export const Hello = (props: Props) => <>
8
+ <h1>Hello { props.name || "World"} !</h1>
9
+ </>
@@ -0,0 +1 @@
1
+ export * from './hello'
@@ -1,5 +0,0 @@
1
- import React from "react"
2
-
3
- export default () => <>
4
- <h2>Empty Template</h2>
5
- </>