Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit bf59196

Browse files
committed
Remove traces of npm - we're using yarn now
1 parent b1f0ad8 commit bf59196

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Getting up and running is as easy as 1, 2, 3, 4 ... 5.
5353

5454
``` bash
5555
# install mail dev (only has to be done once)
56-
$ npm install -g maildev
56+
$ yarn global add maildev
5757

5858
# start the server, it will output the web url
5959
# which normally is http://localhost:1080
@@ -114,7 +114,7 @@ Simply run `yarn test` and all your tests in the `test/` directory will be run.
114114
Feathers has a powerful command line interface. Here are a few things it can do:
115115
116116
``` bash
117-
$ npm install -g feathers-cli # Install Feathers CLI
117+
$ yarn global add feathers-cli # Install Feathers CLI
118118
119119
$ feathers generate service # Generate a new Service
120120
$ feathers generate hook # Generate a new Hook

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@
3535
"scripts": {
3636
"ci": "yarn run eslint && yarn run test:coverage",
3737
"clear": "rm -Rf tmp",
38-
"test": "npm run mocha && npm run cucumber",
39-
"test:coverage": "nyc --reporter=lcovonly --reporter=text-summary npm run test",
40-
"test:mongo": "npm run eslint && cross-env NODE_ENV=test && nyc --reporter=lcovonly --reporter=text-summary npm run mocha:mongo",
38+
"test": "yarn run mocha && yarn run cucumber",
39+
"test:coverage": "nyc --reporter=lcovonly --reporter=text-summary yarn run test",
40+
"test:mongo": "yarn run eslint && cross-env NODE_ENV=test && nyc --reporter=lcovonly --reporter=text-summary yarn run mocha:mongo",
4141
"eslint": "eslint server/. test/. features/. --config .eslintrc.json",
4242
"start": "concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'",
43-
"dev:debug": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
44-
"dev": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon server/'",
43+
"dev:debug": "yarn run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
44+
"dev": "yarn run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon server/'",
4545
"dev:local": "sh scripts/run-local.sh",
4646
"dev:noseed": "concurrently 'mongod --dbpath data' 'wait-on tcp:27017 && NODE_ENV=development DEBUG=feathers nodemon server/'",
47-
"dev:win": "npm run clear && concurrently \"mongod --dbpath /data/db\" \"wait-on tcp:27017&&cross-env NODE_ENV=development&&cross-env DEBUG=feathers&& nodemon --inspect server/\"",
48-
"mocha": "npm run clear && $npm_package_config_mocha",
49-
"mocha:mongo": "$npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && npm run mocha'",
50-
"cucumber": "npm run clear && concurrently --kill-others --success first 'cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'",
51-
"cucumber:mongo": "npm run clear && concurrently --kill-others --success first '$npm_package_config_mongoDev &>/dev/null || sleep infinity' 'wait-on tcp:27017 && cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'"
47+
"dev:win": "yarn run clear && concurrently \"mongod --dbpath /data/db\" \"wait-on tcp:27017&&cross-env NODE_ENV=development&&cross-env DEBUG=feathers&& nodemon --inspect server/\"",
48+
"mocha": "yarn run clear && $npm_package_config_mocha",
49+
"mocha:mongo": "$npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && yarn run mocha'",
50+
"cucumber": "yarn run clear && concurrently --kill-others --success first 'cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'",
51+
"cucumber:mongo": "yarn run clear && concurrently --kill-others --success first '$npm_package_config_mongoDev &>/dev/null || sleep infinity' 'wait-on tcp:27017 && cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'"
5252
},
5353
"config": {
5454
"mongoDev": "mongod --dbpath data --quiet",

0 commit comments

Comments
 (0)