Skip to content

Conversation

@li-boxuan
Copy link

This PR contains a few commits, including:

Modernise React code and upgrade to v16.3
Update packages
Fix ESLint warnings
Fix Travis failure

blazeu and others added 17 commits November 19, 2017 22:18
Format `keywords` and `devDependencies` key.
Also commit package-lock.json file.
* Use `babel-preset-env` and `uglify-webpack-plugin`
* Set NODE_ENV to 'production' in production
* Disable sourcemap in production
* Extract css in production
* loaders -> rules
* loader -> use
Webpack >2 supports loading json out of the box.
The tests are broken, and xvfb start slows down the builds.
Additionally, remove `no-alert` and `no-console` from .eslintrc because
we use that frequently in the code.
Netlify does not like invoking multiple commands.
Refactor deprecated code and upgrade to React v16.3
Run ESLint on script & test directory and fix ESLint warnings.
1. Run script/run-test.sh on Travis.
   Modify test logic and abandon magic exit code 42.

2. Use npm-run-all instead of parallelshell.
   Upgrade ava, http-server, webdriver and webpack.

3. Uncomment xvfb start code in .travis.yml.
   Remove game functionality test code in
   test/index.js.
Use selenium-standalone instead of webdriver-manager.
@li-boxuan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants