Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/heldrida/vanilla-typescript-babel-sass-boilerplate
- Owner: heldrida
- Created: 2020-07-08T14:23:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T10:57:34.000Z (about 2 years ago)
- Last Synced: 2024-12-30T10:19:12.779Z (about 1 month ago)
- Language: TypeScript
- Size: 4.04 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
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/)