文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/node_modules/npm/node_modules/read-cmd-shim/package.json
编辑文件内容
{ "name": "read-cmd-shim", "version": "2.0.0", "description": "Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink.", "main": "index.js", "devDependencies": { "cmd-shim": "^4.0.0", "rimraf": "^3.0.0", "tap": "^14.10.6" }, "scripts": { "preversion": "npm t", "postversion": "npm publish", "prepublishOnly": "git push --follow-tags", "test": "tap" }, "tap": { "check-coverage": true }, "repository": { "type": "git", "url": "git+https://github.com/npm/read-cmd-shim.git" }, "license": "ISC", "homepage": "https://github.com/npm/read-cmd-shim#readme", "files": [ "index.js" ] }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件