UI Components written in ES6. Nothing artificial, all organic!
- IE 10/11
- All evergreen browsers:
- Edge
- Chrome
- Safari
- Firefox
.
├── lib # Compiled library (ES5)
├── src # ES6 Source files
├── docs # Documentation files
├── test # Automated tests
├── tools # Tools and utilities
├── .babelrc # Babel configuration
├── .eslint # eslint configuration
├── webpack.config.js # webpack configuration
├── package.json # npm configuration
├── LICENSE
└── README.md
- Setting up the name of your library
- Open
webpack.config.jsfile and change the value oflibraryNamevariable. - Open
package.jsonfile and change the value ofmainproperty so it matches the name of your library.
- Build your library
- Run
npm installto get the project's dependencies - Run
npm run buildto produce minified version of your library.
- Development mode
- Having all the dependencies installed run
npm run dev. This command will generate an non-minified version of your library and will run a watcher so you get the compilation on file change.
- Running the tests
- Run
npm run test
npm run build- produces production version of your library under thelibfoldernpm run dev- produces development version of your library and runs a watchernpm run test- well ... it runs the tests :)