Skip to content

Commit 901aacf

Browse files
committed
chore: deps
1 parent 9239e66 commit 901aacf

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

karma.sauce.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const customLaunchers = {
77
base: 'SauceLabs',
88
browserName: 'Safari',
99
deviceName: 'iPhone Simulator',
10-
platformVersion: '13.0',
10+
platformVersion: '13.4',
1111
platformName: 'iOS',
1212
},
1313
'SL-iOS-Safari-Oldest': {
@@ -19,9 +19,9 @@ const customLaunchers = {
1919
},
2020
// 'SL-Android-Latest': {
2121
// base: 'SauceLabs',
22-
// deviceName: 'Android Emulator',
22+
// deviceName: 'Android GoogleAPI Emulator',
2323
// browserName: 'Chrome',
24-
// platformVersion: '8.0',
24+
// platformVersion: '10.0',
2525
// platformName: 'Android',
2626
// },
2727
'SL-Android-Oldest': {

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@
4242
},
4343
"homepage": "https://danmaku.js.org/",
4444
"devDependencies": {
45-
"@rollup/plugin-replace": "^2.3.0",
45+
"@rollup/plugin-replace": "^2.3.3",
4646
"chai": "^4.2.0",
4747
"es6-promise": "^4.2.8",
48-
"eslint": "^6.8.0",
49-
"karma": "^4.4.1",
48+
"eslint": "^7.6.0",
49+
"karma": "^5.1.1",
5050
"karma-chai": "^0.1.0",
5151
"karma-chrome-launcher": "^3.1.0",
52-
"karma-coverage": "^2.0.1",
53-
"karma-mocha": "^1.3.0",
54-
"karma-rollup-preprocessor": "^7.0.3",
52+
"karma-coverage": "^2.0.3",
53+
"karma-mocha": "^2.0.1",
54+
"karma-rollup-preprocessor": "^7.0.5",
5555
"karma-sauce-launcher": "^1.2.0",
5656
"mocha": "^4.1.0",
57-
"rollup": "^1.30.0",
57+
"rollup": "^2.23.0",
5858
"rollup-plugin-istanbul": "^2.0.1",
59-
"rollup-plugin-terser": "^5.2.0"
59+
"rollup-plugin-terser": "^6.1.0"
6060
}
6161
}

rollup.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ export default ['', 'dom', 'canvas'].map((engine) => {
1616
file: ['dist', path, file].filter((x) => x).join('/'),
1717
format,
1818
name: 'Danmaku',
19+
plugins: file.includes('.min') ? [terser()] : [],
1920
})))
2021
),
2122
plugins: [
2223
replace({ 'process.env.ENGINE': `"${engine}"` }),
23-
terser({
24-
include: [/^.+\.min\.js$/],
25-
}),
2624
],
2725
};
2826
});

0 commit comments

Comments
 (0)