Skip to content

Commit

Permalink
feature/new-frontend (#29)
Browse files Browse the repository at this point in the history
* new frontend

* remove chinese notes

* remove unused import

* fix codacy issue

* fix codacy issue

* fix codacy issue

* fix lgtm alert

* remove console log

* remove old gif

* remove unused dir
  • Loading branch information
yumiguan authored Dec 26, 2019
1 parent ee16e0d commit e9dec43
Show file tree
Hide file tree
Showing 37 changed files with 12,921 additions and 620 deletions.
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,26 @@ jobs:
script: pytest

- stage: release to pypi
if: type = push
if: type = push AND tag IS present
language: python
catch: pip
catch:
- pip
- npm
python:
- "3.6"
- "3.6"
node_js:
- "10"
install:
- cd frontend
- npm install
- npm run build
- cd ..
script:
- echo "Skipping tests"
- echo "No script for pypi release"
deploy:
provider: pypi
skip_existing: true
skip-cleanup: true
user: yumiguan
password:
secure: "OOHysTCqFWBkK9i32G60FqhvqMmKgyUzSM9FIdX7j5NESnC4t2BxDZg13e2MOpV0iAUdq0zRSHuxBY/KbiLnpVbI2RWPEOD6v5efQNkNmLKoElzi4PhTnG2CxJGqwg9I0DH2qWgrSPDae5ikQpRvhqsD+G9yYDW1ge4mgGk0ui+xNAETjDswkmFOShH18mvwqdf543aoyVtmjJVMtWPoMTgqBuQL/JhCeg/xojfza0vz8sF4a1uB34kNS9femjTMXgeuPeFqX9LzHcsM3kl5t+SRi6jH86pCnqt1yyXExX0K/izpnQh9qa1Oze+NlHrVqgODYjjuSvfbtVR9hJuw+C5d0WHXfBk9BALs8hG8C51+mqQ3EBfjAUfCjBGr9yXkraaaGo/BiFrmZpKVBzG3lAkHb8/uRfg9tR87F7dxQ/uqr3qsRCtfzvk2Msc5fNczJJV0+JswdgsgJeczXU7+p/6rGIQ3TVcLKjammfLL7pPqJeP0TPNZ7SL+VDDmvusNJeYGvd4mfx1m1MpW1onhon3HsDwhd14dApIuS+vZAw0Uf9CtDZ0QMHE76+YAlnZpwA93c65+Td1gMQlL69w0wYQl76X36sLxlAmuOAzxPawscN2ampYHx6oqSkHtqkIiDz6Dr+/hUJhGRmcGbxFMGQVroP4KmJUfATITqQ3KYkc="
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lyrebird

## 预览

![Home Page](./image/plugin-ios.gif)
![Home Page](./image/iOS.png)

## 开发者

Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $ pip3 install lyrebird-ios
## Preview
![Home Page](./image/plugin-ios.gif)
![Home Page](./image/iOS.png)
## For developer
1. Clone repo
Expand Down
12 changes: 0 additions & 12 deletions debug.py

This file was deleted.

21 changes: 21 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
26 changes: 26 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# frontend

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```
5 changes: 5 additions & 0 deletions frontend/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
Loading

0 comments on commit e9dec43

Please sign in to comment.