summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-01-17 22:46:30 +0300
committerDerick Montague <derick.montague@ibm.com>2020-01-21 21:08:12 +0300
commita2988f40b965fdcf2941ff6e62c5bac5cf0e6988 (patch)
tree2517f594e51376f66b5f352065a86aeffa104900 /package.json
parentb935611638d871412c8582c0d9798e109ce4e06e (diff)
downloadwebui-vue-a2988f40b965fdcf2941ff6e62c5bac5cf0e6988.tar.xz
Create basic application using vue
- Create vue app - Add AppHeader and AppNavigation - Set up routes for server overview and local user management - Add themes and set to gray-10 theme - Add active class for current navigation - Add a prototype method named $http to vue prototype - The UI uses console logs in production to communicate to users - Add boostrap vue component library Change-Id: Ib6618e6357ca01bdac6de4ed031a15c8552226f3 Signed-off-by: Derick Montague <derick.montague@ibm.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..6cbc0944
--- /dev/null
+++ b/package.json
@@ -0,0 +1,50 @@
+{
+ "name": "webui-vue",
+ "description": "OpenBMC Web UI using the Vue.js front-end framework",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "serve": "vue-cli-service serve --port 8000",
+ "build": "vue-cli-service build",
+ "test:unit": "vue-cli-service test:unit",
+ "lint": "vue-cli-service lint"
+ },
+ "dependencies": {
+ "@carbon/icons-vue": "10.6.1",
+ "axios": "0.19.0",
+ "bootstrap": "4.3.1",
+ "bootstrap-vue": "2.1.0",
+ "core-js": "3.3.2",
+ "vue": "2.6.10",
+ "vue-router": "3.1.3",
+ "vuex": "3.0.1"
+ },
+ "devDependencies": {
+ "@vue/cli-plugin-babel": "4.0.0",
+ "@vue/cli-plugin-eslint": "4.0.5",
+ "@vue/cli-plugin-router": "4.0.0",
+ "@vue/cli-plugin-unit-jest": "4.0.0",
+ "@vue/cli-plugin-vuex": "4.0.0",
+ "@vue/cli-service": "4.0.0",
+ "@vue/eslint-config-prettier": "5.0.0",
+ "@vue/test-utils": "1.0.0-beta.29",
+ "babel-eslint": "10.0.3",
+ "eslint": "5.16.0",
+ "eslint-plugin-prettier": "3.1.1",
+ "eslint-plugin-vue": "5.0.0",
+ "lint-staged": "9.4.2",
+ "node-sass": "4.13.1",
+ "prettier": "1.18.2",
+ "sass-loader": "8.0.0",
+ "vue-template-compiler": "2.6.10"
+ },
+ "gitHooks": {
+ "pre-commit": "lint-staged"
+ },
+ "lint-staged": {
+ "*.{js,vue}": [
+ "vue-cli-service lint",
+ "git add"
+ ]
+ }
+}