- 将所有图片路径从绝对路径改为使用 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>
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"name": "postcss-page-break",
|
|
"version": "3.0.4",
|
|
"description": "PostCSS plugin postcss-page-break to fallback `break-` properties with `page-break-` alias",
|
|
"files": [
|
|
"/index.js"
|
|
],
|
|
"scripts": {
|
|
"test": "jest && npm run lint",
|
|
"lint": "eslint *.js",
|
|
"lint:fix": "eslint *.js --fix"
|
|
},
|
|
"keywords": [
|
|
"postcss",
|
|
"css",
|
|
"postcss-plugin",
|
|
"break",
|
|
"break-inside",
|
|
"page-break-inside",
|
|
"avoid"
|
|
],
|
|
"author": "shrpne <shrpne@gmail.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type" : "git",
|
|
"url" : "https://github.com/shrpne/postcss-page-break"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/shrpne/postcss-page-break/issues"
|
|
},
|
|
"peerDependencies": {
|
|
"postcss": "^8"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.10.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-jest": "^24.0.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"eslint-plugin-unicorn": "^22.0.0",
|
|
"jest": "^26.4.2",
|
|
"postcss": "^8.1.0"
|
|
}
|
|
}
|