Skip to content
Permalink
Browse files

feat: switch from cheerio to jsdom

  • Loading branch information...
sparanoid committed Jul 24, 2018
1 parent 3eeb311 commit 0dd9165e75198dd17262b99d0acf70a6d3fe5a0f
Showing with 1,674 additions and 1,186 deletions.
  1. +1 −0 .jshintrc
  2. +1 −1 .travis.yml
  3. +10 −1 Gruntfile.js
  4. +1,460 −1,146 package-lock.json
  5. +3 −3 package.json
  6. +45 −35 tasks/uncss-inline.js
  7. +84 −0 tests/index3.html
  8. +70 −0 tests/index3.ouput.html
@@ -2,6 +2,7 @@
"boss": true,
"curly": true,
"eqeqeq": true,
"esversion": 6,
"immed": true,
"indent": 4,
"latedef": true,
@@ -1,8 +1,8 @@
sudo: false
language: node_js
node_js:
- "6"
- "9"
- "10"
matrix:
fast_finish: true
cache:
@@ -19,7 +19,7 @@

module.exports = function(grunt) {

require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
require('load-grunt-tasks')(grunt, { scope: 'devDependencies' });
require('time-grunt')(grunt);

// Project configuration.
@@ -69,6 +69,14 @@ module.exports = function(grunt) {
options: {
uncssrc: 'tests/.uncssrc'
}
},
testSvg: {
files: {
'tests/index3.ouput.html': 'tests/index3.html'
},
options: {
uncssrc: 'tests/.uncssrc'
}
}
},

@@ -162,6 +170,7 @@ module.exports = function(grunt) {
'uncss_inline:test',
'uncss_inline:testMany',
'uncss_inline:testUncssrc',
'uncss_inline:testSvg',
'simplemocha'
]);

0 comments on commit 0dd9165

Please sign in to comment.
You can’t perform that action at this time.