- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL - 修复 HomePage.tsx 中所有图片引用 - 修复 CoursePage.tsx 中所有图片引用 - 确保图片在 GitHub Pages 上正确加载 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
720 B
JSON
46 lines
720 B
JSON
{
|
|
"name": "locate-path",
|
|
"version": "5.0.0",
|
|
"description": "Get the first path that exists on disk of multiple paths",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/locate-path",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava && tsd"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"locate",
|
|
"path",
|
|
"paths",
|
|
"file",
|
|
"files",
|
|
"exists",
|
|
"find",
|
|
"finder",
|
|
"search",
|
|
"searcher",
|
|
"array",
|
|
"iterable",
|
|
"iterator"
|
|
],
|
|
"dependencies": {
|
|
"p-locate": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^1.4.1",
|
|
"tsd": "^0.7.2",
|
|
"xo": "^0.24.0"
|
|
}
|
|
}
|