文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/mime/package.json
编辑文件内容
{ "author": { "name": "Robert Kieffer", "url": "http://github.com/broofa", "email": "robert@broofa.com" }, "type": "module", "engines": { "node": ">=16" }, "main": "./dist/src/index.js", "exports": { ".": "./dist/src/index.js", "./lite": "./dist/src/index_lite.js", "./types/standard.js": "./dist/types/standard.js", "./types/other.js": "./dist/types/other.js", "./package.json": "./package.json" }, "files": [ "bin", "dist/src", "dist/types", "src", "types" ], "bin": { "mime": "bin/cli.js" }, "contributors": [], "description": "A comprehensive library for mime-type mapping", "license": "MIT", "devDependencies": { "@types/mime-db": "1.*", "@types/mime-types": "2.1.4", "@types/node": "22.10.2", "@typescript-eslint/eslint-plugin": "8.18.1", "@typescript-eslint/parser": "8.18.1", "chalk": "5.3.0", "mime-score": "2.0.4", "mime-types": "2.1.35", "prettier": "3.4.2", "release-please": "16.15.0", "runmd": "1.3.9", "typescript": "5.7.2" }, "scripts": { "build": "rm -fr dist && tsc", "build:types": "node dist/scripts/build.js", "build:watch": "npm run build -- --watch", "lint": "prettier -c .", "lint:fix": "prettier -w .", "prepack": "npm run build", "pretest": "npm run build", "prepublishOnly": "npm test", "test": "node --test && ./test/exports_test.sh", "test:watch": "clear && node --enable-source-maps --test --watch test" }, "keywords": [ "extension", "file", "mime", "mime-db", "mimetypes", "util" ], "name": "mime", "repository": { "url": "https://github.com/broofa/mime", "type": "git" }, "version": "4.0.6", "funding": [ "https://github.com/sponsors/broofa" ], "packageManager": "npm@11.0.0" }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件