diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index b207aefdd..000000000
--- a/.babelrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "presets": [
- "env"
- ]
-}
diff --git a/.gitignore b/.gitignore
index f2c5e7699..c9b735b11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ dist/*.js
dist/*.map
yarn-error.log
+.npmrc
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000..e984af896
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,7 @@
+{
+ "typescript.format.enable": false,
+ "typescript.reportStyleChecksAsWarnings": false,
+ "typescript.validate.enable": false,
+ "javascript.validate.enable": false,
+ "editor.formatOnSave": false
+}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3bbf31366..5168c005d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,8 @@
**Merged pull requests:**
+- Adding weekend ignore do Gantt [\$314] (https://github.com/knsv/mermaid/issues/314)
+
- Adding init argument to the global API [\#137](https://github.com/knsv/mermaid/pull/137) ([bollwyvl](https://github.com/bollwyvl))
- Add description of manual calling of init [\#136](https://github.com/knsv/mermaid/pull/136) ([bollwyvl](https://github.com/bollwyvl))
diff --git a/README.md b/README.md
index 45464c0ea..32f4c8113 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,23 @@ Ever wanted to simplify documentation and avoid heavy tools like Visio when expl
This is why mermaid was born, a simple markdown-like script language for generating charts from text via javascript.
+**Mermaid was nomiated and won the JS Open Source Awards (2019) in the catory The most existing use of technology!!! Thanks to all involved, people committing pull requests, people answering questions and special thanks to Tyler Long who is helping me maintin the project.**
+
+### Are you someone who wants to take an active role in improving mermaid?
+
+Look at the list of areas we need help with:
+
+* Development - help solving issues
+* Development - work with the build environment, with JS we keep updating the tools we use
+* Development - new diagram types
+* Development - Handling Pull Requests
+* Test - testing in connection with realeases, regression testing
+* Test - verification of fixed issues
+* Test - test of pull requests and verification testing
+* Release management - more of a PL role, make roadmap for the project, coordinating the work
+* Release management - classification and monitoring of incoming issues
+
+If you think lending a hand to one or more of these areas would be fun, please send an email tp knsv@sveido.com!
### Flowchart
@@ -35,7 +52,7 @@ sequenceDiagram
loop Healthcheck
John->>John: Fight against hypochondria
end
- Note right of John: Rational thoughts
prevail...
+ Note right of John: Rational thoughts
prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
@@ -49,6 +66,7 @@ sequenceDiagram
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram to mermaid
+excludes weekdays 2014-01-10
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
@@ -147,7 +165,7 @@ As part of this team you would get write access to the repository and would
represent the project when answering questions and issues.
Together we could continue the work with things like:
-* adding more typers of diagrams like mindmaps, ert digrams etc
+* adding more types of diagrams like mindmaps, ert diagrams etc
* improving existing diagrams
Don't hesitate to contact me if you want to get involved.
diff --git a/__mocks__/MERMAID.js b/__mocks__/MERMAID.js
new file mode 100644
index 000000000..f844f1c55
--- /dev/null
+++ b/__mocks__/MERMAID.js
@@ -0,0 +1,3 @@
+export const curveBasis = 'basis'
+export const curveLinear = 'linear'
+export const curveCardinal = 'cardinal'
diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 000000000..c76a0d028
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,12 @@
+module.exports = {
+ presets: [
+ [
+ '@babel/preset-env',
+ {
+ targets: {
+ node: 'current'
+ }
+ }
+ ]
+ ]
+}
diff --git a/dist/index.html b/dist/index.html
index 55216162b..9b8de11d6 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -207,6 +207,35 @@ graph TB
a1-->a2
end
+