e2e5e16ff2
* ci: break config into separate files * Untangle githooks * githooks: fix whitespace * .hooks/pre-commit: add ui -> lint-staged check - We no longer require dependency on husky with this change. * ui: remove husky dependency and config - The previous commit obviates the need for it. - We will now have to manage these hooks by hand, but this removes the conflict between husky-installed hooks and those in the .hooks dir. * ui: update yarn.lock with husky removed * .hooks/pre-commit: always use subshell + docs - Always use subshell means we consistently exit from the same place which feels less complex. - Docs are necessary for horrible bash like this I think... * Makefile: remove old husky githooks - Husky has installed a handler for every single git hook. - This causes warnings on every git operation. - Eventually we can remove this, but better not to confuse people with these messages for now. * ci: fix go build tags * Makefile: improve compatibility of rm call - Looks like the xargs in Travis does something different to the one on my mac, this more verbose call should be safe everywhere. * ci: fix make target names * ci: fix test-ui invocation * Makefile: simplify husky hook cleanup * ci: more focussed readme
158 lines
5.4 KiB
JSON
158 lines
5.4 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 -prod",
|
|
"build-dev": "ember build",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"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": "node scripts/start-vault.js & yarn run lint:js & ember test",
|
|
"test:browserstack": "export CI=true; node scripts/start-vault.js & node scripts/run-browserstack-tests.js",
|
|
"test-oss": "yarn run test -f='!enterprise'",
|
|
"test-quick": "node scripts/start-vault.js & ember test",
|
|
"test-quick-oss": "yarn run test-quick -f='!enterprise'",
|
|
"build-storybook": "build-storybook -s ../pkg/web_ui",
|
|
"storybook": "start-storybook -p 6006 -s ../pkg/web_ui",
|
|
"gen-story-md": "node scripts/gen-story-md.js"
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.js": [
|
|
"prettier-eslint --single-quote --no-use-tabs --trailing-comma es5 --print-width 110 --write",
|
|
"git add"
|
|
],
|
|
"*.scss": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@ember/jquery": "^0.5.2",
|
|
"@ember/optional-features": "^0.6.3",
|
|
"@hashicorp/structure-icons": "^1.3.0",
|
|
"Duration.js": "icholy/Duration.js#golang_compatible",
|
|
"autosize": "^4.0.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"base64-js": "1.2.1",
|
|
"broccoli-asset-rev": "^2.7.0",
|
|
"broccoli-sri-hash": "meirish/broccoli-sri-hash#rooturl",
|
|
"bulma": "^0.5.2",
|
|
"bulma-switch": "^0.0.1",
|
|
"codemirror": "5.15.2",
|
|
"columnify": "^1.5.4",
|
|
"cool-checkboxes-for-bulma.io": "^1.1.0",
|
|
"date-fns": "^1.29.0",
|
|
"deepmerge": "^2.1.1",
|
|
"doctoc": "^1.4.0",
|
|
"ember-ajax": "^3.1.0",
|
|
"ember-api-actions": "^0.1.8",
|
|
"ember-auto-import": "^1.2.3",
|
|
"ember-basic-dropdown": "^1.0.0",
|
|
"ember-basic-dropdown-hover": "^0.5.0",
|
|
"ember-cli": "~3.5.1",
|
|
"ember-cli-autoprefixer": "^0.8.1",
|
|
"ember-cli-babel": "^6.16.0",
|
|
"ember-cli-browserstack": "^0.0.7",
|
|
"ember-cli-clipboard": "^0.8.0",
|
|
"ember-cli-content-security-policy": "^1.0.0",
|
|
"ember-cli-dependency-checker": "^3.0.0",
|
|
"ember-cli-deprecation-workflow": "^1.0.1",
|
|
"ember-cli-flash": "1.7.1",
|
|
"ember-cli-htmlbars": "^3.0.0",
|
|
"ember-cli-htmlbars-inline-precompile": "^1.0.3",
|
|
"ember-cli-inject-live-reload": "^1.8.2",
|
|
"ember-cli-page-object": "^1.15.3",
|
|
"ember-cli-pretender": "^1.0.1",
|
|
"ember-cli-sass": "^9.0.0",
|
|
"ember-cli-sri": "meirish/ember-cli-sri#rooturl",
|
|
"ember-cli-string-helpers": "^1.5.0",
|
|
"ember-cli-template-lint": "^1.0.0-beta.1",
|
|
"ember-cli-uglify": "^2.1.0",
|
|
"ember-composable-helpers": "^2.0.3",
|
|
"ember-computed-query": "^0.1.1",
|
|
"ember-concurrency": "^0.10.0",
|
|
"ember-concurrency-test-waiter": "^0.3.1",
|
|
"ember-copy": "^1.0.0",
|
|
"ember-data": "~3.4.0",
|
|
"ember-data-model-fragments": "^3.3.0",
|
|
"ember-engines": "^0.7.0",
|
|
"ember-export-application-global": "^2.0.0",
|
|
"ember-fetch": "^6.1.0",
|
|
"ember-inflector": "^3.0.0",
|
|
"ember-link-action": "^0.1.2",
|
|
"ember-load-initializers": "^1.1.0",
|
|
"ember-maybe-import-regenerator": "^0.1.6",
|
|
"ember-maybe-in-element": "^0.1.3",
|
|
"ember-power-select-with-create": "cibernox/ember-power-select-with-create#6203918f247c1c5d692db4f9185ab8321d2125e1",
|
|
"ember-qunit": "^4.4.1",
|
|
"ember-radio-button": "^1.1.1",
|
|
"ember-resolver": "^5.0.1",
|
|
"ember-responsive": "^3.0.0-beta.3",
|
|
"ember-sinon": "^1.0.1",
|
|
"ember-source": "~3.4.0",
|
|
"ember-svg-jar": "^1.2.2",
|
|
"ember-test-selectors": "^2.1.0",
|
|
"ember-truth-helpers": "^2.1.0",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-prettier": "^3.1.0",
|
|
"eslint-plugin-ember": "^6.3.0",
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
"flat": "^4.1.0",
|
|
"ivy-codemirror": "2.1.0",
|
|
"jsonlint": "1.6.0",
|
|
"loader.js": "^4.7.0",
|
|
"node-sass": "^4.10.0",
|
|
"normalize.css": "4.1.1",
|
|
"prettier": "^1.14.3",
|
|
"prettier-eslint-cli": "^4.7.1",
|
|
"qunit-dom": "^0.7.1",
|
|
"route-recognizer": "^0.3.4",
|
|
"sass-svg-uri": "^1.0.0",
|
|
"string.prototype.endswith": "^0.2.0",
|
|
"string.prototype.startswith": "^0.2.0",
|
|
"text-encoder-lite": "1.0.0",
|
|
"walk-sync": "^0.3.3",
|
|
"xstate": "^3.3.3",
|
|
"yargs-parser": "^13.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@babel/core": "^7.3.4",
|
|
"@storybook/addon-knobs": "^5.0.5",
|
|
"@storybook/addon-links": "^5.0.5",
|
|
"@storybook/addon-notes": "^5.0.5",
|
|
"@storybook/addon-viewport": "^5.0.5",
|
|
"@storybook/addons": "^5.0.5",
|
|
"@storybook/ember": "^5.0.5",
|
|
"@storybook/ember-cli-storybook": "meirish/ember-cli-storybook#6bd58326d8c21e986d390b541ae5e49089d61b93",
|
|
"babel-loader": "^8.0.5",
|
|
"jsdoc-to-markdown": "^4.0.1",
|
|
"lint-staged": "^8.0.4"
|
|
},
|
|
"engines": {
|
|
"node": " >= 10.*"
|
|
},
|
|
"private": true,
|
|
"ember-addon": {
|
|
"paths": [
|
|
"lib/core",
|
|
"lib/css",
|
|
"lib/replication"
|
|
]
|
|
},
|
|
"dependencies": {}
|
|
}
|