diff --git a/example/.figmage.json b/example/.figmage.json
new file mode 100644
index 0000000..2c93ae8
--- /dev/null
+++ b/example/.figmage.json
@@ -0,0 +1,54 @@
+{
+ "outDir": "./example/tokens",
+ "tokenize": {
+ "tokens": [
+ {
+ "name": "colors",
+ "type": "color"
+ },
+ {
+ "name": "typography",
+ "type": "text"
+ },
+ {
+ "name": "shadows",
+ "type": "drop-shadow"
+ },
+ {
+ "name": "spacing",
+ "type": "width",
+ "nodeId": "110:694"
+ },
+ {
+ "name": "sizing",
+ "type": "height",
+ "nodeId": "102:7"
+ },
+ {
+ "name": "radii",
+ "type": "radius",
+ "nodeId": "102:8"
+ },
+ {
+ "name": "icons",
+ "type": "svg",
+ "nodeId": "102:2"
+ },
+ {
+ "name": "assets",
+ "type": "png",
+ "nodeId": "643:618"
+ }
+ ]
+ },
+ "codegen": {
+ "defaults": {
+ "filetype": "ts",
+ "tokenCase": "camel"
+ },
+ "assets": {
+ "filetype": "png",
+ "tokenCase": "kebab"
+ }
+ }
+}
diff --git a/example/assets/icons.svg b/example/assets/icons.svg
deleted file mode 100644
index 71616c0..0000000
--- a/example/assets/icons.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/example/package-lock.json b/example/package-lock.json
deleted file mode 100644
index dae7138..0000000
--- a/example/package-lock.json
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- "name": "example",
- "version": "1.0.0",
- "lockfileVersion": 1,
- "requires": true,
- "dependencies": {
- "@trysound/sax": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.1.1.tgz",
- "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow=="
- },
- "boolbase": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
- "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
- },
- "colorette": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",
- "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="
- },
- "commander": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw=="
- },
- "css-select": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.1.3.tgz",
- "integrity": "sha512-gT3wBNd9Nj49rAbmtFHj1cljIAOLYSX1nZ8CB7TBO3INYckygm5B7LISU/szY//YmdiSLbJvDLOx9VnMVpMBxA==",
- "requires": {
- "boolbase": "^1.0.0",
- "css-what": "^5.0.0",
- "domhandler": "^4.2.0",
- "domutils": "^2.6.0",
- "nth-check": "^2.0.0"
- }
- },
- "css-tree": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
- "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
- "requires": {
- "mdn-data": "2.0.14",
- "source-map": "^0.6.1"
- }
- },
- "css-what": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz",
- "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg=="
- },
- "csso": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz",
- "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==",
- "requires": {
- "css-tree": "^1.1.2"
- }
- },
- "dom-serializer": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz",
- "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==",
- "requires": {
- "domelementtype": "^2.0.1",
- "domhandler": "^4.2.0",
- "entities": "^2.0.0"
- }
- },
- "domelementtype": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz",
- "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="
- },
- "domhandler": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz",
- "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==",
- "requires": {
- "domelementtype": "^2.2.0"
- }
- },
- "domutils": {
- "version": "2.8.0",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz",
- "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
- "requires": {
- "dom-serializer": "^1.0.1",
- "domelementtype": "^2.2.0",
- "domhandler": "^4.2.0"
- }
- },
- "entities": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
- "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A=="
- },
- "mdn-data": {
- "version": "2.0.14",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
- "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow=="
- },
- "nth-check": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz",
- "integrity": "sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==",
- "requires": {
- "boolbase": "^1.0.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
- },
- "stable": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
- "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w=="
- },
- "svgo": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.5.0.tgz",
- "integrity": "sha512-FSdBOOo271VyF/qZnOn1PgwCdt1v4Dx0Sey+U1jgqm1vqRYjPGdip0RGrFW6ItwtkBB8rHgHk26dlVr0uCs82Q==",
- "requires": {
- "@trysound/sax": "0.1.1",
- "colorette": "^1.3.0",
- "commander": "^7.2.0",
- "css-select": "^4.1.3",
- "css-tree": "^1.1.3",
- "csso": "^4.2.0",
- "stable": "^0.1.8"
- }
- }
- }
-}
diff --git a/example/package.json b/example/package.json
deleted file mode 100644
index ba68397..0000000
--- a/example/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "name": "example",
- "version": "1.0.0",
- "description": "",
- "main": "index.js",
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
- },
- "keywords": [],
- "author": "Teemu Taskula",
- "license": "ISC",
- "figmage": {
- "outDir": "tokens",
- "tokenize": {
- "tokens": [
- {
- "name": "colors",
- "type": "color"
- },
- {
- "name": "typography",
- "type": "text"
- },
- {
- "name": "shadows",
- "type": "drop-shadow"
- },
- {
- "name": "spacing",
- "type": "width",
- "nodeId": "110:694"
- },
- {
- "name": "sizing",
- "type": "height",
- "nodeId": "102:7"
- },
- {
- "name": "radii",
- "type": "radius",
- "nodeId": "102:8"
- },
- {
- "name": "icons",
- "type": "svg",
- "nodeId": "102:2"
- },
- {
- "name": "assets",
- "type": "png",
- "nodeId": "643:618"
- }
- ]
- },
- "codegen": {
- "defaults": {
- "filetype": "ts",
- "tokenCase": "camel"
- },
- "assets": {
- "filetype": "png",
- "tokenCase": "kebab"
- }
- }
- }
-}
diff --git a/example/tokens/assets/adaptive-icon-stag.png b/example/tokens/assets/adaptive-icon-stag.png
new file mode 100644
index 0000000..22750a4
Binary files /dev/null and b/example/tokens/assets/adaptive-icon-stag.png differ
diff --git a/example/tokens/assets/adaptive-icon-staging.png b/example/tokens/assets/adaptive-icon-staging.png
deleted file mode 100644
index 58e468d..0000000
Binary files a/example/tokens/assets/adaptive-icon-staging.png and /dev/null differ
diff --git a/example/tokens/assets/adaptive-icon-test.png b/example/tokens/assets/adaptive-icon-test.png
index 0363cfe..6ffb4e6 100644
Binary files a/example/tokens/assets/adaptive-icon-test.png and b/example/tokens/assets/adaptive-icon-test.png differ
diff --git a/example/tokens/assets/adaptive-icon.png b/example/tokens/assets/adaptive-icon.png
index a9ac26f..c296b88 100644
Binary files a/example/tokens/assets/adaptive-icon.png and b/example/tokens/assets/adaptive-icon.png differ
diff --git a/example/tokens/assets/icon-stag.png b/example/tokens/assets/icon-stag.png
new file mode 100644
index 0000000..fbd795c
Binary files /dev/null and b/example/tokens/assets/icon-stag.png differ
diff --git a/example/tokens/assets/icon-staging.png b/example/tokens/assets/icon-staging.png
deleted file mode 100644
index 293a30f..0000000
Binary files a/example/tokens/assets/icon-staging.png and /dev/null differ
diff --git a/example/tokens/assets/icon-test.png b/example/tokens/assets/icon-test.png
index 8880f22..cffd69e 100644
Binary files a/example/tokens/assets/icon-test.png and b/example/tokens/assets/icon-test.png differ
diff --git a/example/tokens/colors.ts b/example/tokens/colors.ts
index fe543dd..26a1e4c 100644
--- a/example/tokens/colors.ts
+++ b/example/tokens/colors.ts
@@ -32,6 +32,8 @@ export const dark = {
"pressHighlight": "rgba(150, 150, 150, 0.2)",
"muted4": "#3a3a3c"
};
+export const envStaging = "#9a008b";
+export const envTest = "#009a9a";
export const light = {
"muted5": "#e5e5ea",
"hoverHighlight": "rgba(150, 150, 150, 0.1)",
@@ -66,4 +68,4 @@ export const light = {
"muted1": "#8e8e93"
};
-export type ColorsToken = "backdrop" | "background" | "border" | "elevated" | "error" | "errorMuted" | "errorText" | "focusRing" | "hoverHighlight" | "info" | "infoMuted" | "infoText" | "muted1" | "muted2" | "muted3" | "muted4" | "muted5" | "muted6" | "pressHighlight" | "primary" | "primaryMuted" | "primaryText" | "success" | "successMuted" | "successText" | "surface" | "text" | "textMuted" | "warn" | "warnMuted" | "warnText";
+export type ColorsToken = "backdrop" | "background" | "border" | "elevated" | "envStaging" | "envTest" | "error" | "errorMuted" | "errorText" | "focusRing" | "hoverHighlight" | "info" | "infoMuted" | "infoText" | "muted1" | "muted2" | "muted3" | "muted4" | "muted5" | "muted6" | "pressHighlight" | "primary" | "primaryMuted" | "primaryText" | "success" | "successMuted" | "successText" | "surface" | "text" | "textMuted" | "warn" | "warnMuted" | "warnText";
diff --git a/example/tokens/icons-ids.ts b/example/tokens/icons-ids.ts
deleted file mode 100644
index 3fb934f..0000000
--- a/example/tokens/icons-ids.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-/* eslint-disable */
-export const ids = ["arrowDown","arrowLeft","arrowRight","arrowUp","bell","calendar","camera","checkmark","chevronDown","chevronLeft","chevronRight","chevronUp","clock","ellipsisHorizontal","ellipsisVertical","envelope","envelopeFilled","eyeFilled","eyeOutline","faceNeutral","faceSmile","filter","fullBody","graduationCapFilled","graduationCapOutline","heartFilled","heartOutlined","homeFilled","homeOutline","language","languageGlobe","lightningFilled","lightningOutline","logout","movieFilled","movieOpenFilled","movieOpenOutline","movieOutline","paperclip","pencil","phone","piggybank","pin","plus","questionMark","questionMarkFull","search","send","sortVertical","trash","userCicleFilled","userCicleOutline","warningTriangle","x",] as const;
diff --git a/example/tokens/icons.ts b/example/tokens/icons.ts
index e7a4308..300d917 100644
--- a/example/tokens/icons.ts
+++ b/example/tokens/icons.ts
@@ -1,57 +1,119 @@
/* eslint-disable */
+export const accessibility = "";
+export const adjustmentsVertical = "";
export const arrowDown = "";
+export const arrowDownTray = "";
export const arrowLeft = "";
export const arrowRight = "";
export const arrowUp = "";
+export const arrowUpRight = "";
+export const arrowsPointingOut = "";
+export const audioFile = "";
export const bell = "";
+export const bluetoothFilled = "";
+export const bluetoothOutlined = "";
+export const bone = "";
+export const book = "";
export const calendar = "";
export const camera = "";
export const checkmark = "";
+export const chevronDoubleLeft = "";
+export const chevronDoubleRight = "";
export const chevronDown = "";
export const chevronLeft = "";
export const chevronRight = "";
export const chevronUp = "";
export const clock = "";
+export const commandLineFilled = "";
+export const commandLineOutlined = "";
+export const creditCardFilled = "";
+export const creditCardOutlined = "";
+export const deviceCogOutlined = "";
+export const download = "";
export const ellipsisHorizontal = "";
export const ellipsisVertical = "";
-export const envelope = "";
export const envelopeFilled = "";
+export const envelopeOutlined = "";
export const eyeFilled = "";
-export const eyeOutline = "";
+export const eyeOutlined = "";
+export const faceId = "";
export const faceNeutral = "";
export const faceSmile = "";
export const filter = "";
-export const fullBody = "";
-export const graduationCapFilled = "";
-export const graduationCapOutline = "";
-export const heartFilled = "";
+export const fingerPrint = "";
+export const folderArrowDownFilled = "";
+export const folderArrowDownOutlined = "";
+export const foodAppleFilled = "";
+export const foodAppleOutlined = "";
+export const fullBody = "";
+export const genericFile = "";
+export const graduationCapFilled = "";
+export const graduationCapOutlined = "";
+export const handThumbDown = "";
+export const handThumbUp = "";
+export const heartFilled = "";
export const heartOutlined = "";
-export const homeFilled = "";
-export const homeOutline = "";
+export const homeFilled = "";
+export const homeOutlined = "";
+export const imageFile = "";
+export const infoFilled = "";
+export const infoOutlined = "";
export const language = "";
export const languageGlobe = "";
-export const lightningFilled = "";
-export const lightningOutline = "";
+export const lightningFilled = "";
+export const lightningOutlined = "";
+export const lock = "";
+export const logoGoogle = "";
export const logout = "";
-export const movieFilled = "";
-export const movieOpenFilled = "";
-export const movieOpenOutline = "";
-export const movieOutline = "";
+export const mapPinFilled = "";
+export const mapPinOutlined = "";
+export const menu = "";
+export const microphone = "";
+export const minus = "";
+export const moon = "";
export const paperclip = "";
+export const pauseCircle = "";
+export const pauseCircleSolid = "";
+export const pdfFile = "";
export const pencil = "";
+export const pencilSquare = "";
export const phone = "";
export const piggybank = "";
export const pin = "";
+export const playCircle = "";
export const plus = "";
+export const qrCode = "";
export const questionMark = "";
export const questionMarkFull = "";
-export const search = "";
+export const raindrops = "";
+export const rss = "";
+export const search = "";
+export const searchThick = "";
export const send = "";
+export const settingsCogFilled = "";
+export const settingsCogOutlined = "";
+export const share = "";
+export const shieldCheckFilled = "";
export const sortVertical = "";
+export const sparkles = "";
+export const square2Stack = "";
+export const squaresPlusFilled = "";
+export const squaresPlusOutlined = "";
+export const stopCircle = "";
+export const stopwatchFilled = "";
+export const stopwatchOutlined = "";
+export const sun = "";
+export const textFile = "";
export const trash = "";
+export const trophyFilled = "";
+export const trophyOutlined = "";
export const userCicleFilled = "";
-export const userCicleOutline = "";
+export const userCicleOutlined = "";
+export const userPlus = "";
+export const videoCamera = "";
+export const videoFile = "";
export const warningTriangle = "";
+export const wordFile = "";
export const x = "";
-export type IconsToken = "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "bell" | "calendar" | "camera" | "checkmark" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "clock" | "ellipsisHorizontal" | "ellipsisVertical" | "envelope" | "envelopeFilled" | "eyeFilled" | "eyeOutline" | "faceNeutral" | "faceSmile" | "filter" | "fullBody" | "graduationCapFilled" | "graduationCapOutline" | "heartFilled" | "heartOutlined" | "homeFilled" | "homeOutline" | "language" | "languageGlobe" | "lightningFilled" | "lightningOutline" | "logout" | "movieFilled" | "movieOpenFilled" | "movieOpenOutline" | "movieOutline" | "paperclip" | "pencil" | "phone" | "piggybank" | "pin" | "plus" | "questionMark" | "questionMarkFull" | "search" | "send" | "sortVertical" | "trash" | "userCicleFilled" | "userCicleOutline" | "warningTriangle" | "x";
+export type IconsToken = "accessibility" | "adjustmentsVertical" | "arrowDown" | "arrowDownTray" | "arrowLeft" | "arrowRight" | "arrowUp" | "arrowUpRight" | "arrowsPointingOut" | "audioFile" | "bell" | "bluetoothFilled" | "bluetoothOutlined" | "bone" | "book" | "calendar" | "camera" | "checkmark" | "chevronDoubleLeft" | "chevronDoubleRight" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "clock" | "commandLineFilled" | "commandLineOutlined" | "creditCardFilled" | "creditCardOutlined" | "deviceCogOutlined" | "download" | "ellipsisHorizontal" | "ellipsisVertical" | "envelopeFilled" | "envelopeOutlined" | "eyeFilled" | "eyeOutlined" | "faceId" | "faceNeutral" | "faceSmile" | "filter" | "fingerPrint" | "folderArrowDownFilled" | "folderArrowDownOutlined" | "foodAppleFilled" | "foodAppleOutlined" | "fullBody" | "genericFile" | "graduationCapFilled" | "graduationCapOutlined" | "handThumbDown" | "handThumbUp" | "heartFilled" | "heartOutlined" | "homeFilled" | "homeOutlined" | "imageFile" | "infoFilled" | "infoOutlined" | "language" | "languageGlobe" | "lightningFilled" | "lightningOutlined" | "lock" | "logoGoogle" | "logout" | "mapPinFilled" | "mapPinOutlined" | "menu" | "microphone" | "minus" | "moon" | "paperclip" | "pauseCircle" | "pauseCircleSolid" | "pdfFile" | "pencil" | "pencilSquare" | "phone" | "piggybank" | "pin" | "playCircle" | "plus" | "qrCode" | "questionMark" | "questionMarkFull" | "raindrops" | "rss" | "search" | "searchThick" | "send" | "settingsCogFilled" | "settingsCogOutlined" | "share" | "shieldCheckFilled" | "sortVertical" | "sparkles" | "square2Stack" | "squaresPlusFilled" | "squaresPlusOutlined" | "stopCircle" | "stopwatchFilled" | "stopwatchOutlined" | "sun" | "textFile" | "trash" | "trophyFilled" | "trophyOutlined" | "userCicleFilled" | "userCicleOutlined" | "userPlus" | "videoCamera" | "videoFile" | "warningTriangle" | "wordFile" | "x";
diff --git a/example/tokens/radii.ts b/example/tokens/radii.ts
index a48f2f0..6aab9e6 100644
--- a/example/tokens/radii.ts
+++ b/example/tokens/radii.ts
@@ -1,6 +1,6 @@
/* eslint-disable */
-export const full = 24;
-export const large = 999;
+export const full = 999;
+export const large = 24;
export const medium = 16;
export const normal = 8;
export const small = 4;
diff --git a/example/tokens/tokens.json b/example/tokens/tokens.json
index 1f3123c..1e2fce5 100644
--- a/example/tokens/tokens.json
+++ b/example/tokens/tokens.json
@@ -65,7 +65,9 @@
"Primary Muted": "#d6ebdb",
"Error": "#ef4444",
"Muted 1": "#8e8e93"
- }
+ },
+ "Env Test": "#009a9a",
+ "Env Staging": "#9a008b"
},
"typography": {
"native": {
@@ -75,7 +77,7 @@
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Body Small": {
"fontFamily": "Inter",
@@ -83,87 +85,87 @@
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Title 1": {
+ "Caption": {
"fontFamily": "Inter",
- "fontWeight": 700,
- "fontSize": 48,
+ "fontWeight": 400,
+ "fontSize": 10,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Title 2": {
+ "Body": {
"fontFamily": "Inter",
- "fontWeight": 700,
- "fontSize": 32,
+ "fontWeight": 400,
+ "fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Caption": {
+ "Overline": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 600,
"fontSize": 10,
- "textTransform": "none",
- "letterSpacing": 0,
- "lineHeight": 1.172
+ "textTransform": "uppercase",
+ "letterSpacing": 0.5,
+ "lineHeight": 1.21
},
- "Title 3": {
+ "Subtitle": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 24,
+ "fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Body Large Bold": {
"fontFamily": "Inter",
- "fontWeight": 700,
+ "fontWeight": 600,
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Body Small Bold": {
"fontFamily": "Inter",
- "fontWeight": 700,
+ "fontWeight": 600,
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Body": {
+ "Title 2": {
"fontFamily": "Inter",
- "fontWeight": 400,
- "fontSize": 16,
+ "fontWeight": 700,
+ "fontSize": 28,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Body Bold": {
+ "Title 3": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 16,
+ "fontSize": 20,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Overline": {
+ "Body Bold": {
"fontFamily": "Inter",
- "fontWeight": 400,
- "fontSize": 10,
- "textTransform": "uppercase",
- "letterSpacing": 0.5,
- "lineHeight": 1.172
+ "fontWeight": 600,
+ "fontSize": 16,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
},
- "Subtitle": {
+ "Title 1": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 16,
+ "fontSize": 40,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
}
},
"web": {
@@ -173,7 +175,7 @@
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Title 3": {
"fontFamily": "Inter",
@@ -181,15 +183,15 @@
"fontSize": 24,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Overline": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 600,
"fontSize": 10,
"textTransform": "uppercase",
"letterSpacing": 0.5,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Title 1": {
"fontFamily": "Inter",
@@ -197,7 +199,7 @@
"fontSize": 48,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Body": {
"fontFamily": "Inter",
@@ -205,7 +207,7 @@
"fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"Subtitle": {
"fontFamily": "Inter",
@@ -213,31 +215,63 @@
"fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Caption": {
+ "Body Large": {
"fontFamily": "Inter",
"fontWeight": 400,
- "fontSize": 10,
+ "fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Body Large": {
+ "Title 2": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 700,
+ "fontSize": 32,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "Body Bold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
+ "fontSize": 16,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "Body Large Bold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "Title 2": {
+ "Body Small Bold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
+ "fontSize": 12,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "Caption": {
+ "fontFamily": "Inter",
+ "fontWeight": 400,
+ "fontSize": 10,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "Large Title": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 32,
+ "fontSize": 48,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
}
}
},
@@ -317,20 +351,46 @@
"Button Height Large": 60
},
"radii": {
- "Full": 24,
- "Large": 999,
+ "Full": 999,
+ "Large": 24,
"Medium": 16,
"Normal": 8,
"Small": 4
},
"icons": {
- "lightning-outline": "",
- "lightning-filled": "",
- "movie-open-filled": "",
- "movie-open-outline": "",
+ "arrows-pointing-out": "",
+ "logo-google": "",
+ "minus": "",
+ "arrow-up-right": "",
+ "squares-plus-filled": "",
+ "squares-plus-outlined": "",
+ "pause-circle-solid": "",
+ "pause-circle": "",
+ "play-circle": "",
+ "stop-circle": "",
+ "menu": "",
+ "trophy-filled": "",
+ "trophy-outlined": "",
+ "command-line-filled": "",
+ "command-line-outlined": "",
+ "settings-cog-outlined": "",
+ "settings-cog-filled": "",
+ "folder-arrow-down-outlined": "",
+ "folder-arrow-down-filled": "",
+ "credit-card-outlined": "",
+ "credit-card-filled": "",
+ "map-pin-outlined": "",
+ "map-pin-filled": "",
+ "food-apple-filled": "",
+ "food-apple-outlined": "",
+ "face-id": "",
+ "finger-print": "",
+ "hand-thumb-up": "",
+ "hand-thumb-down": "",
+ "adjustments-vertical": "",
"language-globe": "",
"heart-outlined": "",
- "heart-filled": "",
+ "heart-filled": "",
"pencil": "",
"arrow-left": "",
"arrow-right": "",
@@ -342,15 +402,12 @@
"chevron-up": "",
"chevron-down": "",
"x": "",
- "home-filled": "",
- "home-outline": "",
- "movie-outline": "",
- "movie-filled": "",
- "graduation-cap-outline": "",
- "graduation-cap-filled": "",
- "user-cicle-outline": "",
+ "home-filled": "",
+ "home-outlined": "",
+ "graduation-cap-outlined": "",
+ "graduation-cap-filled": "",
+ "user-cicle-outlined": "",
"user-cicle-filled": "",
- "search": "",
"bell": "",
"send": "",
"paperclip": "",
@@ -362,30 +419,69 @@
"checkmark": "",
"piggybank": "",
"eye-filled": "",
- "eye-outline": "",
+ "eye-outlined": "",
"ellipsis-horizontal": "",
"ellipsis-vertical": "",
"warning-triangle": "",
"logout": "",
"phone": "",
"envelope-filled": "",
- "envelope": "",
+ "envelope-outlined": "",
"face-smile": "",
"face-neutral": "",
- "full-body": "",
+ "full-body": "",
"trash": "",
"question-mark": "",
"question-mark-full": "",
"language": "",
- "camera": ""
+ "camera": "",
+ "qr-code": "",
+ "arrow-down-tray": "",
+ "microphone": "",
+ "pencil-square": "",
+ "square-2-stack": "",
+ "share": "",
+ "rss": "",
+ "video-camera": "",
+ "user-plus": "",
+ "lightning-outlined": "",
+ "lightning-filled": "",
+ "chevron-double-left": "",
+ "chevron-double-right": "",
+ "image-file": "",
+ "pdf-file": "",
+ "word-file": "",
+ "generic-file": "",
+ "video-file": "",
+ "audio-file": "",
+ "text-file": "",
+ "download": "",
+ "bluetooth-outlined": "",
+ "bluetooth-filled": "",
+ "stopwatch-filled": "",
+ "stopwatch-outlined": "",
+ "search": "",
+ "search-thick": "",
+ "info-outlined": "",
+ "info-filled": "",
+ "sun": "",
+ "book": "",
+ "lock": "",
+ "sparkles": "",
+ "accessibility": "",
+ "raindrops": "",
+ "moon": "",
+ "bone": "",
+ "shield-check-filled": "",
+ "device-cog-outlined": ""
},
"assets": {
- "splash": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/5f26f7e6-e85f-415c-b28a-1a7f01fbb330",
- "adaptive-icon-staging": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/0891764d-1ad2-4764-bdd0-3f35f90a9a84",
- "adaptive-icon-test": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/39b11424-5e08-47a6-a55d-4530e5e541cb",
- "adaptive-icon": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/26a47853-e8e9-4e49-ab27-614449592523",
- "icon-staging": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/4e802422-3908-4f82-884b-d94f428f8aea",
- "icon-test": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/d27924dc-9822-40a9-b35a-c7820dcd6394",
- "icon": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/3ed7f6c5-7d49-4ac3-8e2a-ddf0a18db2b3"
+ "splash": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/1b41598f-cf95-49ab-8cce-6aaf2b012cfd",
+ "adaptive-icon-stag": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/89dd2126-7437-4ce7-815e-7af93b7699ce",
+ "adaptive-icon-test": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/f9d0c75f-fca0-43cc-ae1e-cdbc0270e5a7",
+ "adaptive-icon": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/78a8d24d-fc6b-4071-a0f3-e3e0d64ef434",
+ "icon-stag": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/f3fdef29-1f4a-4c13-ad7c-9770bf453bc6",
+ "icon-test": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/f39f5fc9-83d6-4615-b19f-65f355e86f32",
+ "icon": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/941d9433-a92c-4e46-bb1b-57f61f9d544c"
}
}
\ No newline at end of file
diff --git a/example/tokens/typography.ts b/example/tokens/typography.ts
index 6427197..0d2a537 100644
--- a/example/tokens/typography.ts
+++ b/example/tokens/typography.ts
@@ -6,7 +6,7 @@ export const native = {
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"bodySmall": {
"fontFamily": "Inter",
@@ -14,87 +14,87 @@ export const native = {
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "title1": {
+ "caption": {
"fontFamily": "Inter",
- "fontWeight": 700,
- "fontSize": 48,
+ "fontWeight": 400,
+ "fontSize": 10,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "title2": {
+ "body": {
"fontFamily": "Inter",
- "fontWeight": 700,
- "fontSize": 32,
+ "fontWeight": 400,
+ "fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "caption": {
+ "overline": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 600,
"fontSize": 10,
- "textTransform": "none",
- "letterSpacing": 0,
- "lineHeight": 1.172
+ "textTransform": "uppercase",
+ "letterSpacing": 0.5,
+ "lineHeight": 1.21
},
- "title3": {
+ "subtitle": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 24,
+ "fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"bodyLargeBold": {
"fontFamily": "Inter",
- "fontWeight": 700,
+ "fontWeight": 600,
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"bodySmallBold": {
"fontFamily": "Inter",
- "fontWeight": 700,
+ "fontWeight": 600,
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "body": {
+ "title2": {
"fontFamily": "Inter",
- "fontWeight": 400,
- "fontSize": 16,
+ "fontWeight": 700,
+ "fontSize": 28,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "bodyBold": {
+ "title3": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 16,
+ "fontSize": 20,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "overline": {
+ "bodyBold": {
"fontFamily": "Inter",
- "fontWeight": 400,
- "fontSize": 10,
- "textTransform": "uppercase",
- "letterSpacing": 0.5,
- "lineHeight": 1.172
+ "fontWeight": 600,
+ "fontSize": 16,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
},
- "subtitle": {
+ "title1": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 16,
+ "fontSize": 40,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
}
};
export const web = {
@@ -104,7 +104,7 @@ export const web = {
"fontSize": 12,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"title3": {
"fontFamily": "Inter",
@@ -112,15 +112,15 @@ export const web = {
"fontSize": 24,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"overline": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 600,
"fontSize": 10,
"textTransform": "uppercase",
"letterSpacing": 0.5,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"title1": {
"fontFamily": "Inter",
@@ -128,7 +128,7 @@ export const web = {
"fontSize": 48,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"body": {
"fontFamily": "Inter",
@@ -136,7 +136,7 @@ export const web = {
"fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
"subtitle": {
"fontFamily": "Inter",
@@ -144,32 +144,64 @@ export const web = {
"fontSize": 16,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "caption": {
+ "bodyLarge": {
"fontFamily": "Inter",
"fontWeight": 400,
- "fontSize": 10,
+ "fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "bodyLarge": {
+ "title2": {
"fontFamily": "Inter",
- "fontWeight": 400,
+ "fontWeight": 700,
+ "fontSize": 32,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "bodyBold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
+ "fontSize": 16,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "bodyLargeBold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
"fontSize": 18,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
},
- "title2": {
+ "bodySmallBold": {
+ "fontFamily": "Inter",
+ "fontWeight": 600,
+ "fontSize": 12,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "caption": {
+ "fontFamily": "Inter",
+ "fontWeight": 400,
+ "fontSize": 10,
+ "textTransform": "none",
+ "letterSpacing": 0,
+ "lineHeight": 1.21
+ },
+ "largeTitle": {
"fontFamily": "Inter",
"fontWeight": 700,
- "fontSize": 32,
+ "fontSize": 48,
"textTransform": "none",
"letterSpacing": 0,
- "lineHeight": 1.172
+ "lineHeight": 1.21
}
};
-export type TypographyToken = "body" | "bodyBold" | "bodyLarge" | "bodyLargeBold" | "bodySmall" | "bodySmallBold" | "caption" | "overline" | "subtitle" | "title1" | "title2" | "title3";
+export type TypographyToken = "body" | "bodyBold" | "bodyLarge" | "bodyLargeBold" | "bodySmall" | "bodySmallBold" | "caption" | "largeTitle" | "overline" | "subtitle" | "title1" | "title2" | "title3";
diff --git a/package-lock.json b/package-lock.json
index cc2701b..7cdb4e4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,321 +1,512 @@
{
"name": "figmage",
"version": "0.10.0",
- "lockfileVersion": 1,
+ "lockfileVersion": 3,
"requires": true,
- "dependencies": {
- "@trysound/sax": {
+ "packages": {
+ "": {
+ "name": "figmage",
+ "version": "0.10.0",
+ "license": "ISC",
+ "dependencies": {
+ "arg": "5.0.1",
+ "axios": "0.21.4",
+ "dotenv": "10.0.0",
+ "esm": "3.2.25",
+ "kleur": "4.1.4",
+ "lodash.camelcase": "4.3.0",
+ "lodash.kebabcase": "4.1.1",
+ "lodash.snakecase": "4.1.1",
+ "lodash.template": "4.5.0",
+ "ora": "5.2.0",
+ "svgo": "2.5.0"
+ },
+ "bin": {
+ "figmage": "bin/figmage"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@trysound/sax": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.1.1.tgz",
- "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow=="
+ "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow==",
+ "engines": {
+ "node": ">=10.13.0"
+ }
},
- "ansi-regex": {
+ "node_modules/ansi-regex": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "engines": {
+ "node": ">=8"
+ }
},
- "ansi-styles": {
+ "node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "requires": {
+ "dependencies": {
"color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "arg": {
+ "node_modules/arg": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/arg/-/arg-5.0.1.tgz",
"integrity": "sha512-e0hDa9H2Z9AwFkk2qDlwhoMYE4eToKarchkQHovNdLTCYMHZHeRjI71crOh+dio4K6u1IcwubQqo79Ga4CyAQA=="
},
- "axios": {
+ "node_modules/axios": {
"version": "0.21.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
- "requires": {
+ "dependencies": {
"follow-redirects": "^1.14.0"
}
},
- "base64-js": {
+ "node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
- },
- "bl": {
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/bl": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
- "requires": {
+ "dependencies": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
"readable-stream": "^3.4.0"
}
},
- "boolbase": {
+ "node_modules/boolbase": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
},
- "buffer": {
+ "node_modules/buffer": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "requires": {
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
}
},
- "chalk": {
+ "node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "requires": {
+ "dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "cli-cursor": {
+ "node_modules/cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
"integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
- "requires": {
+ "dependencies": {
"restore-cursor": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "cli-spinners": {
+ "node_modules/cli-spinners": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz",
- "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q=="
+ "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
},
- "clone": {
+ "node_modules/clone": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
- "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4="
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
+ "engines": {
+ "node": ">=0.8"
+ }
},
- "color-convert": {
+ "node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "requires": {
+ "dependencies": {
"color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
}
},
- "color-name": {
+ "node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
- "colorette": {
+ "node_modules/colorette": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",
"integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="
},
- "commander": {
+ "node_modules/commander": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw=="
+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+ "engines": {
+ "node": ">= 10"
+ }
},
- "css-select": {
+ "node_modules/css-select": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.1.3.tgz",
"integrity": "sha512-gT3wBNd9Nj49rAbmtFHj1cljIAOLYSX1nZ8CB7TBO3INYckygm5B7LISU/szY//YmdiSLbJvDLOx9VnMVpMBxA==",
- "requires": {
+ "dependencies": {
"boolbase": "^1.0.0",
"css-what": "^5.0.0",
"domhandler": "^4.2.0",
"domutils": "^2.6.0",
"nth-check": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
}
},
- "css-tree": {
+ "node_modules/css-tree": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
- "requires": {
+ "dependencies": {
"mdn-data": "2.0.14",
"source-map": "^0.6.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
}
},
- "css-what": {
+ "node_modules/css-what": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz",
- "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg=="
+ "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg==",
+ "engines": {
+ "node": ">= 6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
+ }
},
- "csso": {
+ "node_modules/csso": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz",
"integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==",
- "requires": {
+ "dependencies": {
"css-tree": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=8.0.0"
}
},
- "defaults": {
+ "node_modules/defaults": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
"integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=",
- "requires": {
+ "dependencies": {
"clone": "^1.0.2"
}
},
- "dom-serializer": {
+ "node_modules/dom-serializer": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz",
"integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==",
- "requires": {
+ "dependencies": {
"domelementtype": "^2.0.1",
"domhandler": "^4.2.0",
"entities": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
- "domelementtype": {
+ "node_modules/domelementtype": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz",
- "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="
- },
- "domhandler": {
+ "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ]
+ },
+ "node_modules/domhandler": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz",
"integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==",
- "requires": {
+ "dependencies": {
"domelementtype": "^2.2.0"
+ },
+ "engines": {
+ "node": ">= 4"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
- "domutils": {
+ "node_modules/domutils": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz",
"integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
- "requires": {
+ "dependencies": {
"dom-serializer": "^1.0.1",
"domelementtype": "^2.2.0",
"domhandler": "^4.2.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domutils?sponsor=1"
}
},
- "dotenv": {
+ "node_modules/dotenv": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
- "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q=="
+ "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==",
+ "engines": {
+ "node": ">=10"
+ }
},
- "entities": {
+ "node_modules/entities": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
- "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A=="
+ "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
},
- "esm": {
+ "node_modules/esm": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz",
- "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA=="
+ "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==",
+ "engines": {
+ "node": ">=6"
+ }
},
- "follow-redirects": {
+ "node_modules/follow-redirects": {
"version": "1.14.3",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz",
- "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw=="
+ "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
},
- "has-flag": {
+ "node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
},
- "ieee754": {
+ "node_modules/ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
- },
- "inherits": {
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
- "is-interactive": {
+ "node_modules/is-interactive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz",
- "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w=="
+ "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==",
+ "engines": {
+ "node": ">=8"
+ }
},
- "is-unicode-supported": {
+ "node_modules/is-unicode-supported": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
- "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw=="
+ "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
},
- "kleur": {
+ "node_modules/kleur": {
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz",
- "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA=="
+ "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==",
+ "engines": {
+ "node": ">=6"
+ }
},
- "lodash._reinterpolate": {
+ "node_modules/lodash._reinterpolate": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
"integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0="
},
- "lodash.camelcase": {
+ "node_modules/lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY="
},
- "lodash.kebabcase": {
+ "node_modules/lodash.kebabcase": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz",
"integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY="
},
- "lodash.snakecase": {
+ "node_modules/lodash.snakecase": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
"integrity": "sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40="
},
- "lodash.template": {
+ "node_modules/lodash.template": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz",
"integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==",
- "requires": {
+ "dependencies": {
"lodash._reinterpolate": "^3.0.0",
"lodash.templatesettings": "^4.0.0"
}
},
- "lodash.templatesettings": {
+ "node_modules/lodash.templatesettings": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz",
"integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==",
- "requires": {
+ "dependencies": {
"lodash._reinterpolate": "^3.0.0"
}
},
- "log-symbols": {
+ "node_modules/log-symbols": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
"integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
- "requires": {
+ "dependencies": {
"chalk": "^4.1.0",
"is-unicode-supported": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "mdn-data": {
+ "node_modules/mdn-data": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow=="
},
- "mimic-fn": {
+ "node_modules/mimic-fn": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "engines": {
+ "node": ">=6"
+ }
},
- "nth-check": {
+ "node_modules/nth-check": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz",
"integrity": "sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==",
- "requires": {
+ "dependencies": {
"boolbase": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/nth-check?sponsor=1"
}
},
- "onetime": {
+ "node_modules/onetime": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
- "requires": {
+ "dependencies": {
"mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "ora": {
+ "node_modules/ora": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ora/-/ora-5.2.0.tgz",
"integrity": "sha512-+wG2v8TUU8EgzPHun1k/n45pXquQ9fHnbXVetl9rRgO6kjZszGGbraF3XPTIdgeA+s1lbRjSEftAnyT0w8ZMvQ==",
- "requires": {
+ "dependencies": {
"bl": "^4.0.3",
"chalk": "^4.1.0",
"cli-cursor": "^3.1.0",
@@ -324,76 +515,112 @@
"log-symbols": "^4.0.0",
"strip-ansi": "^6.0.0",
"wcwidth": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "readable-stream": {
+ "node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "requires": {
+ "dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
}
},
- "restore-cursor": {
+ "node_modules/restore-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
"integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
- "requires": {
+ "dependencies": {
"onetime": "^5.1.0",
"signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "safe-buffer": {
+ "node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
- },
- "signal-exit": {
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/signal-exit": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
"integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="
},
- "source-map": {
+ "node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
},
- "stable": {
+ "node_modules/stable": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
- "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w=="
+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
+ "deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility"
},
- "string_decoder": {
+ "node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
- "requires": {
+ "dependencies": {
"safe-buffer": "~5.2.0"
}
},
- "strip-ansi": {
+ "node_modules/strip-ansi": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
- "requires": {
+ "dependencies": {
"ansi-regex": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "supports-color": {
+ "node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "requires": {
+ "dependencies": {
"has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "svgo": {
+ "node_modules/svgo": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-2.5.0.tgz",
"integrity": "sha512-FSdBOOo271VyF/qZnOn1PgwCdt1v4Dx0Sey+U1jgqm1vqRYjPGdip0RGrFW6ItwtkBB8rHgHk26dlVr0uCs82Q==",
- "requires": {
+ "dependencies": {
"@trysound/sax": "0.1.1",
"colorette": "^1.3.0",
"commander": "^7.2.0",
@@ -401,18 +628,24 @@
"css-tree": "^1.1.3",
"csso": "^4.2.0",
"stable": "^0.1.8"
+ },
+ "bin": {
+ "svgo": "bin/svgo"
+ },
+ "engines": {
+ "node": ">=10.13.0"
}
},
- "util-deprecate": {
+ "node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
- "wcwidth": {
+ "node_modules/wcwidth": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
"integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=",
- "requires": {
+ "dependencies": {
"defaults": "^1.0.3"
}
}
diff --git a/package.json b/package.json
index a569b4a..5ede27d 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,8 @@
},
"scripts": {
"test": "echo TODO",
+ "example:tokenize": "bin/figmage tokenize --config ./example/.figmage.json --env ./example/.env",
+ "example:codegen": "bin/figmage codegen --config ./example/.figmage.json --env ./example/.env",
"release": "np --any-branch"
},
"bin": {