- 将所有图片路径从绝对路径改为使用 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>
35 lines
857 B
JSON
35 lines
857 B
JSON
{
|
|
"name": "universalify",
|
|
"version": "2.0.1",
|
|
"description": "Make a callback- or promise-based function support both promises and callbacks.",
|
|
"keywords": [
|
|
"callback",
|
|
"native",
|
|
"promise"
|
|
],
|
|
"homepage": "https://github.com/RyanZim/universalify#readme",
|
|
"bugs": "https://github.com/RyanZim/universalify/issues",
|
|
"license": "MIT",
|
|
"author": "Ryan Zimmerman <opensrc@ryanzim.com>",
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/RyanZim/universalify.git"
|
|
},
|
|
"scripts": {
|
|
"test": "standard && nyc --reporter text --reporter lcovonly tape test/*.js | colortape"
|
|
},
|
|
"devDependencies": {
|
|
"colortape": "^0.1.2",
|
|
"coveralls": "^3.0.1",
|
|
"nyc": "^15.0.0",
|
|
"standard": "^14.3.1",
|
|
"tape": "^5.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10.0.0"
|
|
}
|
|
}
|