@figma-export/output-components-as-es6
Advanced tools
Comparing version 0.0.1-alpha.8 to 0.0.1-alpha.9
const fs = require('fs'); | ||
const path = require('path'); | ||
const makeDir = require('make-dir'); | ||
@@ -10,2 +11,3 @@ const camelCase = (str) => str.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2) => { | ||
module.exports = ({ output }) => { | ||
makeDir.sync(output); | ||
return async (pages) => { | ||
@@ -12,0 +14,0 @@ pages.forEach(({ name: pageName, components }) => { |
{ | ||
"name": "@figma-export/output-components-as-es6", | ||
"version": "0.0.1-alpha.8", | ||
"version": "0.0.1-alpha.9", | ||
"description": "Outputter for @figma-export that exports components in javascript file", | ||
@@ -16,3 +16,6 @@ "main": "index.js", | ||
}, | ||
"gitHead": "358ac4e5fc372091f4eae2278bae64dea2834b94" | ||
"dependencies": { | ||
"make-dir": "~3.0.0" | ||
}, | ||
"gitHead": "c3ba405414c710f9fc08f3dff40619d07fa49279" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4036
62
1
+ Addedmake-dir@~3.0.0
+ Addedmake-dir@3.0.2(transitive)
+ Addedsemver@6.3.1(transitive)