The latest release of Deno 1.31, a runtime for JavaScript, TypeScript, and WebAssembly that competes with Node.js, has made an announcement about adding support for package.json.
The company said the new function is one of a number of enhancements made to make it simpler for developers to switch from current Node.js projects. Now, when a package.json exists, Deno will automatically find it and use it to install and resolve any used dependencies. Additionally, this enables the use of deno tasks to execute project-specific scripts listed in the scripts section.
However, at this time, only straightforward scripts are supported. Rimraf and cross-env won’t function just yet, but support for them will be included in a subsequent release.
Read More: Deno adds package.json support