diff --git a/package.json b/package.json index 7d90874f..75d32f6b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,11 @@ "lint:fix": "eslint --ext .js,.ts,.tsx,.jsx,.stories.mdx --fix .", "test": "jest --passWithNoTests", "test:watch": "jest --passWithNoTests --watch", - "build-storybook": "build-storybook" + "build-storybook": "build-storybook", + "prepare": "npm run build", + "prepublishOnly": "npm run test && npm run lint", + "version": "npm run test && npm run lint && git add -A src", + "postversion": "git push && git push --tags" }, "dependencies": { "classnames": "^2.3.1", @@ -79,9 +83,9 @@ "yup": "^0.32.9" }, "files": [ - "components", - "designSystem", - "esm", + "components/**/*", + "designSystem/**/*", + "esm/**/*", "action.d.ts", "action.js", "alert.d.ts",