Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove grunt #580

Merged
merged 18 commits into from
May 31, 2016
Merged

Remove grunt #580

merged 18 commits into from
May 31, 2016

Conversation

jbeezley
Copy link
Contributor

This PR is mostly to remove grunt from the build process. As an alternative, a script builds all of the jade templates for the examples into html. Webpack is used to build all of the dependency into one main bundle that all of the examples use.

A few other changes are implemented here as well:

  • Updated the npm dependencies as well necessary style changes due to ESLint
  • Added several npm scripts
    • examples: build examples and start server on port 8082
    • start-test/stop-test: start and stop the express test server for selenium testing (uses forever to daemonize the process)
    • docs: build the api documentation
  • Added Style checking the example sources
  • Added an EditorConfig file
  • Turned on SELENIUM_TESTS by default because it is needed for downloading data for the examples. I would like to use an alternative mechanism for this, but I'll do that in a different PR.

@@ -0,0 +1,418 @@
/* Jison generated parser */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you meant to check in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did actually. As it exists on npm, jsonlint won't work with webpack. The library is small, so I copied it here and removed the offending code.

@codecov-io
Copy link

codecov-io commented May 31, 2016

Current coverage is 73.12%

Merging #580 into master will not change coverage

@@             master       #580   diff @@
==========================================
  Files            82         82          
  Lines          7216       7216          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           5276       5276          
  Misses         1940       1940          
  Partials          0          0          

Powered by Codecov. Last updated by 06f2f01...e09756c

@manthey
Copy link
Contributor

manthey commented May 31, 2016

LGTM.

@jbeezley jbeezley merged commit 85af24d into master May 31, 2016
@jbeezley jbeezley deleted the webpack-examples branch May 31, 2016 13:04
@aashish24
Copy link
Member

Farewell to Grunt 👏

@manthey manthey mentioned this pull request Jun 9, 2016
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.

4 participants