好友
阅读权限10
听众
最后登录1970-1-1
|
mygis
发表于 2023-5-28 19:00
本帖最后由 mygis 于 2023-5-29 12:07 编辑
我找到一个美化nginx目录文件的开源:
https://github.com/spring-raining/pretty-autoindex
然而,在vscode打开源码,npm install时,却发现总是无法成功,网上找了些办法,修改后也还是各种错误无法恢复开发环境。我在win10/centos7上都试过,还是各种错误。
哪位高手能测试下,然后告诉我什么系统、执行什么步骤,可以吗?谢谢!!!
pretty-autoindex的package.json:
{
"name": "pretty-autoindex",
"version": "1.1.0",
"description": "Show nginx autoindex more pretty!",
"keywords": [
"autoindex",
"nginx"
],
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/spring-raining/pretty-autoindex.git"
},
"author": "spring-raining",
"license": "MIT",
"bugs": {
"url": "https://github.com/spring-raining/pretty-autoindex/issues"
},
"homepage": "https://github.com/spring-raining/pretty-autoindex#readme",
"devDependencies": {
"babel": "^6.3.26",
"babel-core": "^6.4.5",
"babel-preset-es2015": "^6.3.13",
"babelify": "^7.2.0",
"del": "^2.2.0",
"gulp": "^3.9.0",
"gulp-browserify": "^0.5.1",
"gulp-sass": "^2.1.1",
"gulp-uglify": "^1.5.1",
"moment": "^2.11.1",
"primer-css": "^3.0.0",
"run-sequence": "^1.1.5",
"vue": "^1.0.15",
"vue-router": "^0.7.9",
"vueify": "^8.3.2"
},
"babel": {
"presets": [
"es2015"
]
}
}
|
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|