Seagull leverages the default package.json
file every node.js has for its own
configurations. All settings reside in the seagull
property and the access to
these data fields is encapsulated through this module.
import { PackageJson } from '@seagull/package-config'
const pkg = new PackageJson('/path/to/file')
pkg.addDomain('example.com')
pkg.enableAnalytics('UA-XXXXXXX')
pkg.hasAnalytics // => true