- 将所有图片路径从绝对路径改为使用 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>
44 lines
839 B
JSON
44 lines
839 B
JSON
{
|
|
"name": "pirates",
|
|
"description": "Properly hijack require, i.e., properly define require hooks and customizations",
|
|
"main": "lib/index.js",
|
|
"types": "index.d.ts",
|
|
"scripts": {
|
|
"test": "ava"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"index.d.ts"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danez/pirates.git"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6"
|
|
},
|
|
"author": {
|
|
"name": "Ari Porad",
|
|
"email": "ari@ariporad.com",
|
|
"url": "http://ariporad.com"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "1.4.1",
|
|
"decache": "4.6.2"
|
|
},
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/danez/pirates/issues"
|
|
},
|
|
"homepage": "https://github.com/danez/pirates#readme",
|
|
"ava": {
|
|
"files": [
|
|
"test/*.js"
|
|
],
|
|
"sources": [
|
|
"lib/**/*.js"
|
|
]
|
|
},
|
|
"version": "4.0.7"
|
|
}
|