Skip to content

Commit

Permalink
Merge pull request #71 from D-Sketon/refactor_2
Browse files Browse the repository at this point in the history
chore: 引入theme-shokax-anime依赖
  • Loading branch information
zkz098 authored Apr 21, 2023
2 parents 110c838 + e1a89f9 commit e60c23d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
},
"devDependencies": {
"@algolia/client-search": "^4",
"@types/animejs": "^3.1.7",
"@types/fancybox": "^3.5.3",
"@types/hexo": "^3.8.8",
"@types/jquery": "^3.5.16",
Expand All @@ -37,6 +36,7 @@
"hexo-util": "^3.0.1",
"instantsearch.js": "^4.53.0",
"pjax": "^0.2.8",
"theme-shokax-anime": "^0.0.4",
"typescript": "^5.0.2",
"vue": "^3.2.47",
"vuepress": "2.0.0-beta.61",
Expand Down
1 change: 0 additions & 1 deletion source/js/_app/fireworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function animateParticules (x:number, y:number):void {
particules.push(createParticule(x, y))
}
// 创建一个 anime.js 的时间线,并添加动画
// @ts-ignore
anime().timeline().add({
targets: particules,
// x 坐标移动到烟花粒子的终点坐标
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"allowJs": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true
"resolveJsonModule": true,
"typeRoots": ["node_modules","node_modules/@types"],
"types": ["theme-shokax-anime","lozad","jquery","fancybox"]
},
"typeAcquisition": {
"enable": true
Expand Down

0 comments on commit e60c23d

Please sign in to comment.