Skip to content

Commit 8f78a1a

Browse files
authoredSep 5, 2016
Merge pull request #5 from pranaygp/master
Add CONTRIBUTING guide and more
2 parents 7d807b4 + 61438ea commit 8f78a1a

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
 

‎CONTRIBUTING.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing
2+
3+
As `granim` is a small project with a few maintainers, we'd like to make sure that it's easy for you to contribute, and that it's easy for us to manage incoming PRs. In that interest -
4+
5+
1. Fork the Repo
6+
2. Clone
7+
3. Run `npm install`
8+
4. Make Changes
9+
5. Add any required tests to the `/test/test.html` file
10+
6. Run `grunt`
11+
7. Run `npm start` and check `localhost:8080` to ensure that everything works
12+
8. Commit and Push
13+
9. Open a Pull Request
14+
15+
### Guidelines
16+
17+
We'd like to make sure your code is like our:
18+
19+
1. `"use strict";`
20+
2. Use semicolons `;`
21+
3. We prefer `'` to `"`
22+
4. Use 1 tabe for indentation, no spaces
23+
24+
With all of that, you should have a PR submitted and merged in no time.
25+
26+
Thanks for helping us out! :)

‎README.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Create fluid and interactive gradients animations with this small (< 10 kB) js l
44
**See the [demo site](http://sarcadass.github.io/granim.js)**.
55

66
## Install
7+
8+
### From npm
9+
10+
Run `npm install granim --save`
11+
12+
### Static
13+
714
* Download the script in the `dist/` folder
815

916
## How to use

‎package.json

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
"scripts": {
77
"start": "cd docs/ && node server.js"
88
},
9+
"bugs": {
10+
"url": "https://github.com/sarcadass/granim.js/issues"
11+
},
12+
"repository": {
13+
"type" : "git",
14+
"url": "https://github.com/sarcadass/granim.js"
15+
},
916
"httpPort": 8080,
1017
"keywords": [
1118
"gradient",

0 commit comments

Comments
 (0)