Remove sass compilation stuff for now

This commit is contained in:
Jason Long 2018-01-16 09:30:54 -05:00
Родитель 93aec6989e
Коммит d483f9b61e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 9F6F5FFBC2691B6D
4 изменённых файлов: 54 добавлений и 41 удалений

Просмотреть файл

@ -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

36
package-lock.json сгенерированный
Просмотреть файл

@ -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",