3.3.1 • Published 5 years ago

mrbuilder-tool v3.3.1

Weekly downloads
1
License
0BSD
Repository
-
Last release
5 years ago

Muck

This a tool for mucking with json files within projects. Mostly package.json, its meant to be able to quickly create combinations of commands for making things work.

Examples.

$ mr-muck -p name="Name the Package" -s devDependencies.stuff=1.7.0 -c -C -n config.json

Would create a file like this if it does not exist. If it did it exist it would create config.json.bck and would have name set to Somethign and a devDependency of stuff.

{
  "name": "Something",
  "devDependencies": {
    "stuff": "1.7.0"
  }
}

And then some other time you wanted to add a description. you could

$ mr-muck -p name="Name the Package" -p description="Describe the Package" -s devDependencies.stuff=1.7.0 -s dependencies.other=1.0.0

Options

Path is a dot notation path a.b.c

ArgumentShortTypeDescription
--prompt-pmessagePrompt for any changes
--set-spath=valueSet the path
--delete-dpathDelete the key and value
--get-gpathGet the value(s) for the path
--move-mvpath=pathMove path from location to another
--skip-kSkip if value exists
--unless-uOnly if key exists
--confirm-cConfirm change
--ignore-ipackagesPackages to ignore
--no-lerna-nDon't use lerna
--file-ffileFile to operate upon
--create-file-cCreate file if it does not exist
--preview-PPreview files that change before writing
--scope-SOnly operate on these packages
--no-extensionWrite in place, no backup file
--help-hHelpful message
3.3.1

5 years ago

3.3.1-alpha.0

5 years ago

3.3.0

5 years ago

3.3.0-alpha.2

5 years ago

3.3.0-alpha.0

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.7

6 years ago

3.1.6

6 years ago

3.1.5

6 years ago

3.1.4

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.6

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

3.0.0-0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.1.0-0

6 years ago

2.0.4

6 years ago

2.0.4-5

6 years ago

2.0.4-4

6 years ago

2.0.4-3

6 years ago

2.0.4-2

6 years ago

2.0.4-1

6 years ago

2.0.4-0

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

2.0.0-beta.6

6 years ago

2.0.0-beta.5

6 years ago

2.0.0-beta.4

6 years ago

2.0.0-beta.3

6 years ago

2.0.0-beta.2

6 years ago

2.0.0-beta.1

6 years ago

1.2.6

6 years ago

1.2.3

6 years ago

1.2.0

6 years ago

1.1.0-0

6 years ago

1.0.3-1.0

6 years ago

1.0.3-1.1.0-0.0

6 years ago

1.0.0

6 years ago

0.9.11

6 years ago

0.9.9

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

6 years ago