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

Intuitive approach running examples #15

Closed
3 tasks done
doodlewind opened this issue Jan 3, 2018 · 1 comment
Closed
3 tasks done

Intuitive approach running examples #15

doodlewind opened this issue Jan 3, 2018 · 1 comment

Comments

@doodlewind
Copy link
Owner

doodlewind commented Jan 3, 2018

For now examples are built by npm scripts, which was a workaround for build test. Now that Ava is integreted, this is no longer necessary. So we need new way running examples. Requirements:

  • Running examples does not couple with main package.json.
  • Example can have more side effect like HTML view and network request, with its standalone package.json or simply run in node.
  • All examples should have similiar way of running, with a unified README in examples folder.
@doodlewind
Copy link
Owner Author

Done! npm run example -- args works great for this.

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

No branches or pull requests

1 participant