From f657c1f40589b06085d7ba08536474925bb157e4 Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 6 May 2021 20:56:04 +0300 Subject: [PATCH] Remove unnecessary prerequisites (#26) * Remove prepublish only * Remove index.css from docs * Keep empty dist/index.css --- .gitignore | 2 +- .npmignore | 1 + README.md | 1 - dist/index.css | 1 + package.json | 3 +-- src/docs/Carousel.svx | 1 - 6 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 dist/index.css diff --git a/.gitignore b/.gitignore index f5f1664..3f27374 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /node_modules/ /public/build/ -dist +# dist /storybook-static .DS_Store diff --git a/.npmignore b/.npmignore index 71bcf95..189e0d6 100644 --- a/.npmignore +++ b/.npmignore @@ -5,6 +5,7 @@ stories .storybook storybook-static +# dist scripts .test.js diff --git a/README.md b/README.md index 428f153..efc6b50 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Import component and styles in App component ```jsx ``` diff --git a/dist/index.css b/dist/index.css new file mode 100644 index 0000000..e401391 --- /dev/null +++ b/dist/index.css @@ -0,0 +1 @@ +/* Deprecated. Keep for backward compatibility */ \ No newline at end of file diff --git a/package.json b/package.json index 7bdeb3f..48d16ba 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,7 @@ "build-storybook": "build-storybook", "build:docs": "set DOCS=true && npm run build", "dev:docs": "set DOCS=true && npm run dev", - "test": "jest", - "prepublishOnly": "npm run build" + "test": "jest" }, "devDependencies": { "@babel/core": "^7.12.10", diff --git a/src/docs/Carousel.svx b/src/docs/Carousel.svx index 8e4da77..1daf16e 100644 --- a/src/docs/Carousel.svx +++ b/src/docs/Carousel.svx @@ -196,7 +196,6 @@ Import component and styles in App component ```jsx ```