54f293157b
1. Unskip some trivial tests that were being tested higher up 2. Istanbul ignore some code for coverage. 1. Things that I didn't write and need to 100% follow 2. The source code checking test that has Istanbul code injected into it 3. Add a few simple test cases 4. Support passing port numbers through to `ember serve` and `ember test` for use cases that would benefit from being able to configure the ports things are served over but still use `yarn run` thus reusing the `yarn run` config in `package.json`
108 lines
3.5 KiB
JSON
108 lines
3.5 KiB
JSON
{
|
|
"name": "consul-ui",
|
|
"version": "2.2.0",
|
|
"private": true,
|
|
"description": "The web UI for Consul, by HashiCorp.",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"repository": "",
|
|
"scripts": {
|
|
"build": "ember build --environment production",
|
|
"lint:dev:js": "eslint -c .dev.eslintrc.js --fix ./*.js ./.*.js app config lib server tests",
|
|
"lint:js": "eslint -c .eslintrc.js --fix ./*.js ./.*.js app config lib server tests",
|
|
"format:js": "prettier --write \"{app,config,lib,server,tests}/**/*.js\" ./*.js ./.*.js",
|
|
"start": "ember serve --port=${EMBER_SERVE_PORT:-4200} --live-reload-port=${EMBER_LIVE_RELOAD_PORT:-7020}",
|
|
"start:api": "api-double --dir ./node_modules/@hashicorp/consul-api-double",
|
|
"test": "ember test --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:view": "ember test --server --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:coverage": "COVERAGE=true ember test --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:view:coverage": "COVERAGE=true ember test --server --test-port=${EMBER_TEST_PORT:-7357}"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{app,config,lib,server,tests}/**/*.js": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"app/styles/**/*.*": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@hashicorp/consul-api-double": "^2.0.1",
|
|
"@hashicorp/ember-cli-api-double": "^1.3.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"base64-js": "^1.3.0",
|
|
"broccoli-asset-rev": "^2.4.5",
|
|
"dart-sass": "^1.14.1",
|
|
"ember-ajax": "^3.0.0",
|
|
"ember-block-slots": "^1.1.11",
|
|
"ember-browserify": "^1.2.2",
|
|
"ember-changeset-validations": "^1.2.11",
|
|
"ember-cli": "~2.18.2",
|
|
"ember-cli-app-version": "^3.0.0",
|
|
"ember-cli-autoprefixer": "^0.8.1",
|
|
"ember-cli-babel": "^6.6.0",
|
|
"ember-cli-cjs-transform": "^1.2.0",
|
|
"ember-cli-clipboard": "^0.9.0",
|
|
"ember-cli-code-coverage": "^1.0.0-beta.4",
|
|
"ember-cli-dependency-checker": "^2.0.0",
|
|
"ember-cli-eslint": "^4.2.1",
|
|
"ember-cli-flash": "^1.6.3",
|
|
"ember-cli-htmlbars": "^2.0.1",
|
|
"ember-cli-htmlbars-inline-precompile": "^1.0.0",
|
|
"ember-cli-inject-live-reload": "^1.4.1",
|
|
"ember-cli-page-object": "^1.15.0-beta.2",
|
|
"ember-cli-qunit": "^4.1.1",
|
|
"ember-cli-sass": "^8.0.1",
|
|
"ember-cli-shims": "^1.2.0",
|
|
"ember-cli-sri": "^2.1.0",
|
|
"ember-cli-string-helpers": "^1.9.0",
|
|
"ember-cli-uglify": "^2.0.0",
|
|
"ember-cli-yadda": "^0.5.0",
|
|
"ember-collection": "^1.0.0-alpha.9",
|
|
"ember-composable-helpers": "^2.1.0",
|
|
"ember-computed-style": "^0.3.0",
|
|
"ember-data": "^3.0.2",
|
|
"ember-export-application-global": "^2.0.0",
|
|
"ember-href-to": "^1.15.1",
|
|
"ember-inflector": "^3.0.0",
|
|
"ember-load-initializers": "^1.0.0",
|
|
"ember-math-helpers": "^2.4.0",
|
|
"ember-power-select": "^2.0.2",
|
|
"ember-power-select-with-create": "^0.6.0",
|
|
"ember-resolver": "^4.0.0",
|
|
"ember-sinon-qunit": "^2.1.0",
|
|
"ember-source": "~2.18.2",
|
|
"ember-test-selectors": "^1.0.0",
|
|
"ember-truth-helpers": "^2.0.0",
|
|
"ember-url": "^0.6.0",
|
|
"eslint-plugin-ember": "^5.0.0",
|
|
"husky": "^1.1.0",
|
|
"ivy-codemirror": "^2.1.0",
|
|
"lint-staged": "^7.0.0",
|
|
"loader.js": "^4.2.3",
|
|
"node-sass": "^4.9.3",
|
|
"prettier": "^1.10.2",
|
|
"svgo": "^1.0.5",
|
|
"text-encoding": "^0.6.4",
|
|
"js-yaml": "^3.12.0",
|
|
"jsonlint": "^1.6.3"
|
|
},
|
|
"engines": {
|
|
"node": "^4.5 || 6.* || >= 7.*"
|
|
},
|
|
"ember-addon": {
|
|
"paths": [
|
|
"lib/startup"
|
|
]
|
|
}
|
|
}
|