@sproutsocial/seeds-border
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -26,28 +26,28 @@ const fs = require('fs'); | ||
gulp.task('border-docs', done => { | ||
theo.plugins.file(borderTokensPath).pipe(theo.plugins.transform('web')).pipe( | ||
theo.plugins.getResult(result => { | ||
const tokens = JSON.parse(result); | ||
const easings = tokens.propKeys.map(key => { | ||
const prop = tokens.props[key]; | ||
const {value, description, category} = prop; | ||
theo.plugins | ||
.file(borderTokensPath) | ||
.pipe(theo.plugins.transform('web')) | ||
.pipe( | ||
theo.plugins.getResult(result => { | ||
const tokens = JSON.parse(result); | ||
const easings = tokens.propKeys.map(key => { | ||
const prop = tokens.props[key]; | ||
const {value, description, category} = prop; | ||
return { | ||
app: upperFirst(prop.name), | ||
sass: sassVar(prop.package, prop.name), | ||
javascript: javascriptConst(prop.package, prop.name), | ||
value, | ||
description, | ||
category | ||
}; | ||
}); | ||
return { | ||
app: upperFirst(prop.name), | ||
sass: sassVar(prop.package, prop.name), | ||
javascript: javascriptConst(prop.package, prop.name), | ||
value, | ||
description, | ||
category | ||
}; | ||
}); | ||
fs.writeFileSync( | ||
'dist/tokens.json', | ||
`${JSON.stringify(easings)}` | ||
); | ||
done(); | ||
}) | ||
); | ||
fs.writeFileSync('dist/tokens.json', `${JSON.stringify(easings)}`); | ||
done(); | ||
}) | ||
); | ||
}); | ||
gulp.task('default', gulp.series(['clean', gulp.parallel(['border-scss', 'border-js']), 'border-docs'])); |
{ | ||
"name": "@sproutsocial/seeds-border", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"stability": "beta", | ||
@@ -16,4 +16,4 @@ "description": "SEEDS Design System Border Values", | ||
"devDependencies": { | ||
"@sproutsocial/seeds-utils": "^0.1.10" | ||
"@sproutsocial/seeds-utils": "^0.1.11" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4888
0