- 将所有图片路径从绝对路径改为使用 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>
43 lines
954 B
JSON
43 lines
954 B
JSON
{
|
|
"name": "get-caller-file",
|
|
"version": "2.0.5",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"test": "tests"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.js.map",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"prepare": "tsc",
|
|
"test": "mocha test",
|
|
"test:debug": "mocha test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/stefanpenner/get-caller-file.git"
|
|
},
|
|
"author": "Stefan Penner",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/stefanpenner/get-caller-file/issues"
|
|
},
|
|
"homepage": "https://github.com/stefanpenner/get-caller-file#readme",
|
|
"devDependencies": {
|
|
"@types/chai": "^4.1.7",
|
|
"@types/ensure-posix-path": "^1.0.0",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/node": "^11.10.5",
|
|
"chai": "^4.1.2",
|
|
"ensure-posix-path": "^1.0.1",
|
|
"mocha": "^5.2.0",
|
|
"typescript": "^3.3.3333"
|
|
},
|
|
"engines": {
|
|
"node": "6.* || 8.* || >= 10.*"
|
|
}
|
|
}
|