├── .babelrc ├── .editorconfig ├── .github ├── CODEOWNERS ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── test.yml ├── .gitignore ├── .husky └── pre-commit ├── .npmignore ├── .vscode └── settings.json ├── LICENSE ├── NOTICE ├── README.md ├── __integration__ ├── README.md ├── __snapshots__ │ ├── android.test.js.snap │ ├── compose.test.js.snap │ ├── css.test.js.snap │ ├── customFileHeader.test.js.snap │ ├── customFormats.test.js.snap │ ├── flutter.test.js.snap │ ├── iOSObjectiveC.test.js.snap │ ├── objectValues.test.js.snap │ ├── scss.test.js.snap │ ├── showFileHeader.test.js.snap │ └── swift.test.js.snap ├── _constants.js ├── android.test.js ├── compose.test.js ├── css.test.js ├── customFileHeader.test.js ├── customFormats.test.js ├── flutter.test.js ├── iOSObjectiveC.test.js ├── logging │ ├── __snapshots__ │ │ ├── config.test.js.snap │ │ ├── file.test.js.snap │ │ └── platform.test.js.snap │ ├── config.test.js │ ├── file.test.js │ └── platform.test.js ├── nameCollisions.test.js ├── objectValues.test.js ├── outputReferences.test.js ├── scss.test.js ├── showFileHeader.test.js ├── swift.test.js └── tokens │ ├── color │ ├── background.json │ ├── border.json │ ├── brand.json │ ├── core.json │ └── font.jsonc │ └── size │ ├── border.json │ ├── font.json │ └── padding.json ├── __tests__ ├── __assets │ └── images │ │ ├── hdpi │ │ ├── flag_us_base.png │ │ └── flag_us_small.png │ │ ├── mdpi │ │ ├── flag_us_base.png │ │ └── flag_us_small.png │ │ ├── xhdpi │ │ ├── flag_us_base.png │ │ └── flag_us_small.png │ │ └── xxhdpi │ │ ├── flag_us_base.png │ │ └── flag_us_small.png ├── __configs │ ├── include.json │ ├── test-cli.js │ ├── test.js │ ├── test.json │ ├── test.json5 │ └── test.jsonc ├── __helpers.js ├── __json_files │ ├── array.json │ ├── broken │ │ └── broken.json │ ├── circular.json │ ├── circular_2.json │ ├── circular_3.json │ ├── circular_4.json │ ├── circular_5.json │ ├── interpolation.json │ ├── module_exports_object.js │ ├── multiple_reference_errors.json │ ├── nested_pointers.json │ ├── nested_pointers_2.json │ ├── nested_pointers_3.json │ ├── nested_pointers_4.json │ ├── nested_references.json │ ├── no_reference.json │ ├── non_existent.json │ ├── not_circular.json │ ├── reference_type.json │ ├── shallow │ │ ├── 1.json │ │ ├── 2.json │ │ ├── 3.json5 │ │ └── 4.jsonc │ ├── simple.json │ ├── test │ │ └── directory.json │ └── yaml.yaml ├── __properties │ ├── borders.json │ ├── colors.json │ ├── comment.json │ ├── font.json │ ├── font_sizes.json │ ├── icons.json │ ├── images │ │ └── flags │ │ │ └── us.json │ ├── nonPropertyNode.json │ ├── nonString.json │ ├── paddings.1.json │ └── paddings.json ├── __setup.js ├── buildAllPlatforms.test.js ├── buildFile.test.js ├── buildFiles.test.js ├── buildPlatform.test.js ├── cleanAction.test.js ├── cleanAllPlatforms.test.js ├── cleanDir.test.js ├── cleanDirs.test.js ├── cleanFile.test.js ├── cleanFiles.test.js ├── cleanPlatform.test.js ├── cliBuild.test.js ├── common │ ├── filters.test.js │ ├── formatHelpers │ │ ├── createPropertyFormatter.test.js │ │ ├── fileHeader.test.js │ │ ├── getTypeScriptType.test.js │ │ └── setSwiftFileProperties.test.js │ └── transforms.test.js ├── exportPlatform.test.js ├── extend.test.js ├── filterProperties.test.js ├── formats │ ├── __constants.js │ ├── __snapshots__ │ │ ├── all.test.js.snap │ │ ├── androidResources.test.js.snap │ │ ├── scssMaps.test.js.snap │ │ ├── swiftFile.test.js.snap │ │ └── typeScriptEs6Declarations.test.js.snap │ ├── all.test.js │ ├── androidResources.test.js │ ├── es6Constants.test.js │ ├── javascriptModule.test.js │ ├── javascriptModuleFlat.test.js │ ├── javascriptObject.test.js │ ├── javascriptUmd.test.js │ ├── json.test.js │ ├── jsonFlat.test.js │ ├── jsonNested.test.js │ ├── lessIcons.test.js │ ├── lessVariables.test.js │ ├── scssIcons.test.js │ ├── scssMaps.test.js │ ├── scssVariables.test.js │ ├── stylusVariable.test.js │ ├── swiftFile.test.js │ ├── typeScriptEs6Declarations.test.js │ └── typeScriptModuleDeclarations.test.js ├── logger.test.js ├── performAction.test.js ├── register │ ├── action.test.js │ ├── fileHeader.test.js │ ├── filter.test.js │ ├── format.test.js │ ├── parser.test.js │ ├── transform.test.js │ └── transformGroup.test.js ├── transform │ ├── config.test.js │ ├── object.test.js │ ├── property.test.js │ └── propertySetup.test.js └── utils │ ├── combineJSON.test.js │ ├── convertToBase64.test.js │ ├── deepExtend.test.js │ ├── flattenProperties.test.js │ ├── reference │ ├── getReferences.test.js │ ├── resolveReference.test.js │ └── usesReference.test.js │ └── resolveObject.test.js ├── bin └── style-dictionary.js ├── eslint.config.js ├── package.json ├── pnpm-lock.yaml ├── src ├── buildAllPlatforms.js ├── buildFile.js ├── buildFiles.js ├── buildPlatform.js ├── cleanActions.js ├── cleanAllPlatforms.js ├── cleanDir.js ├── cleanDirs.js ├── cleanFile.js ├── cleanFiles.js ├── cleanPlatform.js ├── common │ ├── actions.js │ ├── filters.js │ ├── formatHelpers │ │ ├── createPropertyFormatter.js │ │ ├── fileHeader.js │ │ ├── formattedVariables.js │ │ ├── getTypeScriptType.js │ │ ├── iconsWithPrefix.js │ │ ├── index.js │ │ ├── minifyDictionary.js │ │ ├── setComposeObjectProperties.js │ │ ├── setSwiftFileProperties.js │ │ ├── sortByName.js │ │ └── sortByReference.js │ ├── formats.js │ ├── transformGroups.js │ └── transforms.js ├── exportPlatform.js ├── extend.js ├── filterProperties.js ├── index.js ├── logger.js ├── performActions.js ├── register │ ├── action.js │ ├── fileHeader.js │ ├── filter.js │ ├── format.js │ ├── parser.js │ ├── transform.js │ └── transformGroup.js ├── resolveFileContent.js ├── resolveTemplate.js ├── transform │ ├── config.js │ ├── object.js │ ├── property.js │ └── propertySetup.js └── utils │ ├── combineJSON.js │ ├── convertToBase64.js │ ├── createDictionary.js │ ├── createFormatArgs.js │ ├── deepExtend.js │ ├── es6_.js │ ├── fileURLToPath.js │ ├── flattenProperties.js │ ├── groupMessages.js │ ├── references │ ├── createReferenceRegex.js │ ├── defaults.js │ ├── getName.js │ ├── getPathFromName.js │ ├── getReferences.js │ ├── resolveReference.js │ └── usesReference.js │ └── resolveObject.js ├── templates ├── android │ ├── colors.template │ ├── dimens.template │ ├── fontDimens.template │ ├── integers.template │ ├── resources.template │ └── strings.template ├── compose │ └── object.kt.template ├── css │ └── fonts.css.template ├── flutter │ └── class.dart.template ├── index.js.template ├── ios-swift │ └── any.swift.template ├── ios │ ├── colors.h.template │ ├── colors.m.template │ ├── macros.template │ ├── plist.template │ ├── singleton.h.template │ ├── singleton.m.template │ ├── static.h.template │ ├── static.m.template │ ├── strings.h.template │ └── strings.m.template ├── scss │ ├── map-deep.template │ └── map-flat.template └── static-style-guide │ └── index.html.template ├── tsconfig.json ├── types ├── Action.d.ts ├── Config.d.ts ├── DesignToken.d.ts ├── Dictionary.d.ts ├── File.d.ts ├── FileHeader.d.ts ├── Filter.d.ts ├── Format.d.ts ├── FormatHelpers.d.ts ├── Matcher.d.ts ├── Options.d.ts ├── Parser.d.ts ├── Platform.d.ts ├── Transform.d.ts ├── TransformGroup.d.ts ├── TransformedToken.d.ts ├── _helpers.ts ├── index.d.ts └── index.test-d.ts └── vitest.config.ts /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm test 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.npmignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/README.md -------------------------------------------------------------------------------- /__integration__/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/README.md -------------------------------------------------------------------------------- /__integration__/__snapshots__/android.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/android.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/compose.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/compose.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/css.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/css.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/customFileHeader.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/customFileHeader.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/customFormats.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/customFormats.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/flutter.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/flutter.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/iOSObjectiveC.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/iOSObjectiveC.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/objectValues.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/objectValues.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/scss.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/scss.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/showFileHeader.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/showFileHeader.test.js.snap -------------------------------------------------------------------------------- /__integration__/__snapshots__/swift.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/__snapshots__/swift.test.js.snap -------------------------------------------------------------------------------- /__integration__/_constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/_constants.js -------------------------------------------------------------------------------- /__integration__/android.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/android.test.js -------------------------------------------------------------------------------- /__integration__/compose.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/compose.test.js -------------------------------------------------------------------------------- /__integration__/css.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/css.test.js -------------------------------------------------------------------------------- /__integration__/customFileHeader.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/customFileHeader.test.js -------------------------------------------------------------------------------- /__integration__/customFormats.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/customFormats.test.js -------------------------------------------------------------------------------- /__integration__/flutter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/flutter.test.js -------------------------------------------------------------------------------- /__integration__/iOSObjectiveC.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/iOSObjectiveC.test.js -------------------------------------------------------------------------------- /__integration__/logging/__snapshots__/config.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/__snapshots__/config.test.js.snap -------------------------------------------------------------------------------- /__integration__/logging/__snapshots__/file.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/__snapshots__/file.test.js.snap -------------------------------------------------------------------------------- /__integration__/logging/__snapshots__/platform.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/__snapshots__/platform.test.js.snap -------------------------------------------------------------------------------- /__integration__/logging/config.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/config.test.js -------------------------------------------------------------------------------- /__integration__/logging/file.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/file.test.js -------------------------------------------------------------------------------- /__integration__/logging/platform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/logging/platform.test.js -------------------------------------------------------------------------------- /__integration__/nameCollisions.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/nameCollisions.test.js -------------------------------------------------------------------------------- /__integration__/objectValues.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/objectValues.test.js -------------------------------------------------------------------------------- /__integration__/outputReferences.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/outputReferences.test.js -------------------------------------------------------------------------------- /__integration__/scss.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/scss.test.js -------------------------------------------------------------------------------- /__integration__/showFileHeader.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/showFileHeader.test.js -------------------------------------------------------------------------------- /__integration__/swift.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/swift.test.js -------------------------------------------------------------------------------- /__integration__/tokens/color/background.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/color/background.json -------------------------------------------------------------------------------- /__integration__/tokens/color/border.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/color/border.json -------------------------------------------------------------------------------- /__integration__/tokens/color/brand.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/color/brand.json -------------------------------------------------------------------------------- /__integration__/tokens/color/core.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/color/core.json -------------------------------------------------------------------------------- /__integration__/tokens/color/font.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/color/font.jsonc -------------------------------------------------------------------------------- /__integration__/tokens/size/border.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/size/border.json -------------------------------------------------------------------------------- /__integration__/tokens/size/font.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/size/font.json -------------------------------------------------------------------------------- /__integration__/tokens/size/padding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__integration__/tokens/size/padding.json -------------------------------------------------------------------------------- /__tests__/__assets/images/hdpi/flag_us_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/hdpi/flag_us_base.png -------------------------------------------------------------------------------- /__tests__/__assets/images/hdpi/flag_us_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/hdpi/flag_us_small.png -------------------------------------------------------------------------------- /__tests__/__assets/images/mdpi/flag_us_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/mdpi/flag_us_base.png -------------------------------------------------------------------------------- /__tests__/__assets/images/mdpi/flag_us_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/mdpi/flag_us_small.png -------------------------------------------------------------------------------- /__tests__/__assets/images/xhdpi/flag_us_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/xhdpi/flag_us_base.png -------------------------------------------------------------------------------- /__tests__/__assets/images/xhdpi/flag_us_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/xhdpi/flag_us_small.png -------------------------------------------------------------------------------- /__tests__/__assets/images/xxhdpi/flag_us_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/xxhdpi/flag_us_base.png -------------------------------------------------------------------------------- /__tests__/__assets/images/xxhdpi/flag_us_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__assets/images/xxhdpi/flag_us_small.png -------------------------------------------------------------------------------- /__tests__/__configs/include.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/include.json -------------------------------------------------------------------------------- /__tests__/__configs/test-cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/test-cli.js -------------------------------------------------------------------------------- /__tests__/__configs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/test.js -------------------------------------------------------------------------------- /__tests__/__configs/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/test.json -------------------------------------------------------------------------------- /__tests__/__configs/test.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/test.json5 -------------------------------------------------------------------------------- /__tests__/__configs/test.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__configs/test.jsonc -------------------------------------------------------------------------------- /__tests__/__helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__helpers.js -------------------------------------------------------------------------------- /__tests__/__json_files/array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/array.json -------------------------------------------------------------------------------- /__tests__/__json_files/broken/broken.json: -------------------------------------------------------------------------------- 1 | { 2 | invalid: "json", 3 | } 4 | -------------------------------------------------------------------------------- /__tests__/__json_files/circular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/circular.json -------------------------------------------------------------------------------- /__tests__/__json_files/circular_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/circular_2.json -------------------------------------------------------------------------------- /__tests__/__json_files/circular_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/circular_3.json -------------------------------------------------------------------------------- /__tests__/__json_files/circular_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/circular_4.json -------------------------------------------------------------------------------- /__tests__/__json_files/circular_5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/circular_5.json -------------------------------------------------------------------------------- /__tests__/__json_files/interpolation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/interpolation.json -------------------------------------------------------------------------------- /__tests__/__json_files/module_exports_object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/module_exports_object.js -------------------------------------------------------------------------------- /__tests__/__json_files/multiple_reference_errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/multiple_reference_errors.json -------------------------------------------------------------------------------- /__tests__/__json_files/nested_pointers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/nested_pointers.json -------------------------------------------------------------------------------- /__tests__/__json_files/nested_pointers_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/nested_pointers_2.json -------------------------------------------------------------------------------- /__tests__/__json_files/nested_pointers_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/nested_pointers_3.json -------------------------------------------------------------------------------- /__tests__/__json_files/nested_pointers_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/nested_pointers_4.json -------------------------------------------------------------------------------- /__tests__/__json_files/nested_references.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/nested_references.json -------------------------------------------------------------------------------- /__tests__/__json_files/no_reference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/no_reference.json -------------------------------------------------------------------------------- /__tests__/__json_files/non_existent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/non_existent.json -------------------------------------------------------------------------------- /__tests__/__json_files/not_circular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/not_circular.json -------------------------------------------------------------------------------- /__tests__/__json_files/reference_type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/reference_type.json -------------------------------------------------------------------------------- /__tests__/__json_files/shallow/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/shallow/1.json -------------------------------------------------------------------------------- /__tests__/__json_files/shallow/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/shallow/2.json -------------------------------------------------------------------------------- /__tests__/__json_files/shallow/3.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/shallow/3.json5 -------------------------------------------------------------------------------- /__tests__/__json_files/shallow/4.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/shallow/4.jsonc -------------------------------------------------------------------------------- /__tests__/__json_files/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/simple.json -------------------------------------------------------------------------------- /__tests__/__json_files/test/directory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/test/directory.json -------------------------------------------------------------------------------- /__tests__/__json_files/yaml.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__json_files/yaml.yaml -------------------------------------------------------------------------------- /__tests__/__properties/borders.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/borders.json -------------------------------------------------------------------------------- /__tests__/__properties/colors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/colors.json -------------------------------------------------------------------------------- /__tests__/__properties/comment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/comment.json -------------------------------------------------------------------------------- /__tests__/__properties/font.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/font.json -------------------------------------------------------------------------------- /__tests__/__properties/font_sizes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/font_sizes.json -------------------------------------------------------------------------------- /__tests__/__properties/icons.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/icons.json -------------------------------------------------------------------------------- /__tests__/__properties/images/flags/us.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/images/flags/us.json -------------------------------------------------------------------------------- /__tests__/__properties/nonPropertyNode.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/nonPropertyNode.json -------------------------------------------------------------------------------- /__tests__/__properties/nonString.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/nonString.json -------------------------------------------------------------------------------- /__tests__/__properties/paddings.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/paddings.1.json -------------------------------------------------------------------------------- /__tests__/__properties/paddings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__properties/paddings.json -------------------------------------------------------------------------------- /__tests__/__setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/__setup.js -------------------------------------------------------------------------------- /__tests__/buildAllPlatforms.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/buildAllPlatforms.test.js -------------------------------------------------------------------------------- /__tests__/buildFile.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/buildFile.test.js -------------------------------------------------------------------------------- /__tests__/buildFiles.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/buildFiles.test.js -------------------------------------------------------------------------------- /__tests__/buildPlatform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/buildPlatform.test.js -------------------------------------------------------------------------------- /__tests__/cleanAction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanAction.test.js -------------------------------------------------------------------------------- /__tests__/cleanAllPlatforms.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanAllPlatforms.test.js -------------------------------------------------------------------------------- /__tests__/cleanDir.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanDir.test.js -------------------------------------------------------------------------------- /__tests__/cleanDirs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanDirs.test.js -------------------------------------------------------------------------------- /__tests__/cleanFile.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanFile.test.js -------------------------------------------------------------------------------- /__tests__/cleanFiles.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanFiles.test.js -------------------------------------------------------------------------------- /__tests__/cleanPlatform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cleanPlatform.test.js -------------------------------------------------------------------------------- /__tests__/cliBuild.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/cliBuild.test.js -------------------------------------------------------------------------------- /__tests__/common/filters.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/filters.test.js -------------------------------------------------------------------------------- /__tests__/common/formatHelpers/createPropertyFormatter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/formatHelpers/createPropertyFormatter.test.js -------------------------------------------------------------------------------- /__tests__/common/formatHelpers/fileHeader.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/formatHelpers/fileHeader.test.js -------------------------------------------------------------------------------- /__tests__/common/formatHelpers/getTypeScriptType.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/formatHelpers/getTypeScriptType.test.js -------------------------------------------------------------------------------- /__tests__/common/formatHelpers/setSwiftFileProperties.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/formatHelpers/setSwiftFileProperties.test.js -------------------------------------------------------------------------------- /__tests__/common/transforms.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/common/transforms.test.js -------------------------------------------------------------------------------- /__tests__/exportPlatform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/exportPlatform.test.js -------------------------------------------------------------------------------- /__tests__/extend.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/extend.test.js -------------------------------------------------------------------------------- /__tests__/filterProperties.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/filterProperties.test.js -------------------------------------------------------------------------------- /__tests__/formats/__constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__constants.js -------------------------------------------------------------------------------- /__tests__/formats/__snapshots__/all.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__snapshots__/all.test.js.snap -------------------------------------------------------------------------------- /__tests__/formats/__snapshots__/androidResources.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__snapshots__/androidResources.test.js.snap -------------------------------------------------------------------------------- /__tests__/formats/__snapshots__/scssMaps.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__snapshots__/scssMaps.test.js.snap -------------------------------------------------------------------------------- /__tests__/formats/__snapshots__/swiftFile.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__snapshots__/swiftFile.test.js.snap -------------------------------------------------------------------------------- /__tests__/formats/__snapshots__/typeScriptEs6Declarations.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/__snapshots__/typeScriptEs6Declarations.test.js.snap -------------------------------------------------------------------------------- /__tests__/formats/all.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/all.test.js -------------------------------------------------------------------------------- /__tests__/formats/androidResources.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/androidResources.test.js -------------------------------------------------------------------------------- /__tests__/formats/es6Constants.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/es6Constants.test.js -------------------------------------------------------------------------------- /__tests__/formats/javascriptModule.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/javascriptModule.test.js -------------------------------------------------------------------------------- /__tests__/formats/javascriptModuleFlat.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/javascriptModuleFlat.test.js -------------------------------------------------------------------------------- /__tests__/formats/javascriptObject.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/javascriptObject.test.js -------------------------------------------------------------------------------- /__tests__/formats/javascriptUmd.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/javascriptUmd.test.js -------------------------------------------------------------------------------- /__tests__/formats/json.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/json.test.js -------------------------------------------------------------------------------- /__tests__/formats/jsonFlat.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/jsonFlat.test.js -------------------------------------------------------------------------------- /__tests__/formats/jsonNested.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/jsonNested.test.js -------------------------------------------------------------------------------- /__tests__/formats/lessIcons.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/lessIcons.test.js -------------------------------------------------------------------------------- /__tests__/formats/lessVariables.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/lessVariables.test.js -------------------------------------------------------------------------------- /__tests__/formats/scssIcons.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/scssIcons.test.js -------------------------------------------------------------------------------- /__tests__/formats/scssMaps.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/scssMaps.test.js -------------------------------------------------------------------------------- /__tests__/formats/scssVariables.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/scssVariables.test.js -------------------------------------------------------------------------------- /__tests__/formats/stylusVariable.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/stylusVariable.test.js -------------------------------------------------------------------------------- /__tests__/formats/swiftFile.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/swiftFile.test.js -------------------------------------------------------------------------------- /__tests__/formats/typeScriptEs6Declarations.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/typeScriptEs6Declarations.test.js -------------------------------------------------------------------------------- /__tests__/formats/typeScriptModuleDeclarations.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/formats/typeScriptModuleDeclarations.test.js -------------------------------------------------------------------------------- /__tests__/logger.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/logger.test.js -------------------------------------------------------------------------------- /__tests__/performAction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/performAction.test.js -------------------------------------------------------------------------------- /__tests__/register/action.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/action.test.js -------------------------------------------------------------------------------- /__tests__/register/fileHeader.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/fileHeader.test.js -------------------------------------------------------------------------------- /__tests__/register/filter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/filter.test.js -------------------------------------------------------------------------------- /__tests__/register/format.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/format.test.js -------------------------------------------------------------------------------- /__tests__/register/parser.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/parser.test.js -------------------------------------------------------------------------------- /__tests__/register/transform.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/transform.test.js -------------------------------------------------------------------------------- /__tests__/register/transformGroup.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/register/transformGroup.test.js -------------------------------------------------------------------------------- /__tests__/transform/config.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/transform/config.test.js -------------------------------------------------------------------------------- /__tests__/transform/object.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/transform/object.test.js -------------------------------------------------------------------------------- /__tests__/transform/property.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/transform/property.test.js -------------------------------------------------------------------------------- /__tests__/transform/propertySetup.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/transform/propertySetup.test.js -------------------------------------------------------------------------------- /__tests__/utils/combineJSON.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/combineJSON.test.js -------------------------------------------------------------------------------- /__tests__/utils/convertToBase64.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/convertToBase64.test.js -------------------------------------------------------------------------------- /__tests__/utils/deepExtend.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/deepExtend.test.js -------------------------------------------------------------------------------- /__tests__/utils/flattenProperties.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/flattenProperties.test.js -------------------------------------------------------------------------------- /__tests__/utils/reference/getReferences.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/reference/getReferences.test.js -------------------------------------------------------------------------------- /__tests__/utils/reference/resolveReference.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/reference/resolveReference.test.js -------------------------------------------------------------------------------- /__tests__/utils/reference/usesReference.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/reference/usesReference.test.js -------------------------------------------------------------------------------- /__tests__/utils/resolveObject.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/__tests__/utils/resolveObject.test.js -------------------------------------------------------------------------------- /bin/style-dictionary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/bin/style-dictionary.js -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/buildAllPlatforms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/buildAllPlatforms.js -------------------------------------------------------------------------------- /src/buildFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/buildFile.js -------------------------------------------------------------------------------- /src/buildFiles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/buildFiles.js -------------------------------------------------------------------------------- /src/buildPlatform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/buildPlatform.js -------------------------------------------------------------------------------- /src/cleanActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanActions.js -------------------------------------------------------------------------------- /src/cleanAllPlatforms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanAllPlatforms.js -------------------------------------------------------------------------------- /src/cleanDir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanDir.js -------------------------------------------------------------------------------- /src/cleanDirs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanDirs.js -------------------------------------------------------------------------------- /src/cleanFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanFile.js -------------------------------------------------------------------------------- /src/cleanFiles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanFiles.js -------------------------------------------------------------------------------- /src/cleanPlatform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/cleanPlatform.js -------------------------------------------------------------------------------- /src/common/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/actions.js -------------------------------------------------------------------------------- /src/common/filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/filters.js -------------------------------------------------------------------------------- /src/common/formatHelpers/createPropertyFormatter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/createPropertyFormatter.js -------------------------------------------------------------------------------- /src/common/formatHelpers/fileHeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/fileHeader.js -------------------------------------------------------------------------------- /src/common/formatHelpers/formattedVariables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/formattedVariables.js -------------------------------------------------------------------------------- /src/common/formatHelpers/getTypeScriptType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/getTypeScriptType.js -------------------------------------------------------------------------------- /src/common/formatHelpers/iconsWithPrefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/iconsWithPrefix.js -------------------------------------------------------------------------------- /src/common/formatHelpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/index.js -------------------------------------------------------------------------------- /src/common/formatHelpers/minifyDictionary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/minifyDictionary.js -------------------------------------------------------------------------------- /src/common/formatHelpers/setComposeObjectProperties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/setComposeObjectProperties.js -------------------------------------------------------------------------------- /src/common/formatHelpers/setSwiftFileProperties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/setSwiftFileProperties.js -------------------------------------------------------------------------------- /src/common/formatHelpers/sortByName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/sortByName.js -------------------------------------------------------------------------------- /src/common/formatHelpers/sortByReference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formatHelpers/sortByReference.js -------------------------------------------------------------------------------- /src/common/formats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/formats.js -------------------------------------------------------------------------------- /src/common/transformGroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/transformGroups.js -------------------------------------------------------------------------------- /src/common/transforms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/common/transforms.js -------------------------------------------------------------------------------- /src/exportPlatform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/exportPlatform.js -------------------------------------------------------------------------------- /src/extend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/extend.js -------------------------------------------------------------------------------- /src/filterProperties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/filterProperties.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/logger.js -------------------------------------------------------------------------------- /src/performActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/performActions.js -------------------------------------------------------------------------------- /src/register/action.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/action.js -------------------------------------------------------------------------------- /src/register/fileHeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/fileHeader.js -------------------------------------------------------------------------------- /src/register/filter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/filter.js -------------------------------------------------------------------------------- /src/register/format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/format.js -------------------------------------------------------------------------------- /src/register/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/parser.js -------------------------------------------------------------------------------- /src/register/transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/transform.js -------------------------------------------------------------------------------- /src/register/transformGroup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/register/transformGroup.js -------------------------------------------------------------------------------- /src/resolveFileContent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/resolveFileContent.js -------------------------------------------------------------------------------- /src/resolveTemplate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/resolveTemplate.js -------------------------------------------------------------------------------- /src/transform/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/transform/config.js -------------------------------------------------------------------------------- /src/transform/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/transform/object.js -------------------------------------------------------------------------------- /src/transform/property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/transform/property.js -------------------------------------------------------------------------------- /src/transform/propertySetup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/transform/propertySetup.js -------------------------------------------------------------------------------- /src/utils/combineJSON.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/combineJSON.js -------------------------------------------------------------------------------- /src/utils/convertToBase64.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/convertToBase64.js -------------------------------------------------------------------------------- /src/utils/createDictionary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/createDictionary.js -------------------------------------------------------------------------------- /src/utils/createFormatArgs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/createFormatArgs.js -------------------------------------------------------------------------------- /src/utils/deepExtend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/deepExtend.js -------------------------------------------------------------------------------- /src/utils/es6_.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/es6_.js -------------------------------------------------------------------------------- /src/utils/fileURLToPath.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/fileURLToPath.js -------------------------------------------------------------------------------- /src/utils/flattenProperties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/flattenProperties.js -------------------------------------------------------------------------------- /src/utils/groupMessages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/groupMessages.js -------------------------------------------------------------------------------- /src/utils/references/createReferenceRegex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/createReferenceRegex.js -------------------------------------------------------------------------------- /src/utils/references/defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/defaults.js -------------------------------------------------------------------------------- /src/utils/references/getName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/getName.js -------------------------------------------------------------------------------- /src/utils/references/getPathFromName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/getPathFromName.js -------------------------------------------------------------------------------- /src/utils/references/getReferences.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/getReferences.js -------------------------------------------------------------------------------- /src/utils/references/resolveReference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/resolveReference.js -------------------------------------------------------------------------------- /src/utils/references/usesReference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/references/usesReference.js -------------------------------------------------------------------------------- /src/utils/resolveObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/src/utils/resolveObject.js -------------------------------------------------------------------------------- /templates/android/colors.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/colors.template -------------------------------------------------------------------------------- /templates/android/dimens.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/dimens.template -------------------------------------------------------------------------------- /templates/android/fontDimens.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/fontDimens.template -------------------------------------------------------------------------------- /templates/android/integers.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/integers.template -------------------------------------------------------------------------------- /templates/android/resources.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/resources.template -------------------------------------------------------------------------------- /templates/android/strings.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/android/strings.template -------------------------------------------------------------------------------- /templates/compose/object.kt.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/compose/object.kt.template -------------------------------------------------------------------------------- /templates/css/fonts.css.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/css/fonts.css.template -------------------------------------------------------------------------------- /templates/flutter/class.dart.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/flutter/class.dart.template -------------------------------------------------------------------------------- /templates/index.js.template: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/ios-swift/any.swift.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios-swift/any.swift.template -------------------------------------------------------------------------------- /templates/ios/colors.h.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/colors.h.template -------------------------------------------------------------------------------- /templates/ios/colors.m.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/colors.m.template -------------------------------------------------------------------------------- /templates/ios/macros.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/macros.template -------------------------------------------------------------------------------- /templates/ios/plist.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/plist.template -------------------------------------------------------------------------------- /templates/ios/singleton.h.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/singleton.h.template -------------------------------------------------------------------------------- /templates/ios/singleton.m.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/singleton.m.template -------------------------------------------------------------------------------- /templates/ios/static.h.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/static.h.template -------------------------------------------------------------------------------- /templates/ios/static.m.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/static.m.template -------------------------------------------------------------------------------- /templates/ios/strings.h.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/strings.h.template -------------------------------------------------------------------------------- /templates/ios/strings.m.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/ios/strings.m.template -------------------------------------------------------------------------------- /templates/scss/map-deep.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/scss/map-deep.template -------------------------------------------------------------------------------- /templates/scss/map-flat.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/scss/map-flat.template -------------------------------------------------------------------------------- /templates/static-style-guide/index.html.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/templates/static-style-guide/index.html.template -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/Action.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Action.d.ts -------------------------------------------------------------------------------- /types/Config.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Config.d.ts -------------------------------------------------------------------------------- /types/DesignToken.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/DesignToken.d.ts -------------------------------------------------------------------------------- /types/Dictionary.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Dictionary.d.ts -------------------------------------------------------------------------------- /types/File.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/File.d.ts -------------------------------------------------------------------------------- /types/FileHeader.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/FileHeader.d.ts -------------------------------------------------------------------------------- /types/Filter.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Filter.d.ts -------------------------------------------------------------------------------- /types/Format.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Format.d.ts -------------------------------------------------------------------------------- /types/FormatHelpers.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/FormatHelpers.d.ts -------------------------------------------------------------------------------- /types/Matcher.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Matcher.d.ts -------------------------------------------------------------------------------- /types/Options.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Options.d.ts -------------------------------------------------------------------------------- /types/Parser.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Parser.d.ts -------------------------------------------------------------------------------- /types/Platform.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Platform.d.ts -------------------------------------------------------------------------------- /types/Transform.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/Transform.d.ts -------------------------------------------------------------------------------- /types/TransformGroup.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/TransformGroup.d.ts -------------------------------------------------------------------------------- /types/TransformedToken.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/TransformedToken.d.ts -------------------------------------------------------------------------------- /types/_helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/_helpers.ts -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/types/index.test-d.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tahul/style-dictionary-esm/HEAD/vitest.config.ts --------------------------------------------------------------------------------