commit 370b5cc7fabf9df0f2b0c7cc58280432cbebe1cb Author: Benjamin Boudreau Date: Sat May 26 14:53:54 2018 -0400 initial setup of widget diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..bedb322 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,16 @@ +{ + "env": { + "browser": true, + "jest": true + }, + "parser": "babel-eslint", + "extends": "airbnb", + "rules": { + "semi": [2, "never"], + "no-underscore-dangle": 0 + }, + "plugins": ["react"], + "settings": { + "import/resolver": "webpack" + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/README.md b/README.md new file mode 100644 index 0000000..9a24266 --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +# Embeddable React Widget + +Easy creation of an embeddable widget. + +## Goal + +The create-react-app of embeddable widgets. + +## Features + +* Full ES6/ES2015 support (with Babel) +* Package fonts, css, json, javascripts together into one simple repository (with Webpack) +* No css tyling conflicts between the host page and the widget (with https://github.com/premasagar/cleanslate) +* Obfuscating of the widget code + +## What is an emeddable widget? + +* Usable using a simple `