Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heldrida/vanilla-typescript-babel-sass-boilerplate

A vanilla Typescript, Babel, Sass Boilerplate setup with Webpack and hot reload
https://github.com/heldrida/vanilla-typescript-babel-sass-boilerplate

Last synced: about 1 month ago
JSON representation

A vanilla Typescript, Babel, Sass Boilerplate setup with Webpack and hot reload

Awesome Lists containing this project

README

        



# Vanilla Typescript+Babel+Sass Boilerplate

A Boilerplate for vanilla Typescript projects, transpiled by Babel and styled with Sass.

## Get started

Assuming that you have Nodejs and NPM/Yarn installed on your system (for the CLI, Bash scripts, this was developed in MacOS, so if running under windows make sure you use WSL - but it was not tested); Bellow, we use Yarn as an example but feel free to stick with NPM; You should proceed by running the commands listed bellow.

Before proceeding, you should instal the dependencies for the project:

```bash
yarn install
```

For development:

```bash
yarn start:dev
```

Build the distribution version for production by running:

```bash
yarn build
```

Run test watcher:

```bash
yarn test
```

Create `.spec.ts` files in the `/src` directory

This will output to the `dist` directory:

```txt
/dist
/project-name
/versionX
/css/main.min.css
/js/main.min.js
```

## License

Licensed under [WTFPL](http://www.wtfpl.net/)