2017-03-22 16:10:37 +03:00
|
|
|
# Hacking Material Design for Bootstrap
|
2017-03-22 15:54:15 +03:00
|
|
|
|
2017-10-20 17:18:17 +03:00
|
|
|
This project makes use Rollup and node-sass to build its assets.
|
2017-03-22 15:54:15 +03:00
|
|
|
|
2017-10-20 17:18:17 +03:00
|
|
|
To watch all the files and get the compiled ones in the `dist/` folder, just run:
|
2017-03-22 15:54:15 +03:00
|
|
|
|
|
|
|
```
|
2017-10-20 17:18:17 +03:00
|
|
|
npm run watch
|
2017-03-22 15:54:15 +03:00
|
|
|
```
|
|
|
|
|
2017-10-20 17:18:17 +03:00
|
|
|
You can also watch CSS or JS individually running:
|
2017-03-22 15:54:15 +03:00
|
|
|
|
|
|
|
```
|
2017-10-20 17:18:17 +03:00
|
|
|
npm run watch:css
|
|
|
|
# or
|
|
|
|
npm run watch:js
|
2017-03-22 15:54:15 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
To trigger the relative task and run it.
|
2017-10-20 17:18:17 +03:00
|
|
|
|
|
|
|
If you desire to compile the project for production, genering also the minified versions of it, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
Or if you prefer to compile only CSS or JS individually without minification:
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run build:css
|
|
|
|
# or
|
|
|
|
npm run build:js
|
|
|
|
```
|
|
|
|
|
|
|
|
If you desire them to be minified, instead, run:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run build:css-min
|
|
|
|
# or
|
|
|
|
npm run build:js-min
|
|
|
|
```
|
|
|
|
|
|
|
|
To compile and minify the files.
|