文件操作 - package.json
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@redocly/openapi-core/package.json
编辑文件内容
{ "name": "@redocly/openapi-core", "version": "1.27.2", "description": "", "main": "lib/index.js", "engines": { "node": ">=14.19.0", "npm": ">=7.0.0" }, "engineStrict": true, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Redocly/redocly-cli.git" }, "browser": { "fs": false, "path": "path-browserify", "os": false, "node-fetch": false, "colorette": false, "https-proxy-agent": false }, "homepage": "https://github.com/Redocly/redocly-cli", "keywords": [ "linter", "OpenAPI", "Swagger", "OpenAPI linter", "Swagger linter", "AsyncAPI linter", "oas" ], "contributors": [ "Roman Hotsiy <roman@redocly.com> (https://redocly.com/)" ], "dependencies": { "@redocly/ajv": "^8.11.2", "@redocly/config": "^0.20.1", "colorette": "^1.2.0", "https-proxy-agent": "^7.0.4", "js-levenshtein": "^1.1.6", "js-yaml": "^4.1.0", "minimatch": "^5.0.1", "node-fetch": "^2.6.1", "pluralize": "^8.0.0", "yaml-ast-parser": "0.0.43" }, "devDependencies": { "@types/js-levenshtein": "^1.1.0", "@types/js-yaml": "^4.0.3", "@types/minimatch": "^3.0.5", "@types/node": "^20.11.5", "@types/node-fetch": "^2.5.7", "@types/pluralize": "^0.0.29", "json-schema-to-ts": "^3.1.0", "typescript": "5.5.3" } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件