{"_id":"@animaapp/style-dictionary","_rev":"12-dead3ded29006509e310ec1e365a2d8f","name":"@animaapp/style-dictionary","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@animaapp/style-dictionary","version":"1.0.0","keywords":[],"author":{"name":"Aymeric Beudaert","email":"aymeric@animaapp.com"},"license":"MIT","_id":"@animaapp/style-dictionary@1.0.0","maintainers":[{"name":"andrico-anima","email":"andrico@animaapp.com"},{"name":"aymeric_animaapp","email":"aymeric@animaapp.com"},{"name":"moez_anima","email":"moez@animaapp.com"},{"name":"federico_anima","email":"federico@animaapp.com"},{"name":"orarbel","email":"or@animaapp.com"},{"name":"jorgeanima","email":"jorge@animaapp.com"},{"name":"animaapp-npm","email":"support@animaapp.com"}],"homepage":"https://github.com/AnimaApp/anima-storybook-cli#readme","bugs":{"url":"https://github.com/AnimaApp/anima-storybook-cli/issues"},"dist":{"shasum":"fe71ebe579ad9efb584e240b8f3492e57a0d7cae","tarball":"https://registry.npmjs.org/@animaapp/style-dictionary/-/style-dictionary-1.0.0.tgz","fileCount":6,"integrity":"sha512-Ui4Ot1xQky6T7Rm22S9tNbqJmG1RulPY+EO/jUL+63Obx3hmMlwow4JxcHiIoTbtnY/T6Emmd6Ed7LB9sZi6qw==","signatures":[{"sig":"MEUCICjGFKiDG4XMTE6hVgGSbJqsC7ZctZA+NtFyzalDtnBrAiEArgzKfW4+Me/I+Fp5yjKCIiLA+L4w0LgnmMPySi5cyaU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5641},"main":"./dist/src/index.cjs","_from":"file:animaapp-style-dictionary-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/src/index.js","require":"./dist/src/index.cjs"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format cjs,esm --dts --clean"},"_npmUser":{"name":"aymeric_animaapp","email":"aymeric@animaapp.com"},"_resolved":"/private/var/folders/lx/h15rrlpd48g2pk0wmqkvzd5h0000gn/T/fba40182bc8e71ee00fd732eb7112cb3/animaapp-style-dictionary-1.0.0.tgz","_integrity":"sha512-Ui4Ot1xQky6T7Rm22S9tNbqJmG1RulPY+EO/jUL+63Obx3hmMlwow4JxcHiIoTbtnY/T6Emmd6Ed7LB9sZi6qw==","repository":{"url":"git+https://github.com/AnimaApp/anima-storybook-cli.git","type":"git"},"_npmVersion":"8.15.1","description":"Anima parser for style dictionary","directories":{},"_nodeVersion":"18.7.0","dependencies":{"style-dictionary":"^3.8.0"},"publishConfig":{"@animaapp:registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","typescript":"^5.0.2","@types/node":"^18.11.5"},"_npmOperationalInternal":{"tmp":"tmp/style-dictionary_1.0.0_1685703148806_0.8170012037695065","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@animaapp/style-dictionary","version":"1.0.1","keywords":[],"author":{"name":"Aymeric Beudaert","email":"aymeric@animaapp.com"},"license":"MIT","_id":"@animaapp/style-dictionary@1.0.1","maintainers":[{"name":"andrico-anima","email":"andrico@animaapp.com"},{"name":"aymeric_animaapp","email":"aymeric@animaapp.com"},{"name":"moez_anima","email":"moez@animaapp.com"},{"name":"federico_anima","email":"federico@animaapp.com"},{"name":"orarbel","email":"or@animaapp.com"},{"name":"jorgeanima","email":"jorge@animaapp.com"},{"name":"animaapp-npm","email":"support@animaapp.com"}],"homepage":"https://github.com/AnimaApp/anima-storybook-cli#readme","bugs":{"url":"https://github.com/AnimaApp/anima-storybook-cli/issues"},"dist":{"shasum":"1f9778074b10df624ae171764ea847606446da95","tarball":"https://registry.npmjs.org/@animaapp/style-dictionary/-/style-dictionary-1.0.1.tgz","fileCount":5,"integrity":"sha512-uy6NNBkUjWi/LL8rnBPLjUc28m29Bh45oiVaGnqxoqSdMHLykXOni5VXCY5PokXnJ1FsSk/0KWXwKwEqZznkdw==","signatures":[{"sig":"MEUCICtiCkDVdaRGy6X4s9Fjbd+QZOD/eehlIsrGuJ9cplpAAiEAtLxdL6Eue0B4jvDvT5z6ljmo11dH++fUTbkTltYK5Ww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4544},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"abf1663d4f2da8b1e80c6af024a61d982e6b7a18","scripts":{"test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean"},"_npmUser":{"name":"aymeric_animaapp","email":"aymeric@animaapp.com"},"repository":{"url":"git+https://github.com/AnimaApp/anima-storybook-cli.git","type":"git"},"_npmVersion":"8.15.1","description":"Anima parser for style dictionary","directories":{},"_nodeVersion":"18.7.0","dependencies":{"style-dictionary":"^3.8.0"},"publishConfig":{"@animaapp:registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vitest":"^0.30.1","typescript":"^5.0.2","@types/node":"^18.11.5"},"_npmOperationalInternal":{"tmp":"tmp/style-dictionary_1.0.1_1685706312399_0.7437340933914722","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@animaapp/style-dictionary","version":"1.0.2","keywords":[],"author":{"name":"Aymeric Beudaert","email":"aymeric@animaapp.com"},"license":"MIT","_id":"@animaapp/style-dictionary@1.0.2","maintainers":[{"name":"andrico-anima","email":"andrico@animaapp.com"},{"name":"aymeric_animaapp","email":"aymeric@animaapp.com"},{"name":"moez_anima","email":"moez@animaapp.com"},{"name":"federico_anima","email":"federico@animaapp.com"},{"name":"orarbel","email":"or@animaapp.com"},{"name":"jorgeanima","email":"jorge@animaapp.com"},{"name":"animaapp-npm","email":"support@animaapp.com"}],"homepage":"https://github.com/AnimaApp/anima-storybook-cli#readme","bugs":{"url":"https://github.com/AnimaApp/anima-storybook-cli/issues"},"dist":{"shasum":"c74021feb872e9d05923ad1274dcf3348df65b98","tarball":"https://registry.npmjs.org/@animaapp/style-dictionary/-/style-dictionary-1.0.2.tgz","fileCount":7,"integrity":"sha512-QB1JrxC7HfTeDxn7/pxCS9R1qBLeVpsgwBLC43VK+MaKprUEBwLWslbG6X0nUQ9kaFepCh3BO1Go3mBX99yGHA==","signatures":[{"sig":"MEUCICvUDnW338HIL3tF3aSfZR4uSPzY+7aR51xS9NySMQaDAiEA7Gd0VzSFhk4Pt9IEjs8/IKO4R/wpLXuzvNfRrooxzqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8145},"main":"./dist/index.js","_from":"file:animaapp-style-dictionary-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean"},"_npmUser":{"name":"moez_anima","email":"moez@animaapp.com"},"_resolved":"/tmp/392477da6227ab1b3535556e3923c5f3/animaapp-style-dictionary-1.0.2.tgz","_integrity":"sha512-QB1JrxC7HfTeDxn7/pxCS9R1qBLeVpsgwBLC43VK+MaKprUEBwLWslbG6X0nUQ9kaFepCh3BO1Go3mBX99yGHA==","repository":{"url":"git+https://github.com/AnimaApp/anima-storybook-cli.git","type":"git"},"_npmVersion":"8.19.4","description":"Anima parser for style dictionary","directories":{},"_nodeVersion":"16.20.0","dependencies":{"style-dictionary":"^3.8.0"},"publishConfig":{"@animaapp:registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vitest":"^0.30.1","typescript":"^5.0.2","@types/node":"^18.11.5"},"_npmOperationalInternal":{"tmp":"tmp/style-dictionary_1.0.2_1687868247932_0.3831048742944396","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-06-02T10:52:28.741Z","modified":"2026-08-12T10:25:01.078Z","1.0.0":"2023-06-02T10:52:28.969Z","1.0.1":"2023-06-02T11:45:12.550Z","1.0.2":"2023-06-27T12:17:28.151Z"},"bugs":{"url":"https://github.com/AnimaApp/anima-storybook-cli/issues"},"author":{"name":"Aymeric Beudaert","email":"aymeric@animaapp.com"},"license":"MIT","homepage":"https://github.com/AnimaApp/anima-storybook-cli#readme","keywords":[],"repository":{"url":"git+https://github.com/AnimaApp/anima-storybook-cli.git","type":"git"},"description":"Anima parser for style dictionary","maintainers":[{"email":"support@animaapp.com","name":"animaapp-npm"},{"email":"moez@animaapp.com","name":"moez_anima"},{"email":"aymeric@animaapp.com","name":"aymeric_animaapp"},{"email":"marin@animaapp.com","name":"marin_anima"},{"email":"ofer@animaapp.com","name":"ofer-animaapp"},{"email":"haim@animaapp.com","name":"haim_anima"},{"email":"bruno@animaapp.com","name":"macabeus-anima"},{"email":"emilio@animaapp.com","name":"anima-emilio"}],"readme":"# @animaapp/style-dictionary [![npm](https://img.shields.io/npm/v/@animaapp/style-dictionary?logo=npm)](https://www.npmjs.com/package/@animaapp/style-dictionary)\n\nThis package is part of a set of tools that enable you to create and manage a single source of truth for your design system.\n\nLearn more about the whole Design System workflow in our [Anima Design System Automation guide](https://dsa.animaapp.com/guide/manage-design-tokens/design-tokens-css-variables.html).\n\n# Style Dictionary helper to convert design tokens\n\nThis package contains transformers and parsers for design token workflows that use Style Dictionary\n\n## Install\n\n```bash\nnpm i -D @animaapp/style-dictionary\n```\n\n## Usage\n\n### convert design tokens to css variables\n\n`styleguide.config.js`\n\n```js\nconst { registerAnima } = require('@animaapp/style-dictionary');\nconst StyleDictionary = require('style-dictionary');\n\nregisterAnima(StyleDictionary);\n\nmodule.exports = {\n  source: ['./src/anima-ds-tokens.json'],\n  platforms: {\n    scss: {\n      transformGroup: 'scss',\n      buildPath: 'src/generated/',\n      files: [\n        {\n          destination: 'scss/_variables.scss',\n          format: 'css/variables',\n        },\n      ],\n    },\n  },\n};\n```\n\n### Learn more with our [tokens to css-variables example](https://dsa.animaapp.com/guide/manage-design-tokens/design-tokens-css-variables.html)\n","readmeFilename":"README.md"}