Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielecanepa/webpack-starter
Ready-to-use webpack starter including inbuilt ESLint, Sass and env support 📦
https://github.com/gabrielecanepa/webpack-starter
babel es6 eslint sass webpack webpack-starter webpack-template
Last synced: 25 days ago
JSON representation
Ready-to-use webpack starter including inbuilt ESLint, Sass and env support 📦
- Host: GitHub
- URL: https://github.com/gabrielecanepa/webpack-starter
- Owner: gabrielecanepa
- License: mit
- Created: 2022-05-11T17:07:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-13T15:24:44.000Z (about 1 year ago)
- Last Synced: 2023-10-14T14:50:35.635Z (about 1 year ago)
- Topics: babel, es6, eslint, sass, webpack, webpack-starter, webpack-template
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webpack Starter
Ready-to-use webpack starter including:
- [webpack](https://webpack.js.org)
- [Babel](https://babeljs.io) with the latest preset
- [ESLint](https://eslint.org)
- [Sass](http://sass-lang.com) with [stylelint](https://stylelint.io) and hot reloading
- Auto-loaded `.env` fileAnd other useful loaders and linters.
## Usage
Clone the repository to your computer. You must have [Node.js](https://nodejs.org) (> v4) and [Yarn](https://yarnpkg.com/lang/en/docs/install) installed:
```bash
git clone [email protected]:gabrielecanepa/webpack-starter.git my-project
# or
gh repo clone gabrielecanepa/webpack-starter my-projectcd my-project
# Install packages and run the app
yarn setup
```### Scripts
Some scripts are already provided in your `package.json`.
To start a local server on port `8080`:
```bash
yarn start
# or in development mode
yarn dev
```To lint all your JavaScript and CSS and SCSS files:
```bash
yarn lint
```To build the static files:
```bash
yarn build
```