From 01f43bfaa5d65979d4e27f052e9f7b54e3fedd6d Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Mon, 3 Sep 2018 00:27:48 -0400 Subject: [PATCH] feat: admin dashboard (wip) --- client/components/admin/admin-dashboard.vue | 70 +++++++++++++++++++-- package.json | 19 +----- yarn.lock | 11 ++++ 3 files changed, 77 insertions(+), 23 deletions(-) diff --git a/client/components/admin/admin-dashboard.vue b/client/components/admin/admin-dashboard.vue index d5e41ef7..6351ef53 100644 --- a/client/components/admin/admin-dashboard.vue +++ b/client/components/admin/admin-dashboard.vue @@ -1,19 +1,79 @@ diff --git a/package.json b/package.json index 8cddd488..25fd6acc 100644 --- a/package.json +++ b/package.json @@ -153,6 +153,7 @@ "devDependencies": { "@panter/vue-i18next": "0.12.0", "@vue/cli": "3.0.0", + "animated-number-vue": "0.1.3", "apollo-cache-inmemory": "1.2.7", "apollo-client": "2.3.8", "apollo-fetch": "0.7.0", @@ -200,10 +201,7 @@ "html-webpack-pug-plugin": "0.3.0", "i18next-xhr-backend": "1.5.1", "ignore-loader": "0.1.2", - "jest": "23.5.0", - "jest-junit": "5.1.0", "js-cookie": "2.2.0", - "lodash-webpack-plugin": "0.11.5", "mini-css-extract-plugin": "0.4.1", "node-sass": "4.9.3", "offline-plugin": "5.0.5", @@ -268,21 +266,6 @@ "Firefox ESR", "not ie < 11" ], - "jest": { - "testResultsProcessor": "./node_modules/jest-junit", - "collectCoverage": false, - "testMatch": [ - "**/test/**/*.js?(x)", - "**/?(*.)(spec|test).js?(x)" - ], - "verbose": true - }, - "jest-junit": { - "suiteName": "jest test", - "output": "./test-results/junit.xml", - "classNameTemplate": "{classname}-{title}", - "titleTemplate": "{classname}-{title}" - }, "postcss": { "plugins": { "autoprefixer": {}, diff --git a/yarn.lock b/yarn.lock index 4978f611..fcd74033 100644 --- a/yarn.lock +++ b/yarn.lock @@ -786,6 +786,17 @@ amp@0.3.1, amp@~0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/amp/-/amp-0.3.1.tgz#6adf8d58a74f361e82c1fa8d389c079e139fc47d" +animated-number-vue@0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/animated-number-vue/-/animated-number-vue-0.1.3.tgz#dcb69b512dd1864358debc6ae2322223848429c5" + dependencies: + animejs "^2.2.0" + vue "^2.5.13" + +animejs@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/animejs/-/animejs-2.2.0.tgz#35eefdfc535b81949c9cb06f0b3e60c02e6fdc80" + ansi-align@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f"