entropic-dev / entropic-dev/entropic

package.json support

Open
#106 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.2k
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Supporting json based description of package seems pretty important, even support for incompatible version of package.json would be a plus.

And my personal preference would be also adding an option to load package description as a js object (without necessity of placing quotes) and with possibility to define scripts not only as a shell commands, but also as functions to which command line arguments and environment variables are passed.

```
{
name: "chris@entropic.dev/ds",
version: "0.0.0-beta",

scripts: {
test: "node test.js" // classic shell script
compile: function(args, env, shell) {
shell.run("ts " + args[0]);
}
},

dependencies: {
"@iarna/toml": "^2.2.3",
"legacy@entropic.dev/figgy-pudding": "^3.5.1"
}
}
```

Your solution could support all these 3 formats (toml > json > js like)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.