- 升级 vue 2.7.16 → 3.5.14 - 重构 slider.js:new Vue() 迁移到 createApp() - data 改为函数形式,移除 filters 改用 methods - 更新模板 tools.ejs:过滤器语法改为方法调用 - 代码风格优化:箭头函数、const/let、简化数组操作 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "yilia",
|
|
"version": "5.1.1",
|
|
"description": "Hexo响应式主题",
|
|
"scripts": {
|
|
"dev": "webpack --progress --mode development",
|
|
"build": "webpack --mode production"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/litten/hexo-theme-yilia.git"
|
|
},
|
|
"keywords": [
|
|
"hexo",
|
|
"theme",
|
|
"blog"
|
|
],
|
|
"author": "litten",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.26.0",
|
|
"core-js": "^3.40.0",
|
|
"photoswipe": "^4.1.3",
|
|
"qrious": "^4.0.2",
|
|
"scrollreveal": "^4.0.9",
|
|
"vue": "^3.5.14"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
"@babel/preset-env": "^7.26.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"babel-loader": "^9.2.1",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"css-loader": "^7.1.2",
|
|
"html-webpack-plugin": "^5.6.3",
|
|
"less": "^4.2.2",
|
|
"less-loader": "^12.2.0",
|
|
"mini-css-extract-plugin": "^2.9.2",
|
|
"postcss": "^8.5.3",
|
|
"postcss-loader": "^8.1.1",
|
|
"terser-webpack-plugin": "^5.3.11",
|
|
"webpack": "^5.97.1",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead",
|
|
"iOS >= 10",
|
|
"Android >= 5"
|
|
]
|
|
}
|