Commit d8c89828 authored by David Haynes's avatar David Haynes 🙆

NODE MODULE

parent 300e064e
Pipeline #1488 passed with stage
in 32 seconds
......@@ -3,11 +3,6 @@ image: node:latest
build:
stage: build
script:
- apt-get update
- apt-get install software-properties-common python-software-properties -y
- add-apt-repository ppa:tista/build -y
- apt-get update
- apt-get install libsass -y
- yarn
- npm run build-masonstrap
artifacts:
......
......@@ -10,6 +10,7 @@
"bootstrap": "4.0.0-beta",
"clean-css-cli": "^4.1.6",
"jquery": "^3.2.1",
"node-sass": "^4.5.3",
"npm-run-all": "^4.0.2",
"popper.js": "^1.11.1",
"postcss-cli": "^4.1.0",
......@@ -18,7 +19,7 @@
},
"scripts": {
"sass-lint": "stylelint ./masonstrap/*.scss --syntax scss",
"sass-compile": "sass ./masonstrap/masonstrap.scss ./masonstrap/masonstrap.css",
"sass-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 ./masonstrap/masonstrap.scss ./masonstrap/masonstrap.css",
"sass-prefix": "npx postcss masonstrap/masonstrap.css --use autoprefixer -d ./masonstrap/",
"sass-minify": "cleancss --source-map --source-map-inline-sources -o masonstrap/masonstrap.min.css masonstrap/masonstrap.css",
"build-masonstrap": "npm-run-all sass-lint sass-compile sass-prefix sass-minify"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment