Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Update the npm deps to the latest stable versions. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const gulp = require('gulp')
const sass = require('gulp-sass')
const livereload = require('gulp-livereload')

const theo = require('theo')
const theo = require('gulp-theo')

////////////////////////////////////////////////////////////////////
// Paths
Expand All @@ -32,15 +32,19 @@ gulp.task('clean', () => del([paths.generated, paths.output]))

gulp.task('design-tokens', ['styleguide'], () =>
gulp.src('./design-tokens/app.json')
.pipe(theo.plugins.transform('web'))
.pipe(theo.plugins.format('scss'))
.pipe(theo.plugin({
transform: { type: "web" },
format: { type: "scss" }
}))
.pipe(gulp.dest(paths.generated))
)

gulp.task('styleguide', () =>
gulp.src('./design-tokens/app.json')
.pipe(theo.plugins.transform('web'))
.pipe(theo.plugins.format('html'))
.pipe(theo.plugin({
transform: { type: "web" },
format: { type: "html" }
}))
.pipe(gulp.dest(paths.generated))
.pipe(livereload())
)
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"license": "BSD-3-Clause",
"dependencies": {
"connect-livereload": "^0.6.0",
"del": "^2.2.2",
"express": "^4.14.0",
"del": "^3.0.0",
"express": "^4.16.3",
"gulp": "^3.9.1",
"gulp-livereload": "^3.8.1",
"gulp-sass": "^3.1.0",
"run-sequence": "^1.2.2",
"theo": "^5.0.0"
"gulp-sass": "^4.0.1",
"gulp-theo": "^1.0.0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intentionally chose [email protected] over [email protected] since it was not stable yet.

"run-sequence": "^2.2.1",
"theo": "^7.0.1"
},
"scripts": {
"dev": "gulp dev",
Expand Down