aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'library/Sortable/CONTRIBUTING.md')
-rw-r--r--library/Sortable/CONTRIBUTING.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/library/Sortable/CONTRIBUTING.md b/library/Sortable/CONTRIBUTING.md
new file mode 100644
index 000000000..25c149014
--- /dev/null
+++ b/library/Sortable/CONTRIBUTING.md
@@ -0,0 +1,26 @@
+# Contribution Guidelines
+
+### Issue
+
+ 1. Try [master](https://github.com/SortableJS/Sortable/tree/master/)-branch, perhaps the problem has been solved;
+ 2. [Use the search](https://github.com/SortableJS/Sortable/search?type=Issues&q=problem), maybe already have an answer;
+ 3. If not found, create example on [jsbin.com (draft)](https://jsbin.com/kamiwez/edit?html,js,output) and describe the problem.
+
+---
+
+### Pull Request
+
+ 1. Only request to merge with the [master](https://github.com/SortableJS/Sortable/tree/master/)-branch.
+ 2. Only modify source files, **do not commit the resulting build**
+
+### Setup
+
+ 1. Fork the repo on [github](https://github.com)
+ 2. Clone locally
+ 3. Run `npm i` in the local repo
+
+### Building
+
+ - For development, build the `./Sortable.js` file using the command `npm run build:umd:watch`
+ - To build everything and minify it, run `npm run build`
+ - Do not commit the resulting builds in any pull request – they will be generated at release