Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed Jul 20, 2020
1 parent 3fb6561 commit 82da9d9
Show file tree
Hide file tree
Showing 10 changed files with 379 additions and 346 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .npmignore
@@ -1,18 +1,6 @@
# Created by .ignore support plugin (hsz.mobi)

.github/
build/
config/
static/
test/
docs/
dist-docs/

.editorconfig
.eslintignore
.eslintrc.js
.postcssrc.js
.travis.yml
index.html
.yarnrc
yarn.lock
8 changes: 0 additions & 8 deletions .postcssrc.js

This file was deleted.

18 changes: 0 additions & 18 deletions index.html

This file was deleted.

13 changes: 4 additions & 9 deletions package.json
Expand Up @@ -40,17 +40,13 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"autoprefixer": "^7.2.3",
"axios": "^0.17.1",
"bootstrap": "^3.3.7",
"chai": "^4.1.2",
"coveralls": "^2.12.0",
"cross-env": "^5.1.1",
"cross-env": "^7.0.2",
"es6-object-assign": "^1.1.0",
"es6-promise": "^4.1.1",
"eslint": "^4.13.1",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-plugin-html": "^4.0.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
Expand All @@ -66,17 +62,16 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"lodash": "^4.17.5",
"mocha": "^4.0.1",
"mocha": "^8.0.1",
"mocha-lcov-reporter": "^1.3.0",
"puppeteer": "^5.1.0",
"rollup": "^2.21.0",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-vue": "^5.1.9",
"semver": "^5.3.0",
"sinon": "^4.1.3",
"sinon-chai": "^2.8.0",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"vue": "^2.6.10",
"vue-template-compiler": "^2.6.10"
},
Expand Down
Empty file removed static/.gitkeep
Empty file.
Binary file removed static/logo.png
Binary file not shown.
8 changes: 4 additions & 4 deletions test/specs/Typeahead.spec.js
@@ -1,6 +1,6 @@
import { triggerEvent, sleep, triggerKey, createVm, destroyVm, keyCodes } from '../utils'
import { getRequest } from '../../src/utils/httpUtils'
import states from '../assets/data/states.json'
import axios from 'axios/dist/axios.min'

function baseVm () {
return createVm(`
Expand Down Expand Up @@ -591,9 +591,9 @@ describe('Typeahead', () => {
}, {
methods: {
queryFunction (query, done) {
axios.get('https://api.github.com/search/users?q=' + query)
.then(res => {
done(res.data.items)
getRequest('https://api.github.com/search/users?q=' + query)
.then(data => {
done(data.items)
})
.catch(err => {
console.log(err)
Expand Down

0 comments on commit 82da9d9

Please sign in to comment.