- 将所有图片路径从绝对路径改为使用 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>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "renderkid",
|
|
"version": "3.0.0",
|
|
"description": "Stylish console.log for node",
|
|
"main": "lib/RenderKid.js",
|
|
"dependencies": {
|
|
"css-select": "^4.1.3",
|
|
"dom-converter": "^0.2.0",
|
|
"htmlparser2": "^6.1.0",
|
|
"lodash": "^4.17.21",
|
|
"strip-ansi": "^6.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.5",
|
|
"@babel/preset-env": "^7.14.5",
|
|
"chai": "^4.3.4",
|
|
"chai-changes": "^1.3.6",
|
|
"chai-fuzzy": "^1.6.1",
|
|
"coffeescript": "^2.5.1",
|
|
"mocha": "^9.1.3",
|
|
"sinon": "^11.1.1",
|
|
"sinon-chai": "^3.7.0"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha \"test/**/*.coffee\"",
|
|
"test:watch": "npm run test -- --watch",
|
|
"compile": "coffee --bare --transpile --output ./lib ./src",
|
|
"compile:watch": "coffee --watch --bare --transpile --output ./lib ./src",
|
|
"watch": "npm run compile:watch & npm run test:watch",
|
|
"prepublish": "npm run compile"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/AriaMinaei/RenderKid.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/AriaMinaei/RenderKid/issues"
|
|
},
|
|
"author": "Aria Minaei",
|
|
"license": "MIT"
|
|
}
|