Public API for the packageJson namespace
Enables modification of any part of the project's package.json file.
package.json
Optional
override the working directory
import { packageJson } from 'ember-apply';await packageJson.modify(packageJson => { packageJson.volta = { node: '16.3.0' }}); Copy
import { packageJson } from 'ember-apply';await packageJson.modify(packageJson => { packageJson.volta = { node: '16.3.0' }});
Public API for the packageJson namespace