@open-wc/semantic-dom-diff
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.6.0](https://github.com/open-wc/open-wc/tree/master/packages/semantic-dom-diff/compare/@open-wc/semantic-dom-diff@0.5.2...@open-wc/semantic-dom-diff@0.6.0) (2018-12-19) | ||
### Features | ||
* use extendable karma configs by default ([8fd9435](https://github.com/open-wc/open-wc/tree/master/packages/semantic-dom-diff/commit/8fd9435)) | ||
## [0.5.2](https://github.com/open-wc/open-wc/tree/master/packages/semantic-dom-diff/compare/@open-wc/semantic-dom-diff@0.5.1...@open-wc/semantic-dom-diff@0.5.2) (2018-12-18) | ||
@@ -8,0 +19,0 @@ |
@@ -1,33 +0,15 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
const createBaseConfig = require('@open-wc/testing-karma-bs/create-karma-es5-bs.config'); | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
const merge = require('webpack-merge'); | ||
const bsSettings = require('@open-wc/testing-karma-bs/bs-settings.js'); | ||
const karmaEs5Config = require('./karma.es5.config.js'); | ||
module.exports = config => { | ||
const baseConfig = createBaseConfig(config); | ||
config.set({ | ||
...baseConfig, | ||
files: [ | ||
...baseConfig.files, | ||
// allows running single tests with the --grep flag | ||
config.grep ? [config.grep] : 'test/**/*.test.js', | ||
], | ||
browserStack: { | ||
...baseConfig.browserStack, | ||
project: 'open-wc', | ||
}, | ||
// TODO: not yet within the 90% default | ||
coverageIstanbulReporter: { | ||
thresholds: { | ||
global: { | ||
statements: 80, | ||
branches: 70, | ||
functions: 70, | ||
lines: 80, | ||
}, | ||
config.set( | ||
merge(bsSettings(config), karmaEs5Config(config), { | ||
browserStack: { | ||
project: 'open-wc', | ||
}, | ||
}, | ||
}); | ||
}), | ||
); | ||
return config; | ||
}; |
{ | ||
"name": "@open-wc/semantic-dom-diff", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "To compare dom and shadow dom trees. Part of open-wc recommendations", | ||
@@ -14,3 +14,6 @@ "author": "open-wc", | ||
"test": "karma start", | ||
"test:es5:bs": "karma start karma.es5.bs.config.js" | ||
"test:es5:bs": "karma start karma.es5.bs.config.js", | ||
"test:watch": "karma start --auto-watch=true --single-run=false", | ||
"test:es5": "karma start karma.es5.config.js", | ||
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false" | ||
}, | ||
@@ -24,8 +27,9 @@ "dependencies": { | ||
"@bundled-es-modules/chai": "^4.2.0", | ||
"@open-wc/testing-karma": "^0.3.0", | ||
"@open-wc/testing-karma-bs": "^0.1.5", | ||
"@open-wc/testing-karma": "^0.4.0", | ||
"@open-wc/testing-karma-bs": "^0.2.0", | ||
"@open-wc/testing-wallaby": "^0.1.4", | ||
"mocha": "^5.0.0" | ||
"mocha": "^5.0.0", | ||
"webpack-merge": "^4.1.5" | ||
}, | ||
"gitHead": "768387ec6b61cf0d0be79437a94a59c154f35425" | ||
"gitHead": "a270234bc7c10edef68310c8c8169e7e5ccec5a8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17874
16
6
306