{"_id":"browser-style-dictionary","_rev":"11-a3ad3538963ad77b9fd297f3add4c050","name":"browser-style-dictionary","dist-tags":{"latest":"3.1.1-browser.2"},"versions":{"3.0.2":{"name":"browser-style-dictionary","version":"3.0.2","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/index.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"4854d749a015a829b5e86bb5af9c10b18d46b00f","_id":"browser-style-dictionary@3.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-AC7RwmTu2Ty+EjLfNhc7NjBSqnuOb0kS1cwiY9w/jzhSJFDsuU54tTbb0Gy++Y/ovl0OoPZnTn+LILnIW0xJtA==","shasum":"0fa1bc565415a3aacb0ac1e6677a08c98b6e752f","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2.tgz","fileCount":602,"unpackedSize":4104361,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOaO7Xb5K0ZK4RKz6OtIDA/Kag+0bzI6jkS1e7bfaZTgIgLTsoZrm4z/pBNovUDpuCvxeZkfu2ux+0mCdhLBjdj4s="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2_1633433244304_0.127662242953555"},"_hasShrinkwrap":false},"3.0.2-browser.1":{"name":"browser-style-dictionary","version":"3.0.2-browser.1","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/index.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"1bd5bc22108a1141b214f06908bcc505ed51d5c3","_id":"browser-style-dictionary@3.0.2-browser.1","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-3kftQHkD8GkxHMdzL8hQN1y8YAeVYSj16jXsr8/c8R1+aX3Ce45/mjkW8cqui4Pc74sMm/ugUd1qdU7jOaNFVA==","shasum":"637be8950d64af0d6e282f79dc99e0f53f9d8894","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.1.tgz","fileCount":602,"unpackedSize":4104377,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4DTEDF8wNBi5m9n2wWak9tJqK1gg3HMHI70CiTK68EAIhAIRMytNZsOqexpJ4i9NNZ/OViaKGCExeaUzlswpu0pZl"}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.1_1635169743680_0.9158267664389936"},"_hasShrinkwrap":false},"3.0.2-browser.2":{"name":"browser-style-dictionary","version":"3.0.2-browser.2","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/index.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"573d97753e05a0921c33ae56ecd9b32773be343a","_id":"browser-style-dictionary@3.0.2-browser.2","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-5QakPVnkt0NqX5+3fBI9b64XkMjQjuIp2jUDsxqvZzvhIzwx9PTuXN47nKShfz7RFeA8ZwwYNMlOTfV/Ji8ucA==","shasum":"986510b517cd6484f3235fc00aa84f19ea1a924e","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.2.tgz","fileCount":602,"unpackedSize":4104980,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrq0OeOe8jB4KMxR6BJ+EVImSA9oG3pZBNgiEgRjAMgAiEA0cusLY5rQ0ICYY8VlSPOH5u9e8gSD7GkGK3DIsikz5M="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.2_1635246669502_0.9479057906542856"},"_hasShrinkwrap":false},"3.0.2-browser.3":{"name":"browser-style-dictionary","version":"3.0.2-browser.3","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"5f1d744bfbe0c39a167f55bc25ce57f79f25cf79","_id":"browser-style-dictionary@3.0.2-browser.3","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-x/NCGC7BeFimAAy7tLWiKBYlHCZI1Fumd2pYsOZx5GtSIwE4Kil/5cWj+tAen9E8M7oUMQHE93txlufH0vOMVA==","shasum":"eb37992a0e7296138643c74d7b4ecba72de195b4","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.3.tgz","fileCount":603,"unpackedSize":4115786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb8BeARFWpRnpnU0qnxRD38qv2+D/n0YtXNC+Qi5v0OAIhAMJtM/FloasLHF5eoPqUspm/iccDCkoJhj1qUT54Qa9y"}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.3_1636019274675_0.18058643052937895"},"_hasShrinkwrap":false},"3.0.2-browser.4":{"name":"browser-style-dictionary","version":"3.0.2-browser.4","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"dc188f686e33e705917d160da235a6751c68ac29","_id":"browser-style-dictionary@3.0.2-browser.4","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-i2cIYR7LpZsEqVt8dlDkgqoXxuPLEGssIlGCz1qW0kdobtvJ9+jEjHq6cZyQ6TLSlTmPPolrToXc3HBiaDJkng==","shasum":"e895a87f5589c6e578cc55761a4a1a5ea07de954","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.4.tgz","fileCount":602,"unpackedSize":4139477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICixxYRIGQi1yW1/oxZB8uLtydWkeyMNOEEKS88mH/HcAiAHhy8wc+jV6m6g/aGuqLXyuktsiGBPiVhxn7mtO8Lixg=="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.4_1636147929822_0.9585888646290548"},"_hasShrinkwrap":false},"3.0.2-browser.5":{"name":"browser-style-dictionary","version":"3.0.2-browser.5","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"c48c3d5b907ca36d2b8801352e75691b688e1c75","_id":"browser-style-dictionary@3.0.2-browser.5","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-XX497qZ3RVr8N5AtrBjoXC6iU5FQWeMnx3l8OKzyp7tnx7IHjKV5G5XpitaRjDNTmT9+Pk9ID6+JVRhUATFPUQ==","shasum":"5a6dcb52624c346428167cd966a759749d425426","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.5.tgz","fileCount":602,"unpackedSize":4139493,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUKBI/kaXkVts4iN/Jhk++JcbeutT9l86SN0VJoFyLYgIgcAJoUxy66Ff6qOXPTBWb+0VRaXDdvi3rqN/63e3dzd0="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.5_1636156926524_0.3371237420642099"},"_hasShrinkwrap":false},"3.0.2-browser.6":{"name":"browser-style-dictionary","version":"3.0.2-browser.6","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"555cb552a71e03fea5253f99881c67b28556a6fb","_id":"browser-style-dictionary@3.0.2-browser.6","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-Z3/rV61ZvxAQL+ggFHJUbD6GFTWPqBPeAdG1JAyjgPWedrKrm6QHDnImRV2gTCL2ne/hPJjm85ifGRPj12dAYw==","shasum":"ee5a4964d02f49ddffc028d6500fb54b96e4e1d4","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.6.tgz","fileCount":602,"unpackedSize":4139583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl4fJCRA9TVsSAnZWagAACggP/2poVlHwAHk4wUj/Blmg\nBiWVAO00dj+MsYcsJnjUy0++o1lWnwPa7L2fJ6tDbtlc5owyyV76b4hUhOQc\nCQsuW55lvq+SghGQknhFlr/cJZNYQ52HrAdMWCcPLn+07HD+VVYW7r0umEfe\n8KDw1DBFRMIAY6VJZTpSmNf6gyo4TfuEGX1wT67axl0GFaoFhSQBtiwnHmYm\ndruxDeEA9v1jwoMPtfwws9o2/4MXqooeIcBs1pBnG/afT3yqfiykuxw/WLrP\n01vDyneRc+ZA+Tr0fmEQD3VHDDJPrQeEk63FU1d6JwrjI5bIs/eSLHOR4zJ7\nDxIccyLS/rtcdZOkiiehblsd478YQ9SDFBpgCC68y9YcU93tWl5zBfAf/rze\ndf7PXhLFGXANlDDk7JGoPb688EQKnYFbhDu5v2lR77PLk/eFifPK3pCmS0TO\nltRAs/4dR8rnsRc83R0Wb093sGIYPkyzbKeENEnvSIVCC3q+h+6BpIygsJIJ\nr+FQe2o/cRnHoRvFAY/gU4lMnD/smSG2zVFlzuj944N9jBguSPmbTAZF36UD\nohUKd1UGi6gKJwis/iIZtUTHO4dCXcAmVvA6UENpdVAFe/WkX3F2Pw9eRiGv\n/II2mX2cahheq/cofNkFV5scjiFiTwwrEOcT6wBoq484UMA7qYVHsQVSEZZA\nvLcE\r\n=owNa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMQ03Mj8LoqK+R9EIcsoN6KPTO257MmfJsK2tMTa88iAiEA7Ul8YMzTKtXl3utyFH70qjF2QLHU737v29D2YRsXWIE="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.6_1637320649370_0.8842161706733522"},"_hasShrinkwrap":false},"3.0.2-browser.7":{"name":"browser-style-dictionary","version":"3.0.2-browser.7","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^5.1.0","fs-extra":"^8.1.0","glob":"^7.1.6","json5":"^2.1.3","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.10.2","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","babel-jest":"^26.0.1","babel-preset-env":"^1.7.0","docsify":"^4.12.1","docsify-cli":"^4.4.3","eslint":"^6.8.0","eslint-plugin-jest":"^24.1.3","husky":"^4.2.5","istanbul":"^0.4.5","jest":"^26.6.3","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.0.1","json5-jest":"^1.0.1","less":"^3.11.2","lint-staged":"^10.2.7","node-sass":"^6.0.1","rollup":"^2.60.1","standard-version":"^9.0.0","stylus":"^0.54.8","tsd":"^0.15.1","yaml":"^1.10.0"},"gitHead":"859f89cac7f2ee5c498d9da4a0e06f61fbda532a","_id":"browser-style-dictionary@3.0.2-browser.7","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-f6ibl/9UQjotoXv+21UnfRegnO0I7jdk+Noph/iKRmQbweK0zKa924sl64IMOuIbJBwd5+zhfuItKlQUq1IFyA==","shasum":"25c2e8539db5817536e67a283ad86c7e0b7d4370","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.0.2-browser.7.tgz","fileCount":603,"unpackedSize":4160913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp3PfCRA9TVsSAnZWagAALcwP/2JPqfLtJ6EY1W0EOsx8\nUX1XRuq2REDc6ZfneM2Unob6pN85ntiTb6f/T8ol2/986Gveb8PM9uqVvyHg\nfmrnL1lt5MOrB8OF9LNJC165ythwvMcqP1PLqWV6Tc/tozBCFp2YNoSmYWuE\nv3zPjnsyxEQGiBktkyGZhwKBjpRK1T5W4Di1Sz8BsOPBmfkmCOXmbPcD7nMx\nlJKCuxOF/a8yzavTyum5exPN10ThEt5DSIlpJdL/0aczZqA8CCJZtZvKYACK\nLFGW48mQBNo+QfjxeqnpzkjOen9/8exAn1l7gxbW7zTGWaGABtrsbeK8NnAC\npdbGZ7HzOfRjkGpRiPxPLXumM/Dti2L0e8t9NimB8mh4qHcVhMft/BOOjtfj\nWFAIDuSedTFKzvhuGU1CFJlC2uJZ/YOL9akGaTd9HgR3b2D4MMUqs5cTXKla\nHrsJpRkTx/6xuDOs8VPUnNnvdposatI2C/ipITqA7R/YkBzykaISokg+T4AC\neyf+FBGYiTBesh7OKfa8dGtFrDJQdyt4JUN87WyNfMQ2tVfhdtpgi41IXPFf\n3P/6Ry7NPNNXge99Uzz23BLEmVzybiWi5xTquUQPG6XTcAjALkRbBbiG5moo\nfXB1QkyRg+IMIfn1iyMivgaj1sZKUS2C/SfBlvPcUnPMA0R5vY9bTaqdWkt3\nSeHy\r\n=SjNm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2Vib3IFfexD4ixxLvna8QrV17YDRp2XuT4hLybUuMGAiAMGt8OguRJAOpYd0EgOz6h6/ufjOqTP4D0qWZS3zvztQ=="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.0.2-browser.7_1638364127431_0.09362566915557036"},"_hasShrinkwrap":false},"3.1.1-browser.0":{"name":"browser-style-dictionary","version":"3.1.1-browser.0","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepare":"husky install","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsonc$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^8.3.0","fs-extra":"^10.0.0","glob":"^7.2.0","json5":"^2.2.0","jsonc-parser":"^3.0.0","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.16.11","@commitlint/cli":"^16.1.0","@commitlint/config-conventional":"^16.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","babel-jest":"^27.4.6","babel-preset-env":"^1.7.0","docsify":"^4.12.2","docsify-cli":"^4.4.3","eslint":"^8.7.0","eslint-plugin-jest":"^26.0.0","husky":"^7.0.0","istanbul":"^0.4.5","jest":"^27.4.7","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.1.0","json5-jest":"^1.0.1","less":"^4.1.2","lint-staged":"^12.3.1","node-sass":"^7.0.1","rollup":"^2.60.1","standard-version":"^9.3.2","stylus":"^0.56.0","tsd":"^0.19.1","yaml":"^1.10.2"},"gitHead":"c36b3a0cdb80415be954ae489c41890b1066a3f3","_id":"browser-style-dictionary@3.1.1-browser.0","_nodeVersion":"16.11.1","_npmVersion":"8.3.2","dist":{"integrity":"sha512-PntRfaMQyWxU2YVipWJ5aMzhSCI94JmKzgG9Rd43brs7IGDY2zJ+xSqbhnSmAvmh/fcANuSjr5Uprbji0ToMLA==","shasum":"58bcbc2bd0eac2908a9189aba2f2a4359eda751e","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.1.1-browser.0.tgz","fileCount":610,"unpackedSize":4184949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDNTRCRA9TVsSAnZWagAABzIP/3GEG1nos6dFPWajUAEz\nwgK0JbAEWP0dtjwt/hxMGG8C7brwJnXFi39ZHVKVnepuazorPQ2QILsQbT0g\nLyuWMV0i25xLkMEHt/ZuM2XHYB/esfRZwF2ssterLl3fb6nXRxTcEv03UibJ\nXLzmnfL1lPwfq2Dd5wQr3VhNs7ZmGqxZcaap9GkYTtbc96ry/OXa4gxDNQCZ\nl2yqC53QC0LiLodfgyvbNoIgreVFxku4MnXp+3bYnHj/RDYBTtXeQXQUSfb4\nlOdDb/xPPV18RHai5FCHNBp0Ro52qWc+limXqWq555R3tGYhKQ5CI+Fn3A+k\nWMkYt+5enRK9phlIkswQAmeHF2NEiKLl0/r6DiD9QWsj3KfLfc8NoEbAlS0d\n4dqlYXYD/luIZY4tGD/UctvpNMszGp98n/m10rYDglQa4RfUEPD3JRzU9vpK\n4eklVBbhy2PF0AvU4yZeX58Okhmus0DkSWDTbFMK6Iv7P6XYoLrkgHHAOzA2\nEbnoHusktW82HsSmuajv9rrv9s8sa/jMGOevF8aSaN6o3m3T6JN7QptdHlSC\ng89ErWUHpCgmF/Uhxd/uny90VS7bDOcpRQwkrhkD6jfbt/MMp5I8jewn/MIA\n5CgnJ5jKjfbCHonrfLF0jB7Vt7O+JDvoU06vD8VRBzYNzVGRnRJbqhrCRoEq\n/KSA\r\n=oyWz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCZEYm2IWZygXCJFSIP+td8NrdDdz03c0jUp57pLOFgAIgPuZqD9mKx/5zfIUyeQz2/3KGoYHUlJeBD+LwK0ftAQg="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.1.1-browser.0_1645008081048_0.7175878013891857"},"_hasShrinkwrap":false},"3.1.1-browser.1":{"name":"browser-style-dictionary","version":"3.1.1-browser.1","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepare":"husky install","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsonc$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^8.3.0","fs-extra":"^10.0.0","glob":"^7.2.0","json5":"^2.2.0","jsonc-parser":"^3.0.0","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.16.11","@commitlint/cli":"^16.1.0","@commitlint/config-conventional":"^16.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","babel-jest":"^27.4.6","babel-preset-env":"^1.7.0","docsify":"^4.12.2","docsify-cli":"^4.4.3","eslint":"^8.7.0","eslint-plugin-jest":"^26.0.0","husky":"^7.0.0","istanbul":"^0.4.5","jest":"^27.4.7","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.1.0","json5-jest":"^1.0.1","less":"^4.1.2","lint-staged":"^12.3.1","node-sass":"^7.0.1","rollup":"^2.60.1","standard-version":"^9.3.2","stylus":"^0.56.0","tsd":"^0.19.1","yaml":"^1.10.2"},"gitHead":"9ef53a94dfee94aef1ad4694b4914edf13e6d595","_id":"browser-style-dictionary@3.1.1-browser.1","_nodeVersion":"16.11.1","_npmVersion":"8.5.2","dist":{"integrity":"sha512-Rm9qfZaQBmK0VUuA5DVwz/UGX+4x60BPI2c1EkaiRx6pwcMAJ4VFJIvA4IKnupieDWvm2HdCxDi2sGjeSZl0fw==","shasum":"7c73c9559f892b25df1b891f73730a7777e43784","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.1.1-browser.1.tgz","fileCount":610,"unpackedSize":4186304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH4m1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNhQ/+N0xY6d/v5S7u6fJOVZZMUeCTaJwPTS7D1zacdRUhUAk38ZDv\r\nVAyKaQxzmkZPr8Ua6gVBCVx3UMDUTU92xLHedH4DdMVoMATORJ/NmJ1o7oXu\r\n0QhOkDHQUK0KXVyhzP3uyqhuV1YIqbtHPU0EZbEygq/2He3CDWuXG8xGoJVm\r\nK3Du7iMD11z2UAB6XuOAHSxDc2o19IGHd4YfIte/mFkMuFXMihu6EhCThfaC\r\n0JhR21IRh+23IybhasEbKwgPlEhxV0n/CSZlap02PzTjKgO3YBG8aZi7H0EW\r\ngzZPVDSnAxDjVi4nECmrLCftqtki7cUFYcueIJnJuouaoNVrlwuwVUU2vgVL\r\n4N3j4U9o/apqLU5D2w20ll8nlZCvba9XmYqhnaMipk9WRFrOcgsvYvAvS+hA\r\nHv699TnwaiM9rgiKyBIDwzodhQcFAB5gvnrItJJrMkFk84m+DAVhxtm73bOP\r\nvGzYv4q74IhqagezEyKRYHDU0YbSOPJ+9eL9NPEF/BN6VWpnfhFZKLdKcDIU\r\nZBOewdTAOV/as49GUOqREkRQnBUFYtwo41D6y9dKmJ6rwhggy0gKuNzpDbov\r\nTMDTRMjhMFSgD7RukZ/r0xCPClXp96sY/LV+4ZRSfWnqzIoi1RnfLevCgj2h\r\n9HuYbQShUpXf29P+VB/VLHulbiVOnDf8GO4=\r\n=NQ60\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6e1YSppboAYmMytOTDhVbqvmCcaktlo7a9fTnzv+cDAiEAhGOAWXgYWirrtYozDdfcryFUvC7ViBzwxx6vFM34T78="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.1.1-browser.1_1646234037387_0.38110685562008517"},"_hasShrinkwrap":false},"3.1.1-browser.2":{"name":"browser-style-dictionary","version":"3.1.1-browser.2","description":"Style once, use everywhere. A build system for creating cross-platform styles.","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"main":"browser.js","types":"types/browser.d.ts","bin":{"style-dictionary":"bin/style-dictionary"},"engines":{"node":">=12.0.0"},"scripts":{"lint":"eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"","test":"npm run test-types && npm run lint && jest --runInBand --silent --coverage","test-types":"tsd","test-watch":"npm run test-types && npm run lint && jest --runInBand --watch","generate-docs":"node ./scripts/generateDocs.js","serve-docs":"docsify serve docs -p 3000 -P 12345","install-cli":"npm install -g $(npm pack)","release":"git add . && standard-version -a","prepare":"husky install","prepublishOnly":"node ./prepublish.js"},"standard-version":{"scripts":{"postbump":"node ./scripts/version.js && npm run generate-docs"}},"jest":{"verbose":false,"collectCoverageFrom":["lib/**/*.js"],"coverageReporters":["html"],"coverageDirectory":"docs/coverage","roots":["__tests__","__integration__"],"setupFilesAfterEnv":["<rootDir>/__tests__/__setup.js"],"testPathIgnorePatterns":["/__tests__/__setup.js","/__tests__/__helpers.js","/__tests__/__assets/","/__tests__/__configs/","/__tests__/__json_files/","/__tests__/__properties/","/__tests__/__output/","/__tests__/formats/__constants.js"],"transform":{"^.+\\.json5$":"json5-jest","^.+\\.jsonc$":"json5-jest","^.+\\.jsx?$":"babel-jest"}},"husky":{"hooks":{"pre-commit":"npm test && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":["npm run lint","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"author":{"name":"Amazon"},"license":"Apache-2.0","bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"homepage":"https://github.com/amzn/style-dictionary","dependencies":{"chalk":"^4.0.0","change-case":"^4.1.2","commander":"^8.3.0","fs-extra":"^10.0.0","glob":"^7.2.0","json5":"^2.2.0","jsonc-parser":"^3.0.0","lodash":"^4.17.15","tinycolor2":"^1.4.1"},"devDependencies":{"@babel/preset-env":"^7.16.11","@commitlint/cli":"^16.1.0","@commitlint/config-conventional":"^16.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","babel-jest":"^27.4.6","babel-preset-env":"^1.7.0","docsify":"^4.12.2","docsify-cli":"^4.4.3","eslint":"^8.7.0","eslint-plugin-jest":"^26.0.0","husky":"^7.0.0","istanbul":"^0.4.5","jest":"^27.4.7","jsdoc-escape-at":"^1.0.1","jsdoc-to-markdown":"^7.1.0","json5-jest":"^1.0.1","less":"^4.1.2","lint-staged":"^12.3.1","node-sass":"^7.0.1","rollup":"^2.60.1","standard-version":"^9.3.2","stylus":"^0.56.0","tsd":"^0.19.1","yaml":"^1.10.2"},"gitHead":"1102af4424e9fcbe3ed2b3537c6064433273d5c6","_id":"browser-style-dictionary@3.1.1-browser.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-1jUbF3iTqp/JdzUm1Ts4VwmHYXNxM2CddcvDlC5Z84ZVgDWF1KOAgFzupSZaZcZURHvTZB0BeVwCsSqJ/zV7ag==","shasum":"b5e5d3859ca3940dc3c5ba6225a610b434875383","tarball":"https://registry.npmjs.org/browser-style-dictionary/-/browser-style-dictionary-3.1.1-browser.2.tgz","fileCount":621,"unpackedSize":5838373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVxsR+8kez4umIYz5CEWqFqt0wjE34ozLGeeuFgn8QZAiEA0ZzyBkRKtjSGC8lrT68DQ5YfI6PcInLq3H2glklLIZU="}]},"_npmUser":{"name":"jorenbroekema","email":"joren.broekema@gmail.com"},"directories":{},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-style-dictionary_3.1.1-browser.2_1684971132895_0.020319126629438244"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-05T11:27:24.303Z","3.0.2":"2021-10-05T11:27:24.566Z","modified":"2023-05-24T23:32:13.384Z","3.0.2-browser.1":"2021-10-25T13:49:04.037Z","3.0.2-browser.2":"2021-10-26T11:11:09.795Z","3.0.2-browser.3":"2021-11-04T09:47:54.914Z","3.0.2-browser.4":"2021-11-05T21:32:10.425Z","3.0.2-browser.5":"2021-11-06T00:02:06.829Z","3.0.2-browser.6":"2021-11-19T11:17:29.638Z","3.0.2-browser.7":"2021-12-01T13:08:47.645Z","3.1.1-browser.0":"2022-02-16T10:41:21.257Z","3.1.1-browser.1":"2022-03-02T15:13:57.611Z","3.1.1-browser.2":"2023-05-24T23:32:13.229Z"},"maintainers":[{"name":"jorenbroekema","email":"joren.broekema@gmail.com"}],"description":"Style once, use everywhere. A build system for creating cross-platform styles.","homepage":"https://github.com/amzn/style-dictionary","keywords":["style dictionary","style","dictionary","amazon","css","design","properties","tokens","sass","scss","iOS","Android","react","react native","style guide"],"repository":{"type":"git","url":"git://github.com/amzn/style-dictionary.git"},"contributors":[{"name":"Yuliya Baran","email":"baranyu@amazon.com"},{"name":"Charles Dorner","email":"dornerc@amazon.com"},{"name":"Dustin Boudreau","email":"boudrd@amazon.com"},{"name":"Danny Banks","email":"djb@amazon.com"}],"author":{"name":"Amazon"},"bugs":{"url":"https://github.com/amzn/style-dictionary/issues"},"license":"Apache-2.0","readme":"<p align=\"center\">\n  <img src=\"https://raw.github.com/divriots/browser-style-dictionary/main/docs/assets/logo-browser.svg\" height=\"200px\">\n</p>\n<br/>\n<p align=\"center\">\n  <a href=\"https://npmjs.com/package/browser-style-dictionary\"><img src=\"https://img.shields.io/npm/v/browser-style-dictionary.svg\" alt=\"npm package\"></a>\n  <a href=\"https://nodejs.org/en/about/releases/\"><img src=\"https://img.shields.io/node/v/browser-style-dictionary.svg\" alt=\"node compatibility\"></a>\n  <br/>\n</p>\n<p align=\"center\">\n  <a href=\"https://divRIOTS.com\">Brought to you by<br/></a>\n  <a href=\"https://divRIOTS.com#gh-light-mode-only\">\n    <img width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots.svg\" alt=\"‹div›RIOTS\" />\n  </a>\n  <a href=\"https://divRIOTS.com#gh-dark-mode-only\">\n    <img width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots-dark.svg\" alt=\"‹div›RIOTS\" />\n  </a>\n</p>\n<br/>\n\n<pre>\n<a href=\"https://amzn.github.io/style-dictionary/#/version_3\">What's new in Style Dictionary 3.0!</a>\n</pre>\n\n<img src=\"docs/assets/logo.png\" alt=\"Style Dictionary logo and mascot\" title=\"&quot;Pascal&quot;\" width=\"100\" align=\"right\" />\n\n[![npm version](https://img.shields.io/npm/v/style-dictionary.svg?style=flat-square)](https://badge.fury.io/js/style-dictionary)\n![license](https://img.shields.io/npm/l/style-dictionary.svg?style=flat-square)\n[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/amzn/style-dictionary/blob/main/CONTRIBUTING.md#submitting-pull-requests)\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/amzn/style-dictionary/Test?style=flat-square)](https://github.com/amzn/style-dictionary/actions/workflows/test.yml)\n[![downloads](https://img.shields.io/npm/dm/style-dictionary.svg?style=flat-square)](https://www.npmjs.com/package/style-dictionary)\n\n> This is a fork of style-dictionary, because it patches style-dictionary to work in the browser. See Browser section for more info.\n\n# Style Dictionary\n> *Style once, use everywhere.*\n\nA Style Dictionary uses design tokens to define styles once and use those styles on any platform or language. It provides a single place to create and edit your styles, and exports these tokens to all the places you need - iOS, Android, CSS, JS, HTML, sketch files, style documentation, etc. It is available as a CLI through npm, but can also be used like any normal node module if you want to extend its functionality.\n\nWhen you are managing user experiences, it can be quite challenging to keep styles consistent and synchronized across multiple development platforms and devices. At the same time, designers, developers, PMs and others must be able to have consistent and up-to-date style documentation to enable effective work and communication. Even then, mistakes inevitably happen and the design may not be implemented accurately. Style Dictionary solves this by automatically generating style definitions across all platforms from a single source - removing roadblocks, errors, and inefficiencies across your workflow.\n\nFor detailed usage head to https://amzn.github.io/style-dictionary\n\n## Watch the Demo on Youtube\n[![Watch the video](/docs/assets/fake_player.png)](http://youtu.be/1HREvonfqhY)\n\n## Experiment in the playground\nTry the browser-based Style Dictionary playground: [https://www.style-dictionary-play.dev/](https://www.style-dictionary-play.dev/), built by the folks at [\\<div\\>RIOTS](https://divriots.com/).\n\n## Contents\n* [Installation](#installation)\n* [Usage](#usage)\n* [Example](#example)\n* [Quick Start](#quick-start)\n* [Design Tokens](#design-tokens)\n* [Extending](#extending)\n* [Contributing](#contributing)\n* [License](#license)\n\n\n## Installation\n*Note that you must have node (and npm) installed.*\n\nIf you want to use the CLI, you can install it globally via npm:\n```bash\n$ npm install -g style-dictionary\n```\n\nOr you can install it like a normal npm dependency. This is a build tool and you are most likely going to want to save it as a dev dependency:\n```bash\n$ npm install -D style-dictionary\n```\n\nIf you want to install it with yarn:\n```bash\n$ yarn add style-dictionary --dev\n```\n\nIf you want to install patch that can be used in the browser (see Browser section for more info):\n\n```bash\n$ npm install browser-style-dictionary\n```\n\n## Usage\n### CLI\n```bash\n$ style-dictionary build\n```\nCall this in the root directory of your project. The only thing needed is a `config.json` file. There are also arguments:\n\n| Flag | Short Flag | Description |\n| --- | --- | --- |\n| --config \\[path\\] | -c | Set the config file to use. Must be a .json file |\n| --platform \\[platform\\] | -p | Only build a specific platform defined in the config file. |\n| --help | -h | Display help content |\n| --version | -v | Display the version |\n\n### Node\nYou can also use the style dictionary build system in node if you want to [extend](#extending) the functionality or use it in another build system like Grunt or Gulp.\n```javascript\nconst StyleDictionary = require('style-dictionary').extend('config.json');\n\nStyleDictionary.buildAllPlatforms();\n```\n\nThe `.extend()` method is an overloaded method that can also take an object with the configuration in the same format as a config.json file.\n```javascript\nconst StyleDictionary = require('style-dictionary').extend({\n  source: ['tokens/**/*.json'],\n  platforms: {\n    scss: {\n      transformGroup: 'scss',\n      buildPath: 'build/',\n      files: [{\n        destination: 'variables.scss',\n        format: 'scss/variables'\n      }]\n    }\n    // ...\n  }\n});\n\nStyleDictionary.buildAllPlatforms();\n```\n\n## Browser\n\nThis fork of style-dictionary is made to work in the browser. There's essentially three things for that to be possible\n\n### Done already\n\n* Patch style-dictionary to exclude things that only work in Node (e.g. `process.on('exit')`), calls to `fs-extra` etc.\n\n* Prepublish step to replace calls to `fs.readFileSync(__dirname + '/templates/...')` with the inlined content of those template files\n\nYou can import the browser entrypoint:\n\n```js\nimport StyleDictionary from 'browser-style-dictionary/browser.js';\n```\n\nor if you want a prebundled ESM version of the format helpers:\n\n```js\nimport StyleDictionary from 'browser-style-dictionary/format-helpers.esm.js';\n```\n\n### Do yourself\n\n* Run Browserify or your own bundler of choice (e.g. [Rollup](https://rollupjs.org/)) to make this runnable in the browser. It is needed to replace Node exclusives with browser-compatible alternatives, like `fs`, `path`, `process`, etc.\n\nYou will also need to transform CommonJS to ES Modules format.\n\nThere's an example for Rollup in the [playground repository](https://github.com/divriots/style-dictionary-playground/blob/main/rollup.config.js).\n\nIf you're looking for a browserify utility to do the same thing, checkout the playground's old [browserify branch](https://github.com/divriots/style-dictionary-playground/tree/browserify). However, we recommend reusing the bundler you bundle the rest of your application with, rather than creating multiple separate bundles.\n\nFor supporting JSON5, add this to your app:\n\n```html\n<script src=\"https://unpkg.com/json5@^2.0.0/dist/index.min.js\"></script>\n```\n\n> Note: your file-system shim needs to support synchronous calls, we recommend [memfs](https://www.npmjs.com/package/memfs).\n> Using `glob` is possible too. Make sure to pass the virtual FS to glob calls e.g. `glob('**/*', { fs: virtualFS })`.\n\n### Playground\n\nFor reference, checkout the [playground repository](https://github.com/divriots/style-dictionary-playground), it shows how you can run style-dictionary in the browser by doing those 2 final steps.\n\nLook into the playground for a full example, but in short:\n\n```js\n// patched style-dictionary, we assume your bundler transforms to ESM, meaning you can import like ESM\nimport StyleDictionary from \"browser-style-dictionary/browser.js\";\nimport path from \"path\";\nlet myStyleDictionary;\nconst configPath = path.resolve(\"sd.config.json\");\n\nfunction runStyleDictionary() {\n  console.log(\"Running style-dictionary...\");\n  myStyleDictionary = StyleDictionary.extend(configPath);\n  myStyleDictionary.buildAllPlatforms();\n}\nrunStyleDictionary();\n```\n\n### Excluded features for browser\n\n* actions, because we don't support uploading & copying assets in the browser version for now. Needs browser-adaptation\n* registering custom templates with Node API, no browser alternative way for now, all templates are inlined. At some point we can ditch this bundler plugin to replace readFileSync calls to templates, and use the browser fs shim instead.\n* cleanPlatform / cleanAllPlatforms, we expect you to have your own cleanup for output dirs from platforms for now, see `playground/index.js` --> `cleanPlatformOutputDirs` function for an example. We can look into re-enabling these utils though, but needs patching..\n* json5 support, removed it for now until we find a way to use it in browser\n\n## Example\n[Take a look at some of our examples](examples/)\n\nA style dictionary is a collection of design tokens, key/value pairs that describe stylistic attributes like colors, sizes, icons, motion, etc. A style dictionary defines these design tokens in JSON or Javascript files, and can also include static assets like images and fonts. Here is a basic example of what the package structure can look like:\n\n```\n├── config.json\n├── tokens/\n│   ├── size/\n│       ├── font.json\n│   ├── color/\n│       ├── font.json\n│   ...\n├── assets/\n│   ├── fonts/\n│   ├── images/\n```\n\n### config.json\nThis tells the style dictionary build system how and what to build. The default file path is `config.json` or `config.js` in the root of the project, but you can name it whatever you want by passing in the `--config` flag to the [CLI](https://amzn.github.io/style-dictionary/#/using_the_cli).\n\n```json\n{\n  \"source\": [\"tokens/**/*.json\"],\n  \"platforms\": {\n    \"scss\": {\n      \"transformGroup\": \"scss\",\n      \"buildPath\": \"build/\",\n      \"files\": [{\n        \"destination\": \"scss/_variables.scss\",\n        \"format\": \"scss/variables\"\n      }]\n    },\n    \"android\": {\n      \"transformGroup\": \"android\",\n      \"buildPath\": \"build/android/\",\n      \"files\": [{\n        \"destination\": \"font_dimens.xml\",\n        \"format\": \"android/fontDimens\"\n      }]\n    }\n  }\n}\n```\n\n| Attribute | Type | Description |\n| :--- | :--- | :--- |\n| source | Array | An array of file path [globs](https://github.com/isaacs/node-glob) to design token files. Style Dictionary will do a deep merge of all of the token files, allowing you to organize your files files however you want. |\n| include | Array | An array of file path [globs](https://github.com/isaacs/node-glob) to design token files that contain default styles. The Style Dictionary uses this as a base collection of tokens. The tokens found using the \"source\" attribute will overwrite tokens found using include. |\n| platforms | Object | Sets of platform files to be built. |\n| platform.transformGroup | String (optional) | Apply a group of transforms to the tokens, must either define this or `transforms`. |\n| platform.transforms | Array (optional) | Transforms to apply sequentially to all tokens. Can be a built-in one or you can create your own. |\n| platform.buildPath | String (optional) | Base path to build the files, must end with a trailing slash. |\n| platform.files | Array (optional) | Files to be generated for this platform. |\n| platform.file.destination | String (optional) | Location to build the file, will be appended to the buildPath. |\n| platform.file.format | String (optional) | Format used to generate the file. Can be a built-in one or you can create your own. [More on formats](https://amzn.github.io/style-dictionary/#/formats) |\n| platform.file.options | Object (optional) | A set of extra options associated with the file. |\n| platform.file.options.showFileHeader | Boolean | If the generated file should have a \"Do not edit + Timestamp\" header (where the format supports it). By default is \"true\". |\n\n### Design Tokens\n\n```json\n{\n  \"size\": {\n    \"font\": {\n      \"small\" : { \"value\": \"10px\" },\n      \"medium\": { \"value\": \"16px\" },\n      \"large\" : { \"value\": \"24px\" },\n      \"base\"  : { \"value\": \"{size.font.medium.value}\" }\n    }\n  }\n}\n```\n\nHere we are creating some basic font size design tokens. The style definition size.font.small.value is \"10px\" for example. The style definition size.font.base.value is automatically aliased to the value found in size.font.medium.value and both of those resolve to \"16px\".\n\nNow what the style dictionary build system will do with this information is convert it to different formats, enabling these values to be used in any type of codebase. From this one file you can generate any number of files like:\n\n```scss\n$size-font-small: 10px;\n$size-font-medium: 16px;\n$size-font-large: 24px;\n$size-font-base: 16px;\n```\n\n```xml\n<dimen name=\"font-small\">10sp</dimen>\n<dimen name=\"font-medium\">16sp</dimen>\n<dimen name=\"font-large\">24sp</dimen>\n<dimen name=\"font-base\">16sp</dimen>\n```\n\n```objc\nfloat const SizeFontSmall = 10.00f;\nfloat const SizeFontMedium = 16.00f;\nfloat const SizeFontLarge = 24.00f;\nfloat const SizeFontBase = 16.00f;\n```\n\n\n## Quick Start\n\nThe style dictionary framework comes with some example code to get you stared. Install the node module globally, create a directory and `cd` into it.\n\n```\n$ npm i -g style-dictionary\n$ mkdir MyStyleDictionary\n$ cd MyStyleDictionary\n```\n\nNow run:\n\n```\n$ style-dictionary init basic\n```\n\nThis command will copy over the example files found in [example](examples/) in this repo. Now you have an example project set up. You can make changes to the style dictionary and rebuild the project by running:\n\n```\n$ style-dictionary build\n```\n\nTake a look at the documentation for the example code.\n\n## Design Tokens\n\nA design token is an attribute to describe something visually. It is atomic (it cannot be broken down further). Design tokens have a name, a value, and optional attributes or metadata. The name of a token can be anything, but we have a proposed naming structure that we find works really well in the next section.\n\n### Category/Type/Item Structure\n\nWhile not exactly necessary, we feel this classification structure of design tokens makes the most sense semantically. Design tokens can be organized into a hierarchical tree structure with the top level, category, defining the primitive nature of the token. For example, we have the color category and every token underneath is always a color. As you proceed down the tree to type, item, sub-item, and state, you get more specific about what that color is. Is it a background color, a text color, or a border color? What kind of text color is it? You get the point. Now you can structure your token json files like simple objects:\n\n```\n{\n  \"size\": {\n    \"font\": {\n      \"base\":  { \"value\": \"16\" },\n      \"large\": { \"value\": \"20\" }\n    }\n  }\n}\n```\n\nThe CTI is implicit in the structure, the category and type is 'size' and 'font', and there are 2 tokens 'base' and 'large'.\n\nStructuring design tokens in this manner gives us consistent naming and accessing of these tokens. You don't need to remember if it is button_color_error or error_button_color, it is color_background_button_error!\n\nYou can organize and name your design tokens however you want, there are no restrictions. But we have a good amount of helpers if you do use this structure, like the 'attribute/cti' transform which adds attributes to the token of its CTI based on the path in the object. There are a lot of name transforms as well for when you want a flat structure like for Sass variables.\n\nAlso, the CTI structure provides a good mechanism to target transforms for specific kinds of tokens. All of the transforms provided by the framework use the CTI of a token to know if it should be applied. For instance, the 'color/hex' transform only applies to tokens of the category 'color'.\n\nYou can also add a _comment_ to a design token:\n\n```\n{\n  \"size\": {\n    \"font\": {\n      \"base\":  {\n        \"value\": \"16\",\n        \"comment\": \"the base size of the font\"\n      },\n      \"large\": {\n        \"value\": \"20\",\n        \"comment\": \"the large size of the font\"\n      }\n    }\n  }\n}\n```\n\nThe comment  will appear in the output files, where relevant or the output format supports comments.\n\n\n## Extending\n\nThe style dictionary build system is made to be extended. We don't know exactly how everyone will want to use style dictionaries in their project, which is why you can create custom transforms and formats.\n\n```javascript\nconst StyleDictionary = require('style-dictionary').extend('config.json');\n\nStyleDictionary.registerTransform({\n  name: 'time/seconds',\n  type: 'value',\n  matcher: function(prop) {\n    return prop.attributes.category === 'time';\n  },\n  transformer: function(prop) {\n    return (parseInt(prop.original.value) / 1000).toString() + 's';\n  }\n});\n\nStyleDictionary.buildAllPlatforms();\n```\n\nFor more information on creating your own transforms and formats, take a look at our [docs](https://amzn.github.io/style-dictionary/).\n\n## Mascot\n\nThe mascot for Style Dictionary is [\"Pascal\"](https://github.com/amzn/style-dictionary/issues/97) the chameleon (seen below). You can also find them blending in as the logo throughout the documentation.\n\n<img src=\"docs/assets/logo.png\" alt=\"Style Dictionary logo and mascot\" title=\"&quot;Pascal&quot;\" width=\"240\" />\n\n## Contributing\n\nPlease help make this framework better. For more information take a look at [CONTRIBUTING.md](CONTRIBUTING.md)\n\n\n## License\n\n[Apache 2.0](LICENSE)\n","readmeFilename":"README.md"}