- Like I said, you probably don't want to…distribute your test files,…you don't need to transpile those either…and so we're going to add…right here, dash dash ignore,…star.test.js.…I should make a pull request to have that…be automatic, huh, that'd be cool.…So now you see in the output,…that it's only transpiling source,…index.js, not the test but the dist directory…still has my test file in there.…
That's not a big deal because I could just…delete it right, and it won't show up again.…But as I'm adding files and removing files,…that's not cool so what's better is to…clean everything up so that it's in a solid state…and then run the build.…And so with NPM scripts,…I can have something happen before any,…like a particular script…and that's done by using the term,…or creating a script with the term pre…and then you can say prebuild, for example.…
So before you run the build,…before you run the build script,…I want you to run this script…and the script that I want to run…is some command that will delete this.…So if I'm on a Mac, I'm going to say…
Note: This course was created by Frontend Masters. It was originally released on 08/09/2016. We're pleased to host this training in our library.
- Creating an open-source library
- Linting and testing
- Code coverage
- Installing and configuring Babel
- Peer dependencies
- Forking and renaming
- Continuous integration and automating releases
Skill Level Intermediate
1. Creating an Open-Source Library
2. Linting and Testing
3. Git Hooks, Babel, and Webpack
4. Continuous Integration and Automating Releases
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.