Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tgdev/modern-js-starter
A small set of tools to get a modern javascript project up and running
https://github.com/tgdev/modern-js-starter
babel es6 jest webpack3
Last synced: 12 days ago
JSON representation
A small set of tools to get a modern javascript project up and running
- Host: GitHub
- URL: https://github.com/tgdev/modern-js-starter
- Owner: tgdev
- License: mit
- Created: 2017-11-12T04:04:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-13T03:22:54.000Z (about 7 years ago)
- Last Synced: 2024-12-02T05:12:30.609Z (2 months ago)
- Topics: babel, es6, jest, webpack3
- Language: JavaScript
- Homepage:
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modern JS Starter
A small set of tools to get a modern javascript project up and running.
### Dependencies
- Node (v8.9.1)
- Yarn (v1.3.2)### Tools provided
- **Babel:** ES6 support
- **ESLint:** File linting
- **Webpack:** Asset bundling
- **Jest:** Unit testing### Getting started
1. **Clone the repo**
```bash
git clone https://github.com/tgdev/modern-js-starter.git
```2. **Setup the project**
```bash
yarn setup
```- Deletes the cloned origin repo (`.git`)
- Updates `package.json` to match your project's details
- Installs dependencies3. **Fire up local dev server**
```bash
yarn start
```- Watches `js` tests
- Watches `js` files for lint errors
- Opens new browser tab at `http://localhost:8080`4. **Review demo folder**
A dummy function and accompanying test exist in `src/demo/`. You can delete this folder and its contents whenever you like. (Also remember to remove the import from `src/index.js`)
### Where's that cool thing I like?
**Looking for React? Redux? MobX? CSS-modules? CSS-in-JS? Angular? Enzyme? Immutable? Hot reloading?**
Feel free to fork this repo and build upon it.
_This really is just a bare bones starting point to use the latest features of ES6 and provide decent unit testing via Jest._
### Contributing
This has really been created for my own personal use so I'm not really looking to build it out. Plus there's a gajillion boilerplate, starter-kits out there so make sure you check those out.