- 将所有图片路径从绝对路径改为使用 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
822 B
JSON
35 lines
822 B
JSON
{
|
|
"name": "safer-buffer",
|
|
"version": "2.1.2",
|
|
"description": "Modern Buffer API polyfill without footguns",
|
|
"main": "safer.js",
|
|
"scripts": {
|
|
"browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
|
|
"test": "standard && tape tests.js"
|
|
},
|
|
"author": {
|
|
"name": "Nikita Skovoroda",
|
|
"email": "chalkerx@gmail.com",
|
|
"url": "https://github.com/ChALkeR"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ChALkeR/safer-buffer.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ChALkeR/safer-buffer/issues"
|
|
},
|
|
"devDependencies": {
|
|
"standard": "^11.0.1",
|
|
"tape": "^4.9.0"
|
|
},
|
|
"files": [
|
|
"Porting-Buffer.md",
|
|
"Readme.md",
|
|
"tests.js",
|
|
"dangerous.js",
|
|
"safer.js"
|
|
]
|
|
}
|