2021-03-09 12:39:13 +00:00
|
|
|
# pashto-inflector
|
|
|
|
|
|
|
|
[![Netlify Status](https://api.netlify.com/api/v1/badges/ca3a7720-876f-4375-a77e-2e7bfdcee48a/deploy-status)](https://app.netlify.com/sites/pashto-verbs/deploys)
|
2021-04-30 16:30:50 +00:00
|
|
|
![build](https://github.com/lingdocs/pashto-inflector/actions/workflows/ci.yml/badge.svg)
|
|
|
|
![build](https://github.com/lingdocs/pashto-inflector/actions/workflows/publish.yml/badge.svg)
|
2021-03-09 12:39:13 +00:00
|
|
|
|
|
|
|
A pashto inflection and verb conjugation engine, as well as functions and components for modifying and displaying Pashto text.
|
|
|
|
|
|
|
|
Also includes the [Pashto Verb Explorer](https://verbs.lingdocs.com) website.
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
The Pashto Verb Explorer website can be used to view and play with the verb conjugations and various components.
|
|
|
|
|
|
|
|
```
|
2022-02-16 11:11:03 +00:00
|
|
|
yarn install
|
2021-03-09 12:39:13 +00:00
|
|
|
yarn start
|
|
|
|
```
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2021-03-10 17:50:45 +00:00
|
|
|
⚠ Don't use `yarn build`. Use one of the commands below: ⚠
|
|
|
|
|
2021-03-09 12:39:13 +00:00
|
|
|
### Website
|
|
|
|
|
2021-03-09 13:20:55 +00:00
|
|
|
To build the [Pashto Verb Explorer](https://verbs.lingdocs.com) website:
|
2021-03-09 12:39:13 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
yarn build-website
|
|
|
|
```
|
|
|
|
|
|
|
|
This outputs a site at `/build`
|
|
|
|
|
|
|
|
### Library
|
|
|
|
|
|
|
|
To build the `pashto-inflector` library ready for publishing to NPM:
|
|
|
|
|
|
|
|
```
|
|
|
|
yarn build-library
|
|
|
|
```
|