joel-test 1.0.1 → 1.0.3
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/cli.js +2 -2
- package/index.js +1 -1
- package/package.json +8 -8
package/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
|
-
var meow = require('meow');
|
|
4
|
-
var chalk = require('chalk');
|
|
3
|
+
var meow = ((m) => (m && m.default) ? m.default : m)(require('meow'));
|
|
4
|
+
var chalk = ((m) => (m && m.default) ? m.default : m)(require('chalk'));
|
|
5
5
|
var shout = chalk.bold.red;
|
|
6
6
|
var say = chalk.bold.blue;
|
|
7
7
|
var joelTest = require('./');
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joel-test",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Rate the quality of a software team.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "hemanth/joel-test",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
},
|
|
12
12
|
"bin": "cli.js",
|
|
13
13
|
"engines": {
|
|
14
|
-
"node": ">=
|
|
14
|
+
"node": ">= 4"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"test": "mocha"
|
|
17
|
+
"test": "mocha --exit test.js"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"index.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
""
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"chalk": "^
|
|
30
|
-
"inquirer": "^
|
|
31
|
-
"meow": "^
|
|
29
|
+
"chalk": "^6.0.1",
|
|
30
|
+
"inquirer": "^14.2.3",
|
|
31
|
+
"meow": "^14.1.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"mocha": "^
|
|
35
|
-
"sinon": "^
|
|
34
|
+
"mocha": "^11.7.0",
|
|
35
|
+
"sinon": "^2.0.0"
|
|
36
36
|
}
|
|
37
37
|
}
|