Deno 1.31, the latest version of the Node.js rival runtime for JavaScript, TypeScript, and WebAssembly, adds

1
package.json

support. The new feature is one of several improvements designed to make it easier for developers to transition from existing Node.js projects.

Deno now will automatically detect a

1
package.json

and use it to install and resolve dependencies used. This also enables the running of project-specific scripts defined in the

1
scripts

section with

1
deno task

. However, current support is limited to simple scripts. Programs such as

1
rimraf

or

1
cross-env

will not yet work, but support for them will be added in an upcoming release.

To read this article in full, please click here


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *