Skip to content

Commit d90ec23

Browse files
committed
fix: specify plugins
1 parent 52c1c3c commit d90ec23

File tree

3 files changed

+114
-121
lines changed

3 files changed

+114
-121
lines changed

karma.conf.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ module.exports = function (config) {
2828
'src/**/*.ts',
2929
'test/spec/**/*.ts',
3030
],
31+
plugins: [
32+
'jasmine-core',
33+
'karma-jasmine',
34+
'karma-typescript',
35+
'karma-spec-reporter',
36+
'karma-chrome-launcher',
37+
],
38+
3139
frameworks: ['jasmine', 'karma-typescript'],
3240
preprocessors: {
3341
'**/*.ts': ['karma-typescript'],

package.json

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,19 @@
5454
"name": "bubkooo",
5555
"email": "[email protected]"
5656
},
57-
"contributors": [
58-
{
59-
"name": "bubkooo",
60-
"email": "[email protected]"
61-
},
62-
{
63-
"name": "OiNutter",
64-
"email": "[email protected]"
65-
}
66-
],
57+
"repository": {
58+
"type": "git",
59+
"url": "git+https://github.com/bubkoo/html-to-image.git"
60+
},
61+
"bugs": {
62+
"url": "https://github.com/bubkoo/html-to-image/issues"
63+
},
64+
"homepage": "https://github.com/bubkoo/html-to-image#readme",
6765
"devDependencies": {
68-
"@bubkoo/commitlint-config": "^1.0.1",
69-
"@bubkoo/eslint-config": "^1.2.0",
70-
"@bubkoo/rollup-config": "^1.0.3",
71-
"@bubkoo/semantic-release-config": "^1.3.0",
66+
"@bubkoo/commitlint-config": "^1.0.2",
67+
"@bubkoo/eslint-config": "^1.3.1",
68+
"@bubkoo/rollup-config": "^1.2.0",
69+
"@bubkoo/semantic-release-config": "^1.6.1",
7270
"@bubkoo/tsconfig": "^1.0.0",
7371
"@fortawesome/fontawesome-free": "^6.1.2",
7472
"@types/jasmine": "^4.3.1",
@@ -91,14 +89,6 @@
9189
"rimraf": "^4.1.2",
9290
"rollup": "^3.7.4",
9391
"tslib": "^2.4.0",
94-
"typescript": "^4.9.4"
95-
},
96-
"repository": {
97-
"type": "git",
98-
"url": "git+https://github.com/bubkoo/html-to-image.git"
99-
},
100-
"bugs": {
101-
"url": "https://github.com/bubkoo/html-to-image/issues"
102-
},
103-
"homepage": "https://github.com/bubkoo/html-to-image#readme"
92+
"typescript": "^4.9.5"
93+
}
10494
}

0 commit comments

Comments
 (0)