File tree 2 files changed +32
-6
lines changed
2 files changed +32
-6
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "propertyOrdering": false,
3
+ "hexLength": "short",
4
+ "stringQuotes": false,
5
+ "decimalZero": false,
6
+ "importantRule": false,
7
+ "zeroUnit": "no_unit",
8
+ "qualifyingElement": false,
9
+ "duplicateProperty": false,
10
+ "importPath": false,
11
+ "finalNewline": false,
12
+ "spaceAroundComma": false,
13
+
14
+ "fileExtensions": [".less", ".css"],
15
+ "excludedFiles": [
16
+ "test.less"
17
+ ]
18
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react-hello-world" ,
3
- "version" : " 0.0.1" ,
4
- "description" : " React Project Boilerplate, with React + Babel + Webpack" ,
5
- "author" : " jiangxiyang" ,
2
+ "name" : " react-antd-admin" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " React Admin Boilerplate, with React + Ant Design" ,
5
+ "author" :
" jiangxy <[email protected] >" ,
6
+ "license" : " Apache-2.0" ,
6
7
"engines" : {
7
8
"node" : " >=5.0 <7" ,
8
9
"npm" : " >=3.3 <4"
9
10
},
11
+ "keywords" : [
12
+ " ant" ,
13
+ " react" ,
14
+ " admin" ,
15
+ " frontend"
16
+ ],
10
17
"devDependencies" : {
11
18
"antd" : " 1.6.3" ,
12
19
"babel-core" : " 6.4.5" ,
24
31
"file-loader" : " 0.9.0" ,
25
32
"less" : " 2.7.1" ,
26
33
"less-loader" : " 2.2.3" ,
34
+ "lesshint" : " 2.0.2" ,
27
35
"react" : " 15.0.2" ,
28
36
"react-cookie" : " 0.4.7" ,
29
37
"react-dom" : " 15.0.2" ,
43
51
"prod" : " NODE_ENV=production webpack --progress --colors --config webpack.config.prod.js" ,
44
52
"clean" : " rm dist/bundle*" ,
45
53
"dev" : " webpack-dev-server --devtool eval --progress --colors --content-base dist --hot --inline" ,
46
- "eslint" : " eslint --ext .js,.jsx src --fix " ,
54
+ "eslint" : " eslint --ext .js,.jsx src" ,
47
55
"stylelint" : " stylelint \" src/**/*.css\" " ,
48
- "lint " : " npm run eslint && npm run stylelint "
56
+ "lesshint " : " lesshint src/ "
49
57
}
50
58
}
You can’t perform that action at this time.
0 commit comments