Commit 4c4a54d7 authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил функциональность линтинга стилей

parent c43f7971
This diff is collapsed.
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Start a library of blocks and technical solutions for HTML/CSS/js page layout.", "description": "Start a library of blocks and technical solutions for HTML/CSS/js page layout.",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "node_modules/.bin/stylelint ./src/**/*.less",
"start": "./node_modules/.bin/gulp", "start": "./node_modules/.bin/gulp",
"deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy" "deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy",
"precommit": "npm test"
}, },
"author": "Nikolay Gromov", "author": "Nikolay Gromov",
"license": "MIT", "license": "MIT",
...@@ -28,7 +29,7 @@ ...@@ -28,7 +29,7 @@
"gulp-gh-pages": "^0.5.4", "gulp-gh-pages": "^0.5.4",
"gulp-if": "^2.0.0", "gulp-if": "^2.0.0",
"gulp-imagemin": "^2.4.0", "gulp-imagemin": "^2.4.0",
"gulp-less": "^3.0.5", "gulp-less": "^3.1.0",
"gulp-newer": "^1.1.0", "gulp-newer": "^1.1.0",
"gulp-notify": "^2.2.0", "gulp-notify": "^2.2.0",
"gulp-postcss": "^6.1.0", "gulp-postcss": "^6.1.0",
...@@ -40,7 +41,9 @@ ...@@ -40,7 +41,9 @@
"gulp-svgstore": "^5.0.5", "gulp-svgstore": "^5.0.5",
"gulp-uglify": "^1.5.2", "gulp-uglify": "^1.5.2",
"imagemin-pngquant": "^4.2.0", "imagemin-pngquant": "^4.2.0",
"mkdirp": "^0.5.1" "mkdirp": "^0.5.1",
"stylelint": "^7.1.0",
"stylelint-declaration-use-variable": "^1.5.0"
}, },
"config": { "config": {
"ghPages": "http://nicothin.github.io/NTH-start-project/blocks_library.html", "ghPages": "http://nicothin.github.io/NTH-start-project/blocks_library.html",
......
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