Add JSON schema for CPM package specification files (package.json)
This branch adds a package.schema.json
that describes the package.json
format as a JSON schema. JSON schema is a widely adopted format that makes it easier to external tooling such as IDEs to provide validation and autocompletion in JSON documents.
With this schema, for example, Visual Studio Code can both provide completions and warn about missing mandatory fields: