Skip to content

Commit

Permalink
恢复 coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan6 committed Aug 22, 2017
1 parent 99fedbf commit 53af3e9
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 242 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test:
- lerna run build_cjs && yarn test
post:
- npm run check_circular_dependencies
- cat ./packages/*/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- cat ./packages/*/coverage/lcov.info ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- greenkeeper-lockfile-upload

notify:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"check_circular_dependencies": "madge ./packages/*/dist/cjs --circular",
"build_test": "rm -rf spec-js && tsc --project test",
"test": "lerna run test && npm run build_test && tman --mocha spec-js/app.js"
"test": "lerna run test && npm run build_test && rm -rf ./coverage && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test tman --mocha spec-js/app.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/teambition-sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build_socket": "rm -rf dist/bundle/tbsdk.socket.js && tsc ./src/SocketApp.ts ./src/teambition.ts -m commonjs --outDir dist/socket --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom && ts-node ./tools/tasks/bundle.socket.ts",
"build_test": "rm -rf spec-js && tsc --project test",
"copy_files": "cp README.md package.json ./dist/cjs/",
"cover": "npm run build_test && rm -rf ./coverage && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test --exclude=spec-js/mock --exclude=spec-js/src/sockets/SocketClient.js tman --mocha spec-js/test/app.js",
"cover": "npm run build_test && rm -rf ./coverage && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test --exclude=spec-js/src/sockets/SocketClient.js tman --mocha spec-js/test/app.js",
"lint": "tslint ./src/**/*.ts ./mock/**/*.ts ./test/*.ts ./test/apis/**/*.ts ./test/mock/**/*.ts ./test/utils/**/*.ts",
"publish_sdk": "npm run build_all && npm run copy_files && npm publish ./dist/cjs",
"publish_all": "npm run publish_sdk && ts-node ./tools/tasks/publish.ts && cp -r ./dist/mock-cjs/** ./.tmp/mock && cp -r ./dist/socket/** ./.tmp/socket && npm publish .tmp/mock/ && npm publish .tmp/socket/",
Expand Down
2 changes: 1 addition & 1 deletion packages/teambition-sdk-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build_cjs": "rm -rf dist/cjs && tsc src/index.ts -m commonjs --outDir dist/cjs --sourcemap --inlineSources --target ES5 -d --diagnostics --pretty --strict --noUnusedLocals --noUnusedParameters --experimentalDecorators --suppressImplicitAnyIndexErrors --moduleResolution node --importHelpers --noEmitHelpers --lib es5,es2015.iterable,es2015.collection,es2015.promise,es2015.core,dom",
"build_test": "rm -rf spec-js && tsc --project test",
"cover": "npm run build_test && tman --mocha spec-js/test/app.js",
"cover": "npm run build_test && rm -rf ./coverage && nyc --reporter=html --reporter=lcov --exclude=node_modules --exclude=spec-js/test tman --mocha spec-js/test/app.js",
"lint": "tslint ./src/**/*.ts ./mock/**/*.ts ./test/*.ts ./test/apis/**/*.ts ./test/mock/**/*.ts ./test/utils/**/*.ts",
"test": "npm run lint && npm run cover",
"watch_test": "tsc --project test --watch --skipLibCheck",
Expand Down
143 changes: 0 additions & 143 deletions src/schemas/TapChart.ts

This file was deleted.

77 changes: 0 additions & 77 deletions src/schemas/TapDashboard.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/schemas/TapQuestion.ts

This file was deleted.

0 comments on commit 53af3e9

Please sign in to comment.