MOPS
MOPS is a package manager for the Motoko programming language.
See https://mops.one
Local Development
npm run dev
- starts local replica and dev server
To be able to install/publish packages locally:
- Make the following changes to the
cli/package.json
{
- "name": "ic-mops",
+ "name": "ic-mops-local",
"version": "0.1.14",
"type": "module",
"bin": {
- "mops": "cli.js"
+ "mops-local": "cli.js"
},
...
- Inside
cli
folder run
npm run link
- Switch network to local
mops-local set-network local
- Revert changes made to
cli/package.json
Now you can install/publish packages locally like this mops-local install lib
Built for the Supernova Hackathon