文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/unplugin-vue-router/node_modules/local-pkg/package.json
编辑文件内容
{ "name": "local-pkg", "type": "module", "version": "1.0.0", "packageManager": "pnpm@9.15.3", "description": "Get information on local packages.", "author": "Anthony Fu <anthonyfu117@hotmail.com>", "license": "MIT", "funding": "https://github.com/sponsors/antfu", "homepage": "https://github.com/antfu/local-pkg#readme", "repository": { "type": "git", "url": "git+https://github.com/antfu/local-pkg.git" }, "bugs": { "url": "https://github.com/antfu/local-pkg/issues" }, "keywords": [ "package" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=14" }, "scripts": { "prepublishOnly": "nr build", "build": "unbuild", "lint": "eslint .", "release": "bumpp && npm publish", "typecheck": "tsc --noEmit", "test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs" }, "dependencies": { "mlly": "^1.7.3", "pkg-types": "^1.3.0" }, "devDependencies": { "@antfu/eslint-config": "^3.12.2", "@antfu/ni": "^23.2.0", "@antfu/utils": "^8.0.0", "@types/chai": "^5.0.1", "@types/node": "^22.10.5", "bumpp": "^9.10.0", "chai": "^5.1.2", "eslint": "^9.17.0", "esno": "^4.8.0", "find-up-simple": "^1.0.0", "typescript": "^5.7.3", "unbuild": "^3.2.0", "vitest": "^2.1.8" } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件