This repository was archived by the owner on Jun 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 23
23
- yarn install --frozen-lockfile --non-interactive
24
24
- yarn add codacy-coverage
25
25
- yarn global add nyc
26
- - yarn test:coverage
26
+ - yarn test
27
27
- cat ./coverage/lcov.info | codacy-coverage
28
28
29
29
after_success :
Original file line number Diff line number Diff line change 3
3
"description" : " Human-Connection API" ,
4
4
"version" : " 0.1.0" ,
5
5
"homepage" : " https://human-connection.org" ,
6
- "license" : " CC-BY-NC-SA-4.0 " ,
6
+ "license" : " MIT " ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
9
"url" : " https://github.com/Human-Connection/API.git"
36
36
"clear" : " rm -Rf tmp" ,
37
37
"test" : " $npm_package_config_nyc npm run mocha" ,
38
38
"test:mongo" : " $npm_package_config_nyc npm run mocha:mongo" ,
39
- "test:coverage" : " $npm_package_config_nyc --reporter=lcovonly npm run mocha" ,
40
39
"eslint" : " eslint server/. test/. --config .eslintrc.json" ,
41
40
"start" : " concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'" ,
42
41
"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/'" ,
48
47
"mocha:mongo" : " $npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && npm run mocha'"
49
48
},
50
49
"config" : {
51
- "test" : " npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary" ,
50
+ "test" : " npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary --reporter=lcovonly " ,
52
51
"mongoDev" : " mongod --dbpath data --quiet" ,
53
52
"mocha" : " cross-env NODE_ENV=test node_modules/mocha/bin/_mocha test/ --recursive --timeout 10000 --exit" ,
54
53
"concurrently" : " concurrently --kill-others --success first"
You can’t perform that action at this time.
0 commit comments