diff --git a/index.html b/index.html
new file mode 100644
index 00000000..9c76bf19
--- /dev/null
+++ b/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+ ascribe
+
+
+
+
+
+
+
+
diff --git a/js/alt.js b/js/alt.js
new file mode 100644
index 00000000..76bd9bf3
--- /dev/null
+++ b/js/alt.js
@@ -0,0 +1,3 @@
+import Alt from 'alt';
+export default new Alt();
+
diff --git a/js/app.jsx b/js/app.jsx
new file mode 100644
index 00000000..1efc3180
--- /dev/null
+++ b/js/app.jsx
@@ -0,0 +1,10 @@
+'use strict';
+
+import React from 'react';
+import HelloApp from './components/hello_app';
+
+React.render(
+ ,
+ document.getElementById('alt-todo')
+);
+
diff --git a/js/bundle.js b/js/bundle.js
new file mode 100644
index 00000000..2cad3d98
--- /dev/null
+++ b/js/bundle.js
@@ -0,0 +1 @@
+console.error("\n/home/alberto/ascribe/repos/onion/js/app.jsx:3\nimport React from 'react';\n^\nParseError: 'import' and 'export' may appear only with 'sourceType: module'");
\ No newline at end of file
diff --git a/js/components/hello_app.jsx b/js/components/hello_app.jsx
new file mode 100644
index 00000000..3622e427
--- /dev/null
+++ b/js/components/hello_app.jsx
@@ -0,0 +1,11 @@
+import React from 'react';
+
+class TodoApp extends React.Component {
+ render () {
+ return (
+ ascribe all the things!
+ );
+ }
+};
+
+export default HelloreactApp;
diff --git a/package.json b/package.json
index 4c79f2fa..73431105 100644
--- a/package.json
+++ b/package.json
@@ -8,11 +8,17 @@
"react": "^0.12.2"
},
"devDependencies": {
- "browserify": "^8.0.3",
- "reactify": "^0.17.1"
+ "browserify": "^6.2.0",
+ "envify": "^3.0.0",
+ "jest-cli": "^0.4.3",
+ "reactify": "^0.15.2",
+ "uglify-js": "~2.4.15",
+ "watchify": "^2.1.1"
},
"scripts": {
- "build": "browserify -t [reactify --es6] src/app.jsx > build/app.js"
+ "start": "watchify -o js/bundle.js -v -d js/app.jsx",
+ "build": "browserify -t [reactify --es6] src/app.jsx > build/app.js",
+ "test": "jest"
},
"author": "Alberto Granzotto "
}