create_package_json: Create the package.json file for npm

View source: R/create_package_json.R

create_package_jsonR Documentation

Create the package.json file for npm

Description

Create the package.json file for npm

Usage

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


chasemc/electricShine documentation built on Oct. 12, 2022, 8:50 a.m.