bigotillo 0.0.1 → 0.0.7
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/.eslintrc.json +46 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +4 -0
- package/README.md +5 -1
- package/bin/index.js +9 -0
- package/commitlint.config.js +1 -0
- package/package.json +15 -8
- package/dist/index.js +0 -3
- package/src/index.js +0 -3
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"es6": true,
|
|
5
|
+
"node": true,
|
|
6
|
+
"mocha": true,
|
|
7
|
+
"jasmine": true,
|
|
8
|
+
"jest": true
|
|
9
|
+
},
|
|
10
|
+
"extends": "eslint:recommended",
|
|
11
|
+
"parserOptions": {
|
|
12
|
+
"ecmaVersion": 8,
|
|
13
|
+
"sourceType": "module"
|
|
14
|
+
},
|
|
15
|
+
"rules": {
|
|
16
|
+
"indent": [
|
|
17
|
+
"error",
|
|
18
|
+
"tab",
|
|
19
|
+
{"SwitchCase": 1}
|
|
20
|
+
],
|
|
21
|
+
"linebreak-style": [
|
|
22
|
+
"error",
|
|
23
|
+
"unix"
|
|
24
|
+
],
|
|
25
|
+
"quotes": [
|
|
26
|
+
"error",
|
|
27
|
+
"single"
|
|
28
|
+
],
|
|
29
|
+
"semi": [
|
|
30
|
+
"error",
|
|
31
|
+
"always"
|
|
32
|
+
],
|
|
33
|
+
"no-console": "warn",
|
|
34
|
+
"no-alert": "warn",
|
|
35
|
+
"no-unused-vars": "warn",
|
|
36
|
+
"keyword-spacing": ["error", { "before": true, "after": true }],
|
|
37
|
+
"space-infix-ops": ["error", {"int32Hint": false}],
|
|
38
|
+
"comma-spacing": ["error"],
|
|
39
|
+
"arrow-spacing": ["error"],
|
|
40
|
+
"semi-spacing": ["error"],
|
|
41
|
+
"space-before-function-paren": ["error"],
|
|
42
|
+
"no-multi-spaces": "error",
|
|
43
|
+
"no-magic-numbers": ["warn", { "ignoreArrayIndexes": true }],
|
|
44
|
+
"valid-typeof": "error"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/README.md
CHANGED
package/bin/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { bold, yellow, bgBlack } = require('colorette');
|
|
3
|
+
|
|
4
|
+
const newline = '\n';
|
|
5
|
+
const bigotilloText = `${yellow(bold(bgBlack(' Bigotillo { } ')))}`;
|
|
6
|
+
|
|
7
|
+
const output = newline + bigotilloText + newline;
|
|
8
|
+
|
|
9
|
+
console.log(output); // eslint-disable-line no-console
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = { extends: ['@commitlint/config-conventional'] };
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigotillo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "A NPM package just for the lol",
|
|
5
|
-
"
|
|
5
|
+
"bin": {
|
|
6
|
+
"bigotillo": "./bin/index.js"
|
|
7
|
+
},
|
|
6
8
|
"scripts": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
9
|
+
"dev": "nodemon bin",
|
|
10
|
+
"lint": "eslint --ext .js .",
|
|
11
|
+
"prepare": "husky install"
|
|
10
12
|
},
|
|
11
13
|
"keywords": [
|
|
12
14
|
"bigotillo"
|
|
@@ -17,9 +19,14 @@
|
|
|
17
19
|
"url": "https://github.com/didaquis/bigotillo.git"
|
|
18
20
|
},
|
|
19
21
|
"license": "MIT",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"colorette": "^2.0.16"
|
|
24
|
+
},
|
|
20
25
|
"devDependencies": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
26
|
+
"@commitlint/cli": "^15.0.0",
|
|
27
|
+
"@commitlint/config-conventional": "^15.0.0",
|
|
28
|
+
"eslint": "^8.4.1",
|
|
29
|
+
"husky": "^7.0.4",
|
|
30
|
+
"nodemon": "^2.0.15"
|
|
24
31
|
}
|
|
25
32
|
}
|
package/dist/index.js
DELETED
package/src/index.js
DELETED