Remove unnecessary prerequisites (#26)

* Remove prepublish only

* Remove index.css from docs

* Keep empty dist/index.css
This commit is contained in:
Vadim
2021-05-06 20:56:04 +03:00
committed by GitHub
parent eed7ee13bc
commit f657c1f405
6 changed files with 4 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
/node_modules/
/public/build/
dist
# dist
/storybook-static
.DS_Store

View File

@@ -5,6 +5,7 @@ stories
.storybook
storybook-static
# dist
scripts
.test.js

View File

@@ -27,7 +27,6 @@ Import component and styles in App component
```jsx
<script>
import Carousel from 'svelte-carousel'
import 'svelte-carousel/dist/index.css'
// ...
</script>
```

1
dist/index.css vendored Normal file
View File

@@ -0,0 +1 @@
/* Deprecated. Keep for backward compatibility */

View File

@@ -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",

View File

@@ -196,7 +196,6 @@ Import component and styles in App component
```jsx
<script>
import Carousel from 'svelte-carousel'
import 'svelte-carousel/dist/index.css'
// ...
</script>
```