Create the package.json file for npm

create_package_json(app_name = "MyApp", description = "description",
  semantic_version = "0.0.0", app_root_path = NULL, repository = "",
  author = "", copyright_year = "", copyright_name = "",
  website = "", license = "", deps = NULL)

Arguments

app_name

name of your app. This is what end-users will see/call an app

description

short description of app

semantic_version

semantic version of app see https://semver.org/ for more information on versioning

app_root_path

app_root_path to where package.json will be written

repository

purely for info- does the shiny app live in a repository (e.g. GitHub)

author

author of the app

copyright_year

year of copyright

copyright_name

copyright-holder's name

website

website of app or company

license

license of the App. Not the full license, only the title (e.g. MIT, or GPLv3)

deps

is to allow testing with testthat

Value

outputs package.json file with user-input modifications