Remove unnecessary prerequisites (#26)
* Remove prepublish only * Remove index.css from docs * Keep empty dist/index.css
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
||||
/node_modules/
|
||||
/public/build/
|
||||
dist
|
||||
# dist
|
||||
/storybook-static
|
||||
|
||||
.DS_Store
|
||||
|
||||
@@ -5,6 +5,7 @@ stories
|
||||
.storybook
|
||||
storybook-static
|
||||
|
||||
# dist
|
||||
scripts
|
||||
|
||||
.test.js
|
||||
|
||||
@@ -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
1
dist/index.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/* Deprecated. Keep for backward compatibility */
|
||||
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user