Skip to content

Commit

Permalink
fix: specify plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Jan 31, 2023
1 parent 52c1c3c commit d90ec23
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 121 deletions.
8 changes: 8 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ module.exports = function (config) {
'src/**/*.ts',
'test/spec/**/*.ts',
],
plugins: [
'jasmine-core',
'karma-jasmine',
'karma-typescript',
'karma-spec-reporter',
'karma-chrome-launcher',
],

frameworks: ['jasmine', 'karma-typescript'],
preprocessors: {
'**/*.ts': ['karma-typescript'],
Expand Down
38 changes: 14 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,19 @@
"name": "bubkooo",
"email": "bubkoo.wy@gmail.com"
},
"contributors": [
{
"name": "bubkooo",
"email": "bubkoo.wy@gmail.com"
},
{
"name": "OiNutter",
"email": "will@oinutter.co.uk"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/bubkoo/html-to-image.git"
},
"bugs": {
"url": "https://github.com/bubkoo/html-to-image/issues"
},
"homepage": "https://github.com/bubkoo/html-to-image#readme",
"devDependencies": {
"@bubkoo/commitlint-config": "^1.0.1",
"@bubkoo/eslint-config": "^1.2.0",
"@bubkoo/rollup-config": "^1.0.3",
"@bubkoo/semantic-release-config": "^1.3.0",
"@bubkoo/commitlint-config": "^1.0.2",
"@bubkoo/eslint-config": "^1.3.1",
"@bubkoo/rollup-config": "^1.2.0",
"@bubkoo/semantic-release-config": "^1.6.1",
"@bubkoo/tsconfig": "^1.0.0",
"@fortawesome/fontawesome-free": "^6.1.2",
"@types/jasmine": "^4.3.1",
Expand All @@ -91,14 +89,6 @@
"rimraf": "^4.1.2",
"rollup": "^3.7.4",
"tslib": "^2.4.0",
"typescript": "^4.9.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bubkoo/html-to-image.git"
},
"bugs": {
"url": "https://github.com/bubkoo/html-to-image/issues"
},
"homepage": "https://github.com/bubkoo/html-to-image#readme"
"typescript": "^4.9.5"
}
}
Loading

0 comments on commit d90ec23

Please sign in to comment.