diff --git a/.releaserc b/.releaserc index fde32fa0..81aa4076 100644 --- a/.releaserc +++ b/.releaserc @@ -2,13 +2,13 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/npm", [ "@semantic-release/changelog", { "changelogFile": "./CHANGELOG.md" } ], + "@semantic-release/npm", "@semantic-release/github" ] } diff --git a/formik/package.json b/formik/package.json index 4d803f5b..1f61a32a 100644 --- a/formik/package.json +++ b/formik/package.json @@ -2,8 +2,5 @@ "private": true, "name": "tailor-ui/formik", "main": "../lib/formik/index.cjs.js", - "module": "../lib/formik/index.js", - "files": [ - "../lib/formik" - ] + "module": "../lib/formik/index.js" } diff --git a/lab/package.json b/lab/package.json index cc558509..c8733d94 100644 --- a/lab/package.json +++ b/lab/package.json @@ -2,8 +2,5 @@ "private": true, "name": "tailor-ui/lab", "main": "../lib/lab/index.cjs.js", - "module": "../lib/lab/index.js", - "files": [ - "../lib/lab" - ] + "module": "../lib/lab/index.js" } diff --git a/package.json b/package.json index 11562c73..e94144e2 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,11 @@ "main": "lib/index.cjs.js", "module": "lib/index.js", "files": [ - "lib" + "formik", + "lab", + "lib", + "theme", + "utils" ], "scripts": { "build": "yarn clean && yarn build:type && yarn build:esm && yarn build:cjs", @@ -24,7 +28,6 @@ "build:esm": "cross-env NODE_ENV=production babel --config-file ./babel.config.js ./src --out-dir ./lib --extensions '.ts,.tsx'", "build:type": "tsc --emitDeclarationOnly", "clean": "rimraf ./lib tsconfig.tsbuildinfo", - "postinstall": "cd website && yarn", "lint": "yarn lint:ts && yarn lint:css", "lint:css": "stylelint './src'", "lint:fix": "yarn lint:ts --fix && yarn lint:css", diff --git a/theme/package.json b/theme/package.json index 374b0009..794e4787 100644 --- a/theme/package.json +++ b/theme/package.json @@ -2,8 +2,5 @@ "private": true, "name": "tailor-ui/theme", "main": "../lib/theme/index.cjs.js", - "module": "../lib/theme/index.js", - "files": [ - "../lib/theme" - ] + "module": "../lib/theme/index.js" } diff --git a/utils/package.json b/utils/package.json index 4ae00f9e..3b7eee8e 100644 --- a/utils/package.json +++ b/utils/package.json @@ -2,8 +2,5 @@ "private": true, "name": "tailor-ui/utils", "main": "../lib/utils/index.cjs.js", - "module": "../lib/utils/index.js", - "files": [ - "../lib/utils" - ] + "module": "../lib/utils/index.js" }