The monorepo that contains the smart contracts and clients for the official Kibisis Pinakion NFT.
The repo follows the following structure:
.
├─ packages
│ ├── <package>
│ │ ├── .releaserc <-- semantic release configuration
│ │ ├── README.md
│ │ └── ...
│ └── ... <-- other packages
├── COPYING <-- blanket and fallback license
├── package.json <-- root package.json that contains top-level dependencies and scripts
└── ...
The root package.json
utilizes npm
's workspace feature. The root package.json
should only reference packages that are used at the root level and within scripts.
It is RECOMMENDED that the root package.json
be used to run the npm
scripts (e.g. build
, lint
, test
) for each package.
The packages/
directory contains, as the name suggests, the packages of the monorepo.
Each package SHOULD reflect the name of the package, i.e. the packages/pinakionclient/
and SHOULD contain the following files and directories:
.releaserc
- the localsemantic-release
configuration.README.md
- Contains installation and usage instructions relevant to the package.
Each package MAY also have the following files/directories:
LICENSE
/COPYING
- A package specific license. If none is specified, it will fallback to license specified in theCOPYING
file.
- Install Node v20.18.0+ (LTS as of 9th November 2024)
- Install npm v8+
- Install AlgoKit v2+
- Install the dependencies using:
npm install
Name | Description |
---|---|
contract |
The Kibisis Pinakion NFT contract written in TEALScript. |
js-client |
The JS client to interact with the Kibisis Pinakion NFT contract. |
Command | Description |
---|---|
npm run build:<package> |
Builds the named package. |
npm run lint:<package> |
Lints the named package. |
npm run prettier |
Runs prettier with the same configuration that is run on the pre-commit hooks. |
npm run test:<package> |
Runs the named package's tests. |
Please read the Contributing Guide to learn about the development process.
Please refer to the packages COPYING
file.