Skip to content

Commit cf05e22

Browse files
committed
first commit
0 parents  commit cf05e22

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

.babelrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"presets": ["es2015", "stage-0", "react"]}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# incaya-hello
2+
An incredible hello react component
3+
4+
```javascript
5+
import IncayaHello from 'IncayaHello';
6+
<IncayaHello />
7+
```

incayahello.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
3+
class IncayaHello extends React.Component {
4+
render() {
5+
return (
6+
<div>Hello Incaya!</div>
7+
)
8+
}
9+
}
10+
11+
export default IncayaHello;

package.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "incaya-hello",
3+
"version": "1.0.0",
4+
"description": "an incredible hello react component",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"build": "./node_modules/.bin/babel incayahello.js -o index.js",
9+
"prepublish": "npm run build"
10+
},
11+
"author": "Incaya",
12+
"license": "ISC",
13+
"dependencies": {
14+
"react": "^15.1.0"
15+
},
16+
"devDependencies": {
17+
"babel-cli": "^6.10.1",
18+
"babel-preset-es2015": "^6.9.0",
19+
"babel-preset-react": "^6.5.0",
20+
"babel-preset-stage-0": "^6.5.0"
21+
}
22+
}

0 commit comments

Comments
 (0)