Skip to content

Commit b879393

Browse files
committedApr 15, 2022
chore: 为了测试脚本可以使用es2015+语法, 安装tslib
1 parent 2fade0e commit b879393

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed
 

‎example/src/views/Home.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ export default {
115115
mounted() {
116116
const at = new AnyTouch(document.body);
117117
118-
at.use(AnyTouch.doubletap);
118+
// at.use(AnyTouch.doubletap);
119119
120-
at.on('doubletap', () => {
121-
C(`doubletap`, '#fb0');
122-
});
120+
// at.on('doubletap', () => {
121+
// C(`doubletap`, '#fb0');
122+
// });
123123
124124
// at.on('tap', () => {
125125
// C(`tap`, '#111');

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@
4646
"@rollup/plugin-replace": "^3.0.0",
4747
"@rollup/plugin-typescript": "^8.3.1",
4848
"@types/jest": "^26.0.0",
49-
"jest": "^26.0.0",
50-
"ts-jest": "^26.0.0",
5149
"@types/lodash": "^4.14.149",
5250
"brotli": "^1.3.2",
5351
"chalk": "^2.4.2",
5452
"gh-pages": "^2.0.1",
53+
"jest": "^26.0.0",
5554
"lerna": "^4.0.0",
5655
"lodash": "^4.17.15",
5756
"minimist": "^1.2.0",
@@ -62,6 +61,8 @@
6261
"shelljs": "^0.8.3",
6362
"standard-version": "^4.4.0",
6463
"terser": "^5.0.0",
64+
"ts-jest": "^26.0.0",
65+
"tslib": "^2.3.1",
6566
"typescript": "^4.6.0",
6667
"zlib": "^1.0.5"
6768
},

‎pnpm-lock.yaml

+9-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.