Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor visual-insights #17

Merged
merged 6 commits into from
Jan 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add code coverage test
  • Loading branch information
ObservedObserver committed Jan 17, 2020

Verified

This commit was signed with the committer’s verified signature.
weronikaolejniczak Weronika Olejniczak
commit ed7b4a1ec76a62b104df39e6dae2c723eaf589a3
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -27,4 +27,6 @@ yarn-error.log*
.vscode

safety
dist
dist

coverage
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "12"
- "12"
after_success:
- npm run coveralls
14 changes: 10 additions & 4 deletions packages/visual-insights/package.json
Original file line number Diff line number Diff line change
@@ -10,15 +10,14 @@
"module": "./build/esm/index.js",
"types": "./build/esm/index.d.ts",
"dependencies": {
"cube-core": "^2.13.0",
"mocha": "^6.2.0",
"typescript": "^3.6.3"
"cube-core": "^2.13.0"
},
"scripts": {
"build": "npm run buildfront && npm run buildback",
"buildback": "tsc -p ./tsconfig.cjs.json",
"buildfront": "tsc -p ./tsconfig.esm.json",
"test": "npm run buildback && mocha --no-timeouts"
"test": "npm run buildback && mocha --no-timeouts",
"coverage": "istanbul cover _mocha -- --no-timeouts --report lcovonly && cat ./coverage/lcov.info | coveralls"
},
"eslintConfig": {
"extends": "react-app"
@@ -34,5 +33,12 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"coveralls": "^3.0.9",
"istanbul": "^0.4.5",
"mocha-lcov-reporter": "^1.3.0",
"mocha": "^6.2.0",
"typescript": "^3.6.3"
}
}