{"_id":"@abw/gloss","name":"@abw/gloss","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@abw/gloss","version":"0.0.1","description":"Proof of concept for generating CSS styles on demand","type":"module","main":"./dist/gloss.umd.cjs","module":"./dist/gloss.js","exports":{".":{"import":"./dist/gloss.js","require":"./dist/gloss.umd.cjs"}},"author":{"name":"Andy Wardley"},"licence":"ISC","keywords":["react"],"scripts":{"dev":"vite","test":"vitest","build":"vite build","build:docs":"vite build --outDir docs --config vite.docs.js","preview":"vite preview --outDir docs --config vite.docs.js","lint":"eslint 'src/**/*.{js,jsx}' 'lib/**/*.{js,jsx}'"},"repository":{"type":"git","url":"git+https://github.com/abw/gloss.git"},"bugs":{"url":"https://github.com/abw/gloss/issues"},"dependencies":{},"devDependencies":{"@abw/badger-timestamp":"^1.0.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/react":"^18.0.28","@types/react-dom":"^18.0.11","@vitejs/plugin-react":"^3.1.0","eslint":"^8.37.0","eslint-plugin-react":"^7.32.2","jsdom":"^21.1.1","react":"^18.2.0","react-dom":"^18.2.0","react-router-dom":"^6.10.0","react-syntax-highlighter":"^15.5.0","sass":"^1.60.0","vite":"^4.2.0","vitest":"^0.29.8"},"gitHead":"87b4a48ac50973a5bca11d4e5b8d5fd28a2bde97","homepage":"https://github.com/abw/gloss#readme","_id":"@abw/gloss@0.0.1","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-h6k99HR615z2wMrC8i8bkg2EX/mgCDcWLW12OXSv04xXCPg+K/iFnjg3XbBintJixl7Ait+WEm17bnD+L0TGRw==","shasum":"50c250f8091e0d1f1ffb1114f09c31001537d6fd","tarball":"https://registry.npmjs.org/@abw/gloss/-/gloss-0.0.1.tgz","fileCount":6,"unpackedSize":31867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZAeNY22KICMd4vDSyKcMG+ldn8S61SBkv0Kf+WSOohAiEAg+QAPYyngM9H+Qc59XAkUCAjiT8oWO4AOBTqG9tfR+U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkO+5uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHVQ/+ISolxsZ8MZhPaCAEXrC8qcIO7M89BtcQAnj25BFQHckBrMNW\r\nS7RdhsKjInnLztOrf5QwMU7SQUMDfb+7hi5J62Q+kKMsEGgL8p9ehknyj3Ip\r\n5xnpWsCfZrQQNExN17vbMrTYWVOZaqgTNzMPpNK2All8PTrQDj4iiC9dkJWv\r\n/lhqdEtF4EIy00clAcujTR7Hkz1KlbMhADeVpMqIOlENhGY/nGpsh9MwQvET\r\nSR2n2iFUmLl+7ZVPb4ZZwaoH2r+7iipos3VWnQCy4jao3Tn5D819V3ZU+qQt\r\nzOvrmMfCPcACt0zXbK4kF51fFN0AZNCOOboZSLN6J8DCvRxPornAcIVWwXBb\r\nNE0OgD0fnmQdYnckrwUQ8I5RW5cS4tlAKoF5d/TIJfCTe+GjZZgZlPV7xCqP\r\n4nBqkg1xqKXdaJYtSgqn9asT2PkKwDtaPeqByeYUEHug5aBzJkQvNpfFDNRp\r\nP78zBm/PkcX/C2v/8UHenthEiXxBF83dOJFrA3ENpmSIjD7EtljRZJNcedd1\r\nBlbwF6BPusMZnDQrVo+qDZhFAVc4SV0+OrkZcTaPDnXYLXKK1YDHVyaImlFg\r\nj1FdASxtOMxQ83Q2CTcuSR8Xqo+zYJ68jWB17tgKBD1ZMeSrA17MFSDTuQ69\r\n6+h65NXFF0q68YxX4j94EfhCyxBCdoP0bY0=\r\n=Zs9Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abw","email":"abw@wardley.org"},"directories":{},"maintainers":[{"name":"abw","email":"abw@wardley.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gloss_0.0.1_1681649262752_0.8185438880978484"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-16T12:47:42.698Z","0.0.1":"2023-04-16T12:47:42.930Z","modified":"2023-04-16T12:47:43.109Z"},"maintainers":[{"name":"abw","email":"abw@wardley.org"}],"description":"Proof of concept for generating CSS styles on demand","homepage":"https://github.com/abw/gloss#readme","keywords":["react"],"repository":{"type":"git","url":"git+https://github.com/abw/gloss.git"},"author":{"name":"Andy Wardley"},"bugs":{"url":"https://github.com/abw/gloss/issues"},"readme":"# gloss\n\nGloss is a simple Javascript library for adding rule-based styling to web\ncomponents.\n\nIt can be used to automatically generate utility classes in the style of\nTailwind et al. It is small, fast and flexible and only generates the styles\nfor classes that you use. It was inspired by [UnoCSS](https://unocss.dev/).\n\n## Warning!\n\nThis is a proof of concept and a work in progress. It should be considered\nunstable, unreliable and likely to change at any time. Use it at your own\nrisk!\n\n## Getting Started\n\nAdd the `@abw/gloss` module to your project using your favourite\npackage manager.\n\n```bash\n## using npm\n$ npm add @abw/gloss\n\n## using yarn\n$ yarn add @abw/gloss\n\n## using pnpm\n$ pnpm add @abw/gloss\n```\n\n## Documentation\n\nVisit the [documentation](https://abw.github.io/gloss/) web site\nfor documentation and examples.\n\n## Notes for Maintainers\n\nCheck out the repository.\n\n```bash\n$ git clone https://github.com/abw/gloss.git\n$ cd gloss\n```\n\nInstall the dependencies.\n\n```bash\n$ pnpm install\n```\n\nTo run the development server.\n\n```bash\n$ pnpm dev\n```\n\nTo run the tests.\n\n```bash\n$ pnpm test\n```\n\nTo build for production.\n\n```bash\n$ pnpm build\n```\n\nTo build the documentation.\n\n```bash\n$ pnpm build:docs\n```\n\nTo preview the documentation.\n\n```bash\n$ pnpm preview\n```\n\nCheck source code for formatting errors.\n\n```bash\n$ pnpm lint\n```\n\n\n## Project Structure\n\nThe main project code is in the `lib` directory.  The `index.jsx` is the\nmain entry point.\n\nRunning `pnpm build` creates a production build in the `dist`\ndirectory.\n\nThe `src` directory contains the web site for development, testing and\ndocumentation.  The `index.html` is the main entry point.\n\nRunning `pnpm dev` runs a development web server for the site.\n\nRunning `pnpm build:docs` builds the site and saves the bundled\noutput in the `docs` directory.  Any additional resources in the `public`\ndirectory will be included in there.\n\nThe `styles` directory contains SASS stylesheets used by the web site.\nThe `main.scss` file is the main stylesheet which is imported into\n`src/main.jsx`.\n\nThe `test` directory contains test scripts which will be run by\n`pnpm test`.  The `test/setup.js` file is a special setup file.\nAny files in `test/lib` are assumed to be components used by tests and\nare not test scripts in their own right.  They are ignored by the test\nrunner.\n","readmeFilename":"README.md"}