upgrade dependencies

- upgrade dependencies
- move browserslist to package.json
- simplify postCSS plugins that don't accept arguments to function names
This commit is contained in:
Dan Allen
2019-06-18 03:30:38 -06:00
parent 8a936d71bc
commit e0cd2c352b
3 changed files with 629 additions and 678 deletions

View File

@@ -23,7 +23,7 @@ module.exports = (src, dest, preview) => () => {
const opts = { base: src, cwd: src }
const sourcemaps = preview || process.env.SOURCEMAPS === 'true'
const postcssPlugins = [
postcssImport(),
postcssImport,
postcssUrl([
{
filter: '**/~typeface-*/files/*',
@@ -38,8 +38,8 @@ module.exports = (src, dest, preview) => () => {
},
]),
postcssVar({ preserve: preview ? 'preserve-computed' : false }),
postcssCalc(),
autoprefixer({ browsers: ['last 2 versions'] }),
postcssCalc,
autoprefixer,
preview ? () => {} : cssnano({ preset: 'default' }),
]

1270
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,42 +10,45 @@
"engines": {
"node": ">= 8.0.0"
},
"browserslist": [
"last 2 versions"
],
"devDependencies": {
"asciidoctor.js": "1.5.9",
"autoprefixer": "~9.4",
"autoprefixer": "~9.6",
"browser-pack-flat": "~3.4",
"browserify": "~16.2",
"cssnano": "~4.1",
"eslint": "~5.11",
"eslint": "~5.16",
"eslint-config-standard": "~12.0",
"eslint-plugin-import": "~2.14",
"eslint-plugin-node": "~8.0",
"eslint-plugin-promise": "~4.0",
"eslint-plugin-import": "~2.17",
"eslint-plugin-node": "~9.1",
"eslint-plugin-promise": "~4.1",
"eslint-plugin-standard": "~4.0",
"fs-extra": "~7.0",
"fs-extra": "~8.0",
"gifsicle": "4.0.0",
"gulp": "~4.0",
"gulp-concat": "~2.6",
"gulp-connect": "~5.7",
"gulp-eslint": "~5.0",
"gulp-imagemin": "~5.0",
"gulp-imagemin": "~6.0",
"gulp-postcss": "~8.0",
"gulp-stylelint": "~8.0",
"gulp-stylelint": "~9.0",
"gulp-uglify": "~3.0",
"gulp-vinyl-zip": "~2.1 >=2.1.2",
"handlebars": "~4.0",
"highlight.js": "~9.13",
"handlebars": "~4.1",
"highlight.js": "~9.15",
"js-yaml": "~3.13",
"merge-stream": "~1.0",
"merge-stream": "~2.0",
"postcss-calc": "~7.0",
"postcss-custom-properties": "~8.0",
"postcss-import": "~12.0",
"postcss-url": "~8.0",
"prettier-eslint": "~8.8",
"prettier-eslint": "~9.0",
"require-directory": "~2.1",
"require-from-string": "~2.0",
"stylelint": "~9.9",
"stylelint-config-standard": "~18.2",
"stylelint": "~10.1",
"stylelint-config-standard": "~18.3",
"through2": "~3.0",
"typeface-roboto": "0.0.54",
"typeface-roboto-mono": "0.0.54",