Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
organize-pkg
Advanced tools
Readme
Assists in creating package.json for production.
npm i organize-pkg -D
-prod|-p
{boolean} - apply production output. can omit -out|-o
option. (output to ./dist)-keys|-k
- should be remove keys.-out|-o
- specify output path if need.-keepDevs|-kd
- If necessary, specify the key name to be retained in devDependencies
. valid with -prod|-p
flag. (version 1.3.0
)
# keep `devDependencies/some-enteyName` and `devDependencies/some-enteyName2`
orgpkg -kd "some-enteyName,some-enteyName2" -p
# or
# keep `devDependencies/some-enteyName`
orgpkg -kd some-enteyName -p
organize-pkg -keys "<key>,<key>,..." -out ./output.json
# or
orgpkg -k "<key>,<key>,..." -out ./output.json
version 1.2.4
, When specify -prod|-p
option can omit -out|-o
option
# output to "./dist/package.json"
orgpkg -k "dependencies/some-module,bin/organize-pkg" -p
version 1.2.3
, support command like: orgpkg -k "dependencies/some-module" -p -o ./dist
orgpkg -k "dependencies/some-module,bin/organize-pkg" -p -o ./dist
version 1.2.2
, synonym command orgpkg
orgpkg -p -o ./output.json [-k "<key>,<key>,..."]
Since version 1.2.1
, shorthand option is available.
# file name is output as "./dist/package.json"
>organize-pkg -keys "defs,//" -out ./dist
>organize-pkg -k "defs,//" -o ./dist
# file name is output as "./dist/output.json"
>organize-pkg -keys "defs,//" -out ./dist/output.json
>organize-pkg -k "defs,//" -o ./dist/output.json
devDependencies
property required during developmentorganize-pkg -keys "devDependencies" -out ./dist
organize-pkg -keys "defs,//" -out ./dist
when installing the desired module with (yarn|npm) install
,
specify "-prod"
option to specify properties such as "scripts"
, "devDependencies"
, "//<any text>?"
. Can be deleted.
In that case, the value of
"-keys"
option will be optional, and if it is specified it will be merged
organize-pkg -prod -out ./dist [-keys "defs"]
organize-pkg -p -o ./dist [-k "defs"]
MIT
FAQs
very simple package.json organizer
The npm package organize-pkg receives a total of 2 weekly downloads. As such, organize-pkg popularity was classified as not popular.
We found that organize-pkg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.