Package Exports
- sort-pjson
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-pjson) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sort-pjson
Sorts a package.json using fixpack rules but just with an object, not files.
Usage:
const sort = require('sort-pjson')
const pjson = require('./package.json')
const sorted = sort(pjson)