MCPcopy
hub / github.com/reflex-dev/reflex / initialize_package_json

Function initialize_package_json

reflex/utils/frontend_skeleton.py:525–528  ·  view source on GitHub ↗

Render and write in .web the package.json file.

()

Source from the content-addressed store, hash-verified

523
524
525def initialize_package_json():
526 """Render and write in .web the package.json file."""
527 output_path = get_web_dir() / constants.PackageJson.PATH
528 output_path.write_text(_compile_package_json())
529
530
531def _compile_vite_config(config: Config):

Callers 1

initialize_web_directoryFunction · 0.85

Calls 2

get_web_dirFunction · 0.90
_compile_package_jsonFunction · 0.85

Tested by

no test coverage detected