bigotillo 0.0.6 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
package/.eslintrc.json CHANGED
@@ -3,20 +3,18 @@
3
3
  "browser": true,
4
4
  "es6": true,
5
5
  "node": true,
6
- "mocha": true,
7
- "jasmine": true,
8
6
  "jest": true
9
7
  },
10
8
  "extends": "eslint:recommended",
11
9
  "parserOptions": {
12
- "ecmaVersion": 8,
10
+ "ecmaVersion": 2020,
13
11
  "sourceType": "module"
14
12
  },
15
13
  "rules": {
16
14
  "indent": [
17
15
  "error",
18
16
  "tab",
19
- {"SwitchCase": 1}
17
+ { "SwitchCase": 1 }
20
18
  ],
21
19
  "linebreak-style": [
22
20
  "error",
@@ -34,13 +32,15 @@
34
32
  "no-alert": "warn",
35
33
  "no-unused-vars": "warn",
36
34
  "keyword-spacing": ["error", { "before": true, "after": true }],
37
- "space-infix-ops": ["error", {"int32Hint": false}],
35
+ "space-infix-ops": ["error", { "int32Hint": false }],
38
36
  "comma-spacing": ["error"],
39
37
  "arrow-spacing": ["error"],
40
38
  "semi-spacing": ["error"],
41
39
  "space-before-function-paren": ["error"],
42
40
  "no-multi-spaces": "error",
43
41
  "no-magic-numbers": ["warn", { "ignoreArrayIndexes": true }],
44
- "valid-typeof": "error"
42
+ "valid-typeof": "error",
43
+ "object-curly-spacing": ["error", "always"],
44
+ "curly": "error"
45
45
  }
46
46
  }
@@ -0,0 +1 @@
1
+ module.exports = { extends: ['@commitlint/config-conventional'] };
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "bigotillo",
3
- "version": "0.0.6",
3
+ "version": "0.0.10",
4
4
  "description": "A NPM package just for the lol",
5
5
  "bin": {
6
6
  "bigotillo": "./bin/index.js"
7
7
  },
8
8
  "scripts": {
9
9
  "dev": "nodemon bin",
10
- "lint": "eslint --ext .js ."
10
+ "lint": "eslint --ext .js .",
11
+ "prepare": "husky install"
11
12
  },
12
13
  "keywords": [
13
14
  "bigotillo"
@@ -19,10 +20,13 @@
19
20
  },
20
21
  "license": "MIT",
21
22
  "dependencies": {
22
- "colorette": "^2.0.16"
23
+ "colorette": "^2.0.19"
23
24
  },
24
25
  "devDependencies": {
25
- "eslint": "^8.4.1",
26
- "nodemon": "^2.0.15"
26
+ "@commitlint/cli": "^17.1.2",
27
+ "@commitlint/config-conventional": "^17.1.0",
28
+ "eslint": "^8.26.0",
29
+ "husky": "^8.0.1",
30
+ "nodemon": "^2.0.20"
27
31
  }
28
32
  }