open-vault/ui/package.json
claire bontempo c9eb55cc16
UI/bar chart horizontal (#12437)
* creates bar chart component

* WIP//starts styling

* fixes width of bars

* WIP//barchart

* uses d3 max method instead of Math.max

* stacks data

* adds y axis

* fixes styling and spacing

* adds spacing between bars

* styling DONE

* adds legend

* adds tooltip

* tweaks styling adds pointer cursor to rects

* fixes tooltip placement

* moves starget from bar to whole area

* finishes hover selection styling

* cleans up

* cleans up a tiny bit

* stopping point

* adjusts tooltip placemnt

* WIP//clean up time

* sort of not broken

* unbroken, ish

* tooltip position fixed

* truncates text and adds tooltip

* changes tooltip width depending on content

* unbroken

* finishes initial refactor/cleanup

* finishes documentation

* passes in map legend to component

* more tidying

* add export option

* adds grid to header for export button option

* updates comments

* fix variable name change

* moves dataset formatting to parent

* removes unused code"

* adds assertions and empty state if no data

* cleans up comments adds assertion to check for map legend

* adds storybook

* adds changelog

* deletes dummy parent:

* restores index.hbs

* uses scss variables instead

* exchanges more variables

* remove unused variable in storybook

* writes basic test

* removes pauseTest()
2021-09-07 12:54:33 -07:00

218 lines
7.3 KiB
JSON

{
"name": "vault",
"version": "0.0.0",
"description": "The official UI for Vault by HashiCorp",
"repository": "",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build --environment=production",
"build:dev": "ember build",
"lint:hbs": "ember-template-lint app/**/* lib/**/*",
"lint:js": "eslint .",
"fmt": "yarn run fmt-js && yarn run fmt-styles",
"fmt:js": "prettier-eslint --single-quote --no-use-tabs --trailing-comma es5 --print-width=110 --write '{app,tests,config,lib}/**/*.js'",
"fmt:styles": "prettier --write app/styles/**/*.*",
"start": "export VAULT_ADDR=http://localhost:8200; ember server --proxy=$VAULT_ADDR",
"start2": "ember server --proxy=http://localhost:8202 --port=4202",
"test": "yarn lint:js && node scripts/start-vault.js",
"test:oss": "yarn run test -f='!enterprise'",
"test:browserstack": "export CI=true; node scripts/start-vault.js --browserstack",
"test:quick": "node scripts/start-vault.js",
"test:quick-oss": "yarn test:quick -f='!enterprise'",
"build:storybook": "build-storybook -s ../http/web_ui",
"storybook": "start-storybook -p 6006 -s ../http/web_ui",
"deploy:storybook": "yarn build && yarn build:storybook",
"gen-story-md": "node scripts/gen-story-md.js",
"vault": "VAULT_REDIRECT_ADDR=http://127.0.0.1:8200 vault server -log-level=error -dev -dev-root-token-id=root -dev-ha -dev-transactional",
"vault:cluster": "VAULT_REDIRECT_ADDR=http://127.0.0.1:8202 vault server -log-level=error -dev -dev-root-token-id=root -dev-listen-address=127.0.0.1:8202 -dev-ha -dev-transactional"
},
"lint-staged": {
"*.js": [
"prettier-eslint --single-quote --no-use-tabs --trailing-comma es5 --print-width 110 --write",
"git add"
],
"*.scss": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-block-scoping": "^7.12.1",
"@ember/optional-features": "^2.0.0",
"@ember/render-modifiers": "^1.0.2",
"@glimmer/component": "^1.0.2",
"@glimmer/tracking": "^1.0.2",
"@hashicorp/structure-icons": "^1.3.0",
"@icholy/duration": "^5.1.0",
"@storybook/ember-cli-storybook": "^0.4.0",
"autosize": "^4.0.0",
"babel-eslint": "^10.1.0",
"base64-js": "^1.3.1",
"broccoli-asset-rev": "^3.0.0",
"broccoli-sri-hash": "meirish/broccoli-sri-hash#rooturl",
"bulma": "^0.5.2",
"bulma-switch": "^0.0.1",
"codemirror": "^5.58.2",
"columnify": "^1.5.4",
"cool-checkboxes-for-bulma.io": "^1.1.0",
"d3-axis": "^1.0.8",
"d3-ease": "^1.0.5",
"d3-scale": "^1.0.7",
"d3-selection": "^1.3.0",
"d3-time-format": "^2.1.1",
"d3-tip": "^0.9.1",
"d3-transition": "^1.2.0",
"date-fns": "^2.16.1",
"deepmerge": "^4.0.0",
"doctoc": "^1.4.0",
"ember-api-actions": "^0.2.8",
"ember-auto-import": "^1.7.0",
"ember-basic-dropdown": "^1.0.0",
"ember-basic-dropdown-hover": "^0.6.0",
"ember-cli": "~3.22.0",
"ember-cli-autoprefixer": "^0.8.1",
"ember-cli-babel": "^7.23.0",
"ember-cli-browserstack": "^1.1.0",
"ember-cli-clipboard": "^0.13.0",
"ember-cli-content-security-policy": "^1.0.0",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-deprecation-workflow": "^1.0.1",
"ember-cli-element-closest-polyfill": "^0.0.1",
"ember-cli-flash": "^1.7.2",
"ember-cli-htmlbars": "^5.3.1",
"ember-cli-inject-live-reload": "^2.0.2",
"ember-cli-mirage": "^1.1.8",
"ember-cli-page-object": "^1.17.0",
"ember-cli-sass": "^10.0.1",
"ember-cli-sri": "meirish/ember-cli-sri#rooturl",
"ember-cli-string-helpers": "^4.0.0",
"ember-cli-terser": "^4.0.0",
"ember-composable-helpers": "^4.3.0",
"ember-concurrency": "^2.1.2",
"ember-concurrency-test-waiter": "^0.3.2",
"ember-copy": "^1.0.0",
"ember-cp-validations": "^4.0.0-beta.12",
"ember-d3": "^0.5.1",
"ember-data": "~3.22.0",
"ember-data-model-fragments": "5.0.0-beta.0",
"ember-engines": "^0.8.3",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.2",
"ember-inflector": "^3.0.0",
"ember-link-action": "^1.0.0",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-maybe-in-element": "^0.4.0",
"ember-power-select-with-create": "^0.6.2",
"ember-promise-helpers": "^1.0.9",
"ember-qunit": "^4.6.0",
"ember-radio-button": "^2.0.1",
"ember-resolver": "^8.0.2",
"ember-responsive": "^3.0.0-beta.3",
"ember-router-helpers": "^0.2.0",
"ember-service-worker": "meirish/ember-service-worker#configurable-scope",
"ember-sinon": "^4.0.0",
"ember-source": "~3.22.0",
"ember-svg-jar": "^2.1.0",
"ember-template-lint": "^2.14.0",
"ember-test-selectors": "^2.1.0",
"ember-truth-helpers": "^2.1.0",
"ember-wormhole": "^0.5.5",
"escape-string-regexp": "^2.0.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-ember": "^9.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.0",
"filesize": "^4.2.1",
"flat": "^4.1.0",
"ivy-codemirror": "IvyApp/ivy-codemirror#fb09333c5144da47e14a9e6260f80577d5408374",
"jsonlint": "^1.6.3",
"loader.js": "^4.7.0",
"node-sass": "^4.10.0",
"normalize.css": "4.1.1",
"pretender": "^3.4.3",
"prettier": "~1.18.2",
"prettier-eslint-cli": "^5.0.0",
"qunit-dom": "^1.5.0",
"route-recognizer": "^0.3.4",
"sass": "^1.29.0",
"sass-svg-uri": "^1.0.0",
"shell-quote": "^1.6.1",
"string.prototype.endswith": "^0.2.0",
"string.prototype.startswith": "^0.2.0",
"swagger-ui-dist": "^3.36.2",
"text-encoder-lite": "2.0.0",
"walk-sync": "^2.0.2",
"xstate": "^3.3.3",
"yargs-parser": "^13.1.1"
},
"optionalDependencies": {
"@babel/core": "^7.12.3",
"@storybook/addon-knobs": "^6.1.17",
"@storybook/addon-links": "^6.1.17",
"@storybook/addon-notes": "^5.3.19",
"@storybook/addon-viewport": "^6.1.17",
"@storybook/addons": "^6.1.17",
"@storybook/ember": "^6.1.17",
"babel-loader": "^8.1.0",
"jsdoc-to-markdown": "^5.0.0",
"lint-staged": "^10.5.1"
},
"resolutions": {
"cryptiles": "^4.1.2",
"eslint-utils": "^1.4.1",
"growl": "^1.10.0",
"handlebars": "^4.3.0",
"highlight.js": "^10.4.1",
"https-proxy-agent": "^2.2.3",
"ini": "^1.3.6",
"jquery": "^3.5.0",
"js-yaml": "^3.13.1",
"kind-of": "^6.0.3",
"lodash.defaultsdeep": "^4.6.1",
"lodash.merge": "^4.6.2",
"lodash": "^4.17.13",
"minimatch": "^3.0.2",
"minimist": "^1.2.2",
"node-notifier": "^8.0.1",
"prismjs": "^1.21.0",
"qs": "^6.3.0",
"serialize-javascript": "^3.1.0",
"yargs-parser": "^13.1.2",
"underscore": "^1.12.1",
"trim": "^0.0.3",
"xmlhttprequest-ssl": "^1.6.2"
},
"engines": {
"node": "14.*"
},
"ember": {
"edition": "octane"
},
"private": true,
"ember-addon": {
"paths": [
"lib/core",
"lib/css",
"lib/kmip",
"lib/open-api-explorer",
"lib/replication",
"lib/service-worker-authenticated-download"
]
},
"dependencies": {
"handlebars": "^4.3.0",
"highlight.js": "^10.4.1",
"jquery": "^3.5.0",
"js-yaml": "^3.13.1",
"lodash": "^4.17.13",
"node-notifier": "^8.0.1"
}
}