{"_id":"style-dictionary-npm-example","_rev":"39-243967cbbc319dd60d9bdc3a9ed7982d","name":"style-dictionary-npm-example","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"style-dictionary-npm-example","version":"1.0.0","author":"","license":"Apache-2.0","_id":"style-dictionary-npm-example@1.0.0","maintainers":[{"name":"paro.io","email":"admin@paro.io"}],"dist":{"shasum":"3f0c2117e2bf19e9564a0b92145329d46a7599cd","tarball":"https://registry.npmjs.org/style-dictionary-npm-example/-/style-dictionary-npm-example-1.0.0.tgz","fileCount":6,"integrity":"sha512-0aLQn727BjH30DqLa2IhWWJiiRIaaL8V+GQePFH3m+HT+qlSCtUb60MheKdskwW4tYoeHR+zhpKZR4AjyZRtsA==","signatures":[{"sig":"MEUCIQDeyb8lWDw4ORoGJlfAQRFERCDYOkve7bSBJrlKA1KfOgIgK9dK1KolW3zqC18aKGtGdI74rt+PhLDMOu+/ghEg/kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePIJ6CRA9TVsSAnZWagAAGwQQAJmDx7Es/Xne3n80vJ52\nLJ1RBwQOC2ULJSpT9+1E2Th0Zc2hBcOjpnC5mYjU6rmxxWeiZQWWwe2L7Huq\nIKaK2mn4x7WeKUQW34yDqAjmZbAdXV1leDIy6KdQiS8t5KCOFQt+cQ3G5hEs\nnSDTXwefa7d37TENam/2EJXL7Xkjc4yNc2S8cTzn4d6UvY/tVKE5pjojUsd1\nwbVgH6zysyo1SaDfxg7cvjJgIsURI8IBtY/sIaJwDXyPhAKMtSU7NGl76Vxo\nux7VaIc+sw7v8zO9tLelAr+aeiG4WEIgp+R1UOqAA37HfOhxeEoalkK+fhV4\n/JkPn9lZ2L1X5ItKN3VyanBijkckb/01xR9xoglbHEhAPeQa/pmTPYd/U2m8\nrmmS8lAByNonFr7gmS2B9uzI/7olSLHj8quNcxruTRaJMo70SdMolum2He1T\nrRoZgzNaIQFHecI3t7n4AAT+86DJ4f3k58CP54ogH1EnKey5kMOue89vzp5d\n/vH8YflWPhXZCm4fJlHnM7geTSiat3mY/F4E7nqN5yUoY0+X0w9UpwLF9Fvd\nsEKTQehwfOMwgq7VsLMrDJPOby3I7ub5N+qtP+XXO/LqXEPNdztctm9ZS6NT\nDThet4OvteT6Zb60rszsqTWo7wkObOB9acULjzrM2KbA9l3OQRfQ1DEVhQKv\n5072\r\n=K12N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","gitHead":"163d20481e9a8b1a2ecf4da6c0292fd55fd56d3c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"style-dictionary build","clean":"rm -rf build","prepublishOnly":"npm run build"},"_npmUser":{"name":"paro.io","email":"admin@paro.io"},"_npmVersion":"6.9.0","description":"This example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.","directories":{},"_nodeVersion":"11.0.0","_hasShrinkwrap":false,"devDependencies":{"style-dictionary":"2.8.3"},"_npmOperationalInternal":{"tmp":"tmp/style-dictionary-npm-example_1.0.0_1581023866307_0.5516140114499992","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-02-06T21:17:46.307Z","modified":"2026-03-11T19:26:44.129Z","1.0.0":"2020-02-06T21:17:46.427Z"},"license":"Apache-2.0","description":"This example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.","maintainers":[{"email":"admin@paro.io","name":"paroadmin"},{"email":"apande@paro.io","name":"apandeparo"},{"email":"eli@paro.io","name":"eli-paro"},{"email":"amar@paro.io","name":"amarbhatia"},{"email":"karunakar.reddy@paro.io","name":"karunakar_reddy"},{"email":"srinith@paro.io","name":"srinith"},{"email":"mason@paro.io","name":"mgrandusky"},{"email":"anuj.kapasia-contractor@paro.io","name":"anujparo"}],"readme":"## Style Dictionary as an npm module\n\nThis example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.\n\nWhen you publish this npm module, the `prepublishOnly` hook will run, calling the style dictionary build system to create the necessary files.\n\n#### Running the example\n\nFirst of all, set up the required dependencies running the command `npm install` in your local CLI environment (if you prefer to use *yarn*, update the commands accordingly).\n\nAt this point, run `npm run build`. This command will generate the files in the `build` folder.\n\n\n#### What to look at\n\nOpen the `package.json` file and see how in this specific example there is an extra [`prepublishOnly`](https://docs.npmjs.com/misc/scripts) command script, that builds the dictionary.\n\nThis command is run automatically before the package is prepared and packed via the `npm publish` command.","readmeFilename":"README.md"}