Commit 7b701331588d5cf208d06f8a84899b7e99480867
1 parent
9b771d7d75
Exists in
master
indent and postversion
Showing 2 changed files with 3 additions and 1 deletions Inline Diff
.eslintrc.js
1 | module.exports = { | 1 | module.exports = { |
2 | env: { | 2 | env: { |
3 | commonjs: true, | 3 | commonjs: true, |
4 | es6: true, | 4 | es6: true, |
5 | node: true, | 5 | node: true, |
6 | }, | 6 | }, |
7 | extends: [ | 7 | extends: [ |
8 | 'airbnb-base', | 8 | 'airbnb-base', |
9 | ], | 9 | ], |
10 | globals: { | 10 | globals: { |
11 | Atomics: 'readonly', | 11 | Atomics: 'readonly', |
12 | SharedArrayBuffer: 'readonly', | 12 | SharedArrayBuffer: 'readonly', |
13 | }, | 13 | }, |
14 | parserOptions: { | 14 | parserOptions: { |
15 | ecmaVersion: 2018, | 15 | ecmaVersion: 2018, |
16 | }, | 16 | }, |
17 | rules: { | 17 | rules: { |
18 | indent: ['error', 4] | ||
18 | }, | 19 | }, |
19 | }; | 20 | }; |
20 | 21 |
package.json
1 | { | 1 | { |
2 | "name": "komodo-sdk-postpaid", | 2 | "name": "komodo-sdk-postpaid", |
3 | "version": "0.9.0", | 3 | "version": "0.9.0", |
4 | "description": "Komodo SDK for POSTPAID2", | 4 | "description": "Komodo SDK for POSTPAID2", |
5 | "main": "index.js", | 5 | "main": "index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "test": "mocha" | 7 | "test": "mocha", |
8 | "postversion": "git push && git push --tags" | ||
8 | }, | 9 | }, |
9 | "repository": { | 10 | "repository": { |
10 | "type": "git", | 11 | "type": "git", |
11 | "url": "git@gitlab.kodesumber.com:komodo/komodo-sdk-postpaid.git" | 12 | "url": "git@gitlab.kodesumber.com:komodo/komodo-sdk-postpaid.git" |
12 | }, | 13 | }, |
13 | "keywords": [ | 14 | "keywords": [ |
14 | "komodo", | 15 | "komodo", |
15 | "tektrans", | 16 | "tektrans", |
16 | "ppob", | 17 | "ppob", |
17 | "postpaid" | 18 | "postpaid" |
18 | ], | 19 | ], |
19 | "author": "Adhidarma Hadiwinoto <me@adhisimon.org>", | 20 | "author": "Adhidarma Hadiwinoto <me@adhisimon.org>", |
20 | "license": "ISC", | 21 | "license": "ISC", |
21 | "dependencies": { | 22 | "dependencies": { |
22 | "axios": "^0.19.2", | 23 | "axios": "^0.19.2", |
23 | "komodo-sdk": "git+http://gitlab.kodesumber.com/komodo/komodo-sdk.git" | 24 | "komodo-sdk": "git+http://gitlab.kodesumber.com/komodo/komodo-sdk.git" |
24 | }, | 25 | }, |
25 | "devDependencies": { | 26 | "devDependencies": { |
26 | "eslint": "^6.8.0", | 27 | "eslint": "^6.8.0", |
27 | "eslint-config-airbnb-base": "^14.1.0", | 28 | "eslint-config-airbnb-base": "^14.1.0", |
28 | "eslint-plugin-import": "^2.20.1" | 29 | "eslint-plugin-import": "^2.20.1" |
29 | } | 30 | } |
30 | } | 31 | } |
31 | 32 |