Skip to content

0.6.0

Choose a tag to compare

@ashleymoogle ashleymoogle released this 26 Jan 10:24

##Reworks :

  • App react upgraded : css included and one more component with a few examples to help you start
  • Angular app redone : now has one component and css. This provide a good idea of a possible architecture for a component based angular app.

##Tests :

  • Jest added for react testing
  • Mochajs, Chai and Chai-as-promised added with two examples in the /test folder
  • Karma : Use yarn test on angular to use karma-webpack. Every test must be named *.spec.js ( *-spec.js for react-jest) and placed in __tests __
    Tests can be written in ES6 using mocha/chai/chai-as-promised and they run on PhantomJS. An example is available in the __tests __ folder.

##Build :

  • Webpack 2.2 ! webpack.config cleaned, mains libs added as external
  • More optimize plugins added to webpack, especially for production (uglify, commonchunk...)
  • vendor.bundle.js generated by webpack from duplicate code, yay !
  • reverted to npm install from yarn add because of unknown and disturbing error (watch you package.json in case libs are not registered in dependencies. You can find them in consts in interactive.js)
  • Babel presets set to latest