-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.1.0-alpha.1
- Loading branch information
Showing
11 changed files
with
256 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Contributing Guide | ||
|
||
Here you can learn about how you can help make thenewboston-js a robust and simple JavaScript library to use! | ||
|
||
### Setup | ||
|
||
Make sure you clone the official repository. Here is the command to run if you want to clone with git: | ||
|
||
```sh | ||
> git clone https://github.com/thenewboston-developers/thenewboston-js.git | ||
``` | ||
|
||
After that, you should see a new folder named `thenewboston-js` in your current working directory. Navigate into that project and you're ready to go! | ||
|
||
### Development | ||
|
||
Before you are able to access any of the npm commands, you must first run `npm install` or `npm i` to get all of the modules loaded into your local project. | ||
|
||
### Building | ||
|
||
If you are ready to test out your changes, run `npm run build`. After that, you should see the CommonJS module located in the `dist` directory. You can create a `dev.js` file with something like the following code if you want to test out your changes: | ||
|
||
```js | ||
const tnb = require("./"); // loads the module from the path in the `package.json` | ||
|
||
async function main() { | ||
/* Code! */ | ||
} | ||
|
||
main(); | ||
``` | ||
|
||
### Contributing | ||
|
||
Create your fork / branch from the development branch, All pull requests to be made to development branch for review. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.