Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Latest commit

 

History

History
108 lines (85 loc) · 4.1 KB

README.md

File metadata and controls

108 lines (85 loc) · 4.1 KB

Astro Typetura

Set of Typetura components built for use with Astro.

🌐 View Website

For more information on Typeture, our products and services please visit: (Typetura)[typetura.com]

📚 Docs

For more documentation about Typetura's Typography system visit: Typetura Documentation

Project Overview

packages
└── typetura
    ├── components
    │   ├── Blockquote.astro
    │   ├── Caption.astro
    │   ├── Custom.astro
    │   ├── Headline.astro
    │   ├── index.js
    │   ├── Meta.astro
    │   ├── Packages.astro
    │   ├── Pullquote.astro
    │   ├── SectionHeadline.astro
    │   ├── SectionLabel.astro
    │   ├── SectionSubHeadline.astro
    │   ├── SubHeadline.astro
    │   ├── Text.astro
    │   └── Typetura.astro
    ├── index.js
    ├── package.json
    ├── README.md
    ├── tsconfig.json
    ├── types.d.ts
    ├── types.ts
    └── utils
        └── utils.ts
test
├── blockquote.test.js
├── caption.test.js
├── headline.test.js
├── meta.test.js
├── pullquote.test.js
├── README.md
├── section-headline.test.js
├── section-label.test.js
├── section-subheadline.test.js
├── subheadline.test.js
├── text.test.js
└── typetura.test.js
www
├── astro.config.mjs
├── package.json
├── public
│   └── favicon.ico
├── README.md
├── sandbox.config.json
├── src
│   └── pages
│       └── index.astro
├── tsconfig.json
└── yarn.lock

Formatting

ESLint, Prettier and EditorConfig settings are respectively located in the following files: .eslintrc.js, .prettierrc.js and .editorconfig at the root of this template project.


Commands

The following npm scripts are provided to lint and format your project

Command Action
yarn setup Runs Yarn, sets up workspaces.
Installs project dependencies
yarn testAll Runs All tests using Mocha
yarn testOne Runs Single test on a <file> using Mocha
yarn format Format your project using Prettier, this edits files in-place
yarn lint Lint your project using ESLint
yarn dev Launches the Testing site Dev Server
yarn build Builds the Testing site
yarn publish Publish Component to NPM

Support

If you are experiencing any issues with using astro-typetura Typography plugin. Please raise an issue within the Github repository, and we will endevour to respond to it.


MIT License

Copyright © 2022 Typetura

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.