代码拉取完成,页面将自动刷新
name: 'Read & Modify of package.json'
author: 'Kenny Wong'
description: 'Read and modify the contents of package.json.'
inputs:
token:
description: 'Your GITHUB_TOKEN'
default: ${{ github.token }}
required: false
path:
description: The path of the target file "package.json".
default: package.json
required: false
data:
description: json data for changing "package.json".
required: false
rename:
description: Used to change "name" data in "package.json".
required: false
version:
description: Used to change "`version`" data in "package.json".
required: false
description:
description: Used to change "`description`" data in "package.json".
required: false
unset:
description: delete "Object" nested values
required: false
outputs:
name:
description: 'name field in package.json, The name of the package.'
version:
description: 'version field in package.json, Version must be parseable by node-semver, which is bundled with npm as a dependency.'
description:
description: "description field in package.json, This helps people discover your package, as it's listed in 'npm search'."
author:
description: 'author field in package.json'
homepage:
description: 'homepage field in package.json, The url to the project homepage.'
license:
description: "license field in package.json, You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it."
private:
description: "private field in package.json"
keywords:
description: "keywords field in package.json, This helps people discover your package as it's listed in 'npm search'."
repository:
description: "keywords field in package.json, Specify the place where your code lives. This is helpful for people who want to contribute."
os:
description: "os field in package.json, Specify which operating systems your module will run on."
cpu:
description: "cpu field in package.json, Specify that your code only runs on certain cpu architectures."
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'list'
color: 'blue'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。