Add stylelint
This commit is contained in:
parent
291634c10f
commit
994006f527
@ -100,6 +100,7 @@
|
|||||||
"copy-webpack-plugin": "^3.0.1",
|
"copy-webpack-plugin": "^3.0.1",
|
||||||
"cross-env": "^3.2.4",
|
"cross-env": "^3.2.4",
|
||||||
"css-loader": "^0.25.0",
|
"css-loader": "^0.25.0",
|
||||||
|
"directory-tree": "^2.1.0",
|
||||||
"eslint": "^3.4.0",
|
"eslint": "^3.4.0",
|
||||||
"eslint-config-angular": "^0.5.0",
|
"eslint-config-angular": "^0.5.0",
|
||||||
"eslint-loader": "^1.5.0",
|
"eslint-loader": "^1.5.0",
|
||||||
@ -112,6 +113,7 @@
|
|||||||
"html-minifier-loader": "^1.3.4",
|
"html-minifier-loader": "^1.3.4",
|
||||||
"html-webpack-plugin": "^2.30.1",
|
"html-webpack-plugin": "^2.30.1",
|
||||||
"img-loader": "^1.3.1",
|
"img-loader": "^1.3.1",
|
||||||
|
"jsonminify": "^0.4.1",
|
||||||
"less": "^2.7.1",
|
"less": "^2.7.1",
|
||||||
"less-loader": "^2.2.3",
|
"less-loader": "^2.2.3",
|
||||||
"ng-annotate-loader": "^0.1.1",
|
"ng-annotate-loader": "^0.1.1",
|
||||||
@ -122,14 +124,18 @@
|
|||||||
"react-hot-loader": "^3.0.0-beta.6",
|
"react-hot-loader": "^3.0.0-beta.6",
|
||||||
"sass-loader": "^4.0.2",
|
"sass-loader": "^4.0.2",
|
||||||
"style-loader": "^0.13.1",
|
"style-loader": "^0.13.1",
|
||||||
|
"stylelint": "^9.5.0",
|
||||||
|
"stylelint-config-recommended-scss": "^3.2.0",
|
||||||
|
"stylelint-config-standard": "^18.2.0",
|
||||||
|
"stylelint-order": "^1.0.0",
|
||||||
|
"stylelint-scss": "^3.3.0",
|
||||||
|
"stylelint-webpack-plugin": "^0.10.5",
|
||||||
"url-loader": "^0.5.7",
|
"url-loader": "^0.5.7",
|
||||||
"webpack": "^1.13.2",
|
"webpack": "^1.13.2",
|
||||||
"webpack-dev-middleware": "^1.6.1",
|
"webpack-dev-middleware": "^1.6.1",
|
||||||
"webpack-dev-server": "^1.15.1",
|
"webpack-dev-server": "^1.15.1",
|
||||||
"webpack-hot-middleware": "^2.12.2",
|
"webpack-hot-middleware": "^2.12.2",
|
||||||
"webpack-material-design-icons": "^0.1.0",
|
"webpack-material-design-icons": "^0.1.0"
|
||||||
"directory-tree": "^2.1.0",
|
|
||||||
"jsonminify": "^0.4.1"
|
|
||||||
},
|
},
|
||||||
"engine": "node >= 5.9.0",
|
"engine": "node >= 5.9.0",
|
||||||
"nyc": {
|
"nyc": {
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
|
const StyleLintPlugin = require('stylelint-webpack-plugin')
|
||||||
|
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const dirTree = require('directory-tree');
|
const dirTree = require('directory-tree');
|
||||||
@ -76,6 +78,7 @@ module.exports = {
|
|||||||
title: 'ThingsBoard',
|
title: 'ThingsBoard',
|
||||||
inject: 'body',
|
inject: 'body',
|
||||||
}),
|
}),
|
||||||
|
new StyleLintPlugin(),
|
||||||
new webpack.optimize.OccurrenceOrderPlugin(),
|
new webpack.optimize.OccurrenceOrderPlugin(),
|
||||||
new webpack.NoErrorsPlugin(),
|
new webpack.NoErrorsPlugin(),
|
||||||
new ExtractTextPlugin('style.[contentHash].css', {
|
new ExtractTextPlugin('style.[contentHash].css', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user