Skip to content

Commit 0e647f7

Browse files
committed
Upgraded to vue cli 3.
1 parent 3752dfc commit 0e647f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+4381
-4585
lines changed

.babelrc

-17
This file was deleted.

.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

.editorconfig

-9
This file was deleted.

.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VUE_APP_QUANTESSENTIAL_BASE_URL=http://localhost:3000
2+
VUE_APP_SEQUENCESCAPE_BASE_URL=http://localhost:3000/api/v2

.env.production.local

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VUE_APP_QUANTESSENTIAL_BASE_URL=http://production.psd.sanger.ac.uk:7300
2+
VUE_APP_SEQUENCESCAPE_BASE_URL=http://production.psd.sanger.ac.uk:6600/api/v2

.env.staging.local

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VUE_APP_QUANTESSENTIAL_BASE_URL=http://dev.psd.sanger.ac.uk:7330
2+
VUE_APP_SEQUENCESCAPE_BASE_URL=http://dev.psd.sanger.ac.uk:6600/api/v2

.eslintignore

-5
This file was deleted.

.eslintrc.js

+8-20
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
// https://eslint.org/docs/user-guide/configuring
2-
31
module.exports = {
42
root: true,
5-
parserOptions: {
6-
parser: 'babel-eslint'
7-
},
83
env: {
9-
browser: true,
4+
node: true
105
},
11-
extends: [
12-
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
13-
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
14-
'plugin:vue/essential',
15-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
16-
'standard'
17-
],
18-
// required to lint *.vue files
19-
plugins: [
20-
'vue'
6+
'extends': [
7+
'plugin:vue/essential',
8+
'eslint:recommended'
219
],
22-
// add your custom rules here
2310
rules: {
24-
// allow async-await
25-
'generator-star-spacing': 'off',
26-
// allow debugger during development
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
2712
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
2816
}
2917
}

.postcssrc.js

-10
This file was deleted.

README.md

+24-23
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
1-
#QuantHub
1+
# quanthub-2
22

3-
> A Vue.js project
4-
5-
## Build Setup
6-
7-
``` bash
8-
# install dependencies
9-
npm install
10-
11-
# serve with hot reload at localhost:8080
12-
npm run dev
13-
14-
# build for production with minification
15-
npm run build
3+
## Project setup
4+
```
5+
yarn install
6+
```
167

17-
# build for production and view the bundle analyzer report
18-
npm run build --report
8+
### Compiles and hot-reloads for development
9+
```
10+
yarn run serve
11+
```
1912

20-
# run unit tests
21-
npm run unit
13+
### Compiles and minifies for production
14+
```
15+
yarn run build
16+
```
2217

23-
# run e2e tests
24-
npm run e2e
18+
### Lints and fixes files
19+
```
20+
yarn run lint
21+
```
2522

26-
# run all tests
27-
npm test
23+
### Run your unit tests
24+
```
25+
yarn run test:unit
2826
```
2927

30-
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
28+
### Run your end-to-end tests
29+
```
30+
yarn run test:e2e
31+
```

babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

build/build.js

-41
This file was deleted.

build/check-versions.js

-54
This file was deleted.

build/logo.png

-6.69 KB
Binary file not shown.

build/utils.js

-101
This file was deleted.

build/vue-loader.conf.js

-22
This file was deleted.

0 commit comments

Comments
 (0)