Skip to content

Commit

Permalink
✨ feat: Add clean-package
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jan 6, 2025
1 parent 2ba126f commit b710351
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.backup
4 changes: 4 additions & 0 deletions clean-package.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
indent: 2,
remove: ['scripts', 'lint-staged', 'devDependencies', 'publishConfig', 'clean-package'],
};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
"lint:circular": "dpdm src/**/*.{ts,tsx} --warning false --tree false --exit-code circular:1 -T true",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepare": "husky && npm run setup",
"prepublishOnly": "clean-publish",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
Expand Down Expand Up @@ -137,7 +138,7 @@
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "~1.2.2",
"babel-plugin-antd-style": "^1.0.4",
"clean-publish": "^5.1.0",
"clean-package": "^2.2.0",
"commitlint": "^19.6.1",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
Expand Down

0 comments on commit b710351

Please sign in to comment.