diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-04-17 08:49:39 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-04-17 08:50:13 +0300 |
commit | 4a93c4f745c32e3dc6b438c860a175666e5634c7 (patch) | |
tree | d602bd4abef2faff7d02ad1e42534a55894e73fc | |
parent | 752b42e182a60065bd95f0d24c887e1a9230b355 (diff) |
Add build and test npm scripts
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 8159ffc..d00c8ec 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,13 @@ "version": "1.0.0", "description": "Demo project for building a Bootstrap powered site via npm.", "scripts": { + "build": "npm run css", "css-compile": "node-sass --include-path node_modules --output-style compressed --source-map true --source-map-contents true --precision 6 scss -o assets/css/", "css-prefix": "postcss --replace assets/css/starter.css --use autoprefixer --map", "css": "npm run css-compile && npm run css-prefix", "server": "serve --listen 3000", "watch": "nodemon -e html,scss -x \"npm run css\"", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "npm run css" }, "keywords": [ "bootstrap", |