Skip to content

Commit d0b67fe

Browse files
committed
Removes unused dependencies
1 parent 36e9ac2 commit d0b67fe

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ branches:
2626
cache:
2727
directories:
2828
- "$HOME/.mongodb/versions"
29-
after_script: "./node_modules/.bin/codecov"
29+
after_script:
30+
- bash <(curl -s https://codecov.io/bash)
3031
deploy:
3132
provider: npm
3233
email:

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
"license": "BSD-3-Clause",
2020
"dependencies": {
2121
"babel-polyfill": "6.13.0",
22-
"babel-runtime": "6.11.6",
2322
"bcrypt-nodejs": "0.0.3",
2423
"body-parser": "1.15.2",
25-
"colors": "1.1.2",
2624
"commander": "2.9.0",
2725
"deepcopy": "0.6.3",
2826
"express": "4.14.0",
@@ -41,7 +39,6 @@
4139
"pg-promise": "5.2.7",
4240
"redis": "2.6.2",
4341
"request": "2.74.0",
44-
"request-promise": "4.1.1",
4542
"semver": "5.2.0",
4643
"tv4": "1.2.7",
4744
"winston": "2.2.0",
@@ -56,14 +53,14 @@
5653
"babel-preset-es2015": "6.13.2",
5754
"babel-preset-stage-0": "6.5.0",
5855
"babel-register": "6.11.6",
59-
"codecov": "1.0.1",
6056
"cross-env": "2.0.0",
6157
"deep-diff": "0.3.4",
6258
"gaze": "1.1.1",
6359
"istanbul": "1.0.0-alpha.1",
6460
"jasmine": "2.4.1",
6561
"mongodb-runner": "3.3.2",
66-
"nodemon": "1.10.0"
62+
"nodemon": "1.10.0",
63+
"request-promise": "^4.1.1"
6764
},
6865
"scripts": {
6966
"dev": "npm run build && node bin/dev",

src/cli/parse-server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { ParseServer } from '../index';
44
import definitions from './cli-definitions';
55
import program from './utils/commander';
66
import { mergeWithOptions } from './utils/commander';
7-
import colors from 'colors';
87

98
program.loadDefinitions(definitions);
109

@@ -44,7 +43,7 @@ if (!options.serverURL) {
4443
if (!options.appId || !options.masterKey || !options.serverURL) {
4544
program.outputHelp();
4645
console.error("");
47-
console.error(colors.red("ERROR: appId and masterKey are required"));
46+
console.error('\u001b[31mERROR: appId and masterKey are required\u001b[0m');
4847
console.error("");
4948
process.exit(1);
5049
}

0 commit comments

Comments
 (0)