clean-package icon indicating copy to clipboard operation
clean-package copied to clipboard

Remove configuration keys from 'package.json' before creating an NPM package.

Results 7 clean-package issues
Sort by recently updated
recently updated
newest added

hello there.... clean-package is awesome ❤️❤️❤️ but its extends functionality is broken i'm using config in package.json and i used path as relative to package.json ```json "clean-package": { "extends": "../../../clean-package.config.json",...

Additionally, in order to improve the CLI experience, yargs will be used to allow for creating the `--help` content.

enhancement

Currently, the spec for the CLI is that the first optional, positional argument is `backup-path`. Then a `source-path` may optionally be specified before `backup-path`. To simplify the API, `source-path` will...

enhancement

Should be able to target the `package.json` location based on the `process.env.npm_lifecycle_event == 'postpack'`, therefore not requiring any new APIs. However, research needs to be done in order to determine...

enhancement
help wanted

# What is the purpose of this Pull Request? It resolves the issue where the types defined in your project cannot be imported. I noticed it when trying to make...

This change will be breaking, but will ultimately be more predictable. It will also make it easier for using `clean-package` for things like ordering `package.json` keys.

enhancement

For example, peer dependencies can simply be a numeric string (`"1"`, `"2"`, etc.). However, the following code converts such values to numbers (`1`, `2`, etc.). https://github.com/roydukkey/clean-package/blob/a03da14f3c9cb6fae61807ec299bc724d2ecd905/src/clean.ts#L41 At the very least...