Remove sass compilation stuff for now
This commit is contained in:
Родитель
93aec6989e
Коммит
d483f9b61e
31
Gruntfile.js
31
Gruntfile.js
|
@ -4,20 +4,6 @@ module.exports = function(grunt) {
|
|||
// Project configuration.
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
||||
// Compiles our Sass
|
||||
sass: {
|
||||
options: {
|
||||
precision: 6,
|
||||
sourceComments: false,
|
||||
outputStyle: 'compressed'
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'tmp/css/git-scm.css': 'app/assets/stylesheets/git-scm.scss'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Handle vendor prefixing
|
||||
autoprefixer: {
|
||||
options: {
|
||||
|
@ -56,23 +42,16 @@ module.exports = function(grunt) {
|
|||
],
|
||||
},
|
||||
|
||||
// Build tooling
|
||||
|
||||
watch: {
|
||||
sass: {
|
||||
files: 'scss/**/*.scss',
|
||||
tasks: ['sass', 'autoprefixer', 'parker']
|
||||
}
|
||||
},
|
||||
stylelint: {
|
||||
all: ['app/assets/**/*.scss']
|
||||
}
|
||||
});
|
||||
|
||||
// Load dependencies
|
||||
grunt.loadNpmTasks('grunt-autoprefixer');
|
||||
grunt.loadNpmTasks('grunt-build-control');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-parker');
|
||||
grunt.loadNpmTasks('grunt-sass');
|
||||
grunt.loadNpmTasks('grunt-stylelint');
|
||||
|
||||
// Generate and format the CSS
|
||||
grunt.registerTask('default', ['sass', 'autoprefixer', 'parker']);
|
||||
grunt.registerTask('default', ['stylelint', 'autoprefixer', 'parker']);
|
||||
};
|
||||
|
|
|
@ -7,17 +7,17 @@
|
|||
### tmp/css/git-scm.css
|
||||
|
||||
- **Total Stylesheets:** 1
|
||||
- **Total Stylesheet Size:** 82330
|
||||
- **Total Stylesheet Size:** 76185
|
||||
- **Total Media Queries:** 5
|
||||
- **Total Rules:** 660
|
||||
- **Selectors Per Rule:** 1.853030303030303
|
||||
- **Total Selectors:** 1223
|
||||
- **Identifiers Per Selector:** 3.659852820932134
|
||||
- **Specificity Per Selector:** 43.937040065412916
|
||||
- **Top Selector Specificity:** 310
|
||||
- **Top Selector Specificity Selector:** #flippy-book #book-cover.close #book-cover-outside
|
||||
- **Total Id Selectors:** 75
|
||||
- **Total Identifiers:** 4476
|
||||
- **Total Declarations:** 1679
|
||||
- **Total Rules:** 651
|
||||
- **Selectors Per Rule:** 1.8556067588325653
|
||||
- **Total Selectors:** 1208
|
||||
- **Identifiers Per Selector:** 3.439569536423841
|
||||
- **Specificity Per Selector:** 22.730960264900663
|
||||
- **Top Selector Specificity:** 61
|
||||
- **Top Selector Specificity Selector:** .edition2 pre[data-code-language="console"] .man-page .listingblock .go.content
|
||||
- **Total Id Selectors:** 0
|
||||
- **Total Identifiers:** 4142
|
||||
- **Total Declarations:** 1518
|
||||
- **Total Unique Colors:** 106
|
||||
- **Total Important Keywords:** 36
|
||||
- **Total Important Keywords:** 33
|
||||
|
|
|
@ -1820,6 +1820,42 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"grunt-stylelint": {
|
||||
"version": "0.9.0",
|
||||
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.9.0.tgz",
|
||||
"integrity": "sha512-+eC6pRdt+6ZupNFbDYVBB7DtEdohjTNf3BRAXhCqMk2eqEYg/q+Bl3r6lFC6qGRNxmpfHR+qWnzb+KKCqKalaw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "1.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
|
||||
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
|
||||
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "2.2.1",
|
||||
"escape-string-regexp": "1.0.5",
|
||||
"has-ansi": "2.0.0",
|
||||
"strip-ansi": "3.0.1",
|
||||
"supports-color": "2.0.0"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
|
||||
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"har-schema": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
"devDependencies": {
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-autoprefixer": "~2.2.0",
|
||||
"grunt-build-control": "~0.2.0",
|
||||
"grunt-parker": "~0.1.0",
|
||||
"grunt-sass": "~0.18.0",
|
||||
"grunt-contrib-watch": "~0.6.1"
|
||||
"grunt-stylelint": "^0.9.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"stylelint": "7.13.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче