hollaex-node-lib 1.2.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.drone.yml ADDED
@@ -0,0 +1,59 @@
1
+ kind: pipeline
2
+ type: docker
3
+ name: slack_notify
4
+
5
+ steps:
6
+ - name: partymaker_version_tag_testnet
7
+ image: alpine
8
+ commands:
9
+ - export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION" > .tags
10
+ - echo "Current version tag is :" && cat .tags
11
+ when:
12
+ branch: master
13
+
14
+ - name: partymaker_version_tag
15
+ image: alpine
16
+ commands:
17
+ - export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION-testnet" > .tags
18
+ - echo "Current version tag is :" && cat .tags
19
+ when:
20
+ branch: testnet
21
+
22
+ - name: create_github_release
23
+ image: bitholla/devops-tools:drone_github_hub-2004241546
24
+ environment:
25
+ GITHUB_TOKEN:
26
+ from_secret: github_oauth2_token_for_releases
27
+ commands:
28
+ - apt-get update && apt-get install -y hub git
29
+ - hub release create -m "HollaEx Kit v$(cat .tags) Release" -t ${DRONE_BRANCH} $(cat .tags)
30
+ when:
31
+ branch: master
32
+
33
+ - name: slack_noti_to_releases
34
+ image: bitholla/devops-tools:drone_partymaker-0.1.4
35
+ environment:
36
+ WEBHOOK_URL:
37
+ from_secret: webhook_url
38
+ when:
39
+ status: [success]
40
+
41
+ - name: notify_to_discord_releases
42
+ image: bitholla/devops-tools:drone_partymaker-0.1.5
43
+ channel: deployment
44
+ settings:
45
+ target: discord
46
+ release_name: hollaex-node-lib
47
+ environment:
48
+ WEBHOOK_URL:
49
+ from_secret: discord_webhook_url
50
+ when:
51
+ status: [ success, failure ]
52
+ branch: master
53
+
54
+ trigger:
55
+ branch:
56
+ - master
57
+ - testnet
58
+ event:
59
+ - push
package/.editorconfig ADDED
@@ -0,0 +1,10 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+
8
+ [*.{js,json}]
9
+ indent_style = tab
10
+ indent_size = 4
package/.eslintrc.json CHANGED
@@ -12,6 +12,9 @@
12
12
  "linebreak-style": ["error", "unix"],
13
13
  "quotes": ["error", "single"],
14
14
  "semi": ["error", "always"],
15
+ "indent": ["error", "tab"],
16
+ "arrow-parens": ["error", "always"],
17
+ "object-curly-spacing": ["error", "always"],
15
18
  "no-console": 0
16
19
  }
17
20
  }