new format for publishing
This commit is contained in:
parent
a077931b3a
commit
47f37b2c81
11
README.md
11
README.md
|
@ -8,6 +8,13 @@ A pashto inflection and verb conjugation engine, as well as functions and compon
|
|||
|
||||
Also includes the [Pashto Verb Explorer](https://verbs.lingdocs.com) website.
|
||||
|
||||
This library is **published as two libraries**:
|
||||
|
||||
- @lingdocs/inflect
|
||||
- The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text.
|
||||
- @lingdocs/ps-react
|
||||
- @lingdocs/inflect plus react components for displaying Pashto text, phrase engine UI etc.
|
||||
|
||||
## Development
|
||||
|
||||
The Pashto Verb Explorer website can be used to view and play with the verb conjugations and various components.
|
||||
|
@ -31,9 +38,9 @@ yarn build-website
|
|||
|
||||
This outputs a site at `/build`
|
||||
|
||||
### Library
|
||||
### Libraries
|
||||
|
||||
To build the `pashto-inflector` library ready for publishing to NPM:
|
||||
To build the `@lingdocs/inflet` and `@lingdocs/ps-react` libraries ready for publishing to NPM:
|
||||
|
||||
```
|
||||
yarn build-library
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "4.9.18",
|
||||
"version": "5.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pashto-inflector",
|
||||
"version": "4.9.18",
|
||||
"version": "5.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pashto-inflector",
|
||||
"version": "4.9.18",
|
||||
"version": "5.0.0",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
@ -31,6 +31,9 @@
|
|||
"web-vitals": "^1.0.1"
|
||||
},
|
||||
"scripts": {
|
||||
"patch": "npm version patch --no-git-tag-version && cd src/lib && npm version patch --no-git-tag-version && cd ../components && npm version patch --no-git-tag-version",
|
||||
"minor": "npm version minor --no-git-tag-version && cd src/lib && npm version minor --no-git-tag-version && cd ../components && npm version minor --no-git-tag-version",
|
||||
"major": "npm version major --no-git-tag-version && cd src/lib && npm version major --no-git-tag-version && cd ../components && npm version major --no-git-tag-version",
|
||||
"preinstall": "echo '*** Be sure to use yarn install-r not yarn install ***!'",
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# @lingdocs/inflect
|
||||
|
||||
The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text.
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/ps-react",
|
||||
"version": "0.0.7",
|
||||
"version": "5.0.0",
|
||||
"description": "Pashto inflector library module with React components",
|
||||
"main": "dist/components/library.js",
|
||||
"module": "dist/components/library.js",
|
||||
|
@ -13,7 +13,8 @@
|
|||
"registry": "https://npm.lingdocs.com"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "echo \"build from repo root\""
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# @lingdocs/ps-react
|
||||
|
||||
The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text (@lingdocs/inflect) plus react components for displaying Pashto text, and phrase engine UI etc.
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/inflect",
|
||||
"version": "0.0.7",
|
||||
"version": "5.0.0",
|
||||
"description": "Pashto inflector library",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/lib/library.d.ts",
|
||||
|
@ -12,7 +12,8 @@
|
|||
"registry": "https://npm.lingdocs.com"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "echo \"build from repo root\""
|
||||
|
|
Loading…
Reference in New Issue