refactor: move examples to folder

This commit is contained in:
Rongjian Zhang 2020-06-13 20:45:58 +08:00
parent 0fd96a4dbc
commit a866e38ba7
17 changed files with 5 additions and 3 deletions

View File

@ -11,10 +11,10 @@ jobs:
- run: |
yarn
yarn build
cd packages/example-svelte-webpack
cd examples/svelte-webpack
yarn build
- uses: peaceiris/actions-gh-pages@v2.5.1
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./packages/example-svelte-webpack/public
PUBLISH_DIR: ./examples/svelte-webpack/public

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -2,10 +2,12 @@
"name": "bytemd",
"private": true,
"workspaces": [
"packages/*"
"packages/*",
"examples/*"
],
"scripts": {
"build": "tsc; rollup -c",
"dev": "rollup -cw",
"watch": "tsc --watch"
},
"devDependencies": {