Files
threshold-ui/package.json
T

67 lines
2.3 KiB
JSON

{
"private": true,
"description": "Monorepo for Boundary UIs and addons.",
"license": "MPL-2.0",
"author": "HashiCorp",
"workspaces": {
"packages": [
"addons/*",
"ui/*"
],
"nohoist": [
"**/electron",
"**/electron/**",
"**/electron*/**",
"**/electron*"
]
},
"scripts": {
"build": "yarn build:ui:admin",
"build:ui:admin": "cd ui/admin && yarn build",
"build:ui:desktop": "cd ui/desktop && yarn build",
"lint": "npm-run-all lint:*",
"lint:addons-api": "cd addons/api && yarn lint",
"lint:addons-auth": "cd addons/auth && yarn lint",
"lint:addons-core": "cd addons/core && yarn lint",
"lint:addons-rose": "cd addons/rose && yarn lint",
"lint:ui-admin": "cd ui/admin && yarn lint",
"lint:ui-desktop": "cd ui/desktop && yarn lint",
"test": "npm-run-all test:*",
"test:addons-api": "cd addons/api && yarn test",
"test:addons-auth": "cd addons/auth && yarn test",
"test:addons-core": "cd addons/core && yarn test",
"test:addons-rose": "cd addons/rose && yarn test",
"test:ui-admin": "cd ui/admin && yarn test",
"test:ui-desktop": "cd ui/desktop && yarn test",
"compliance:audit": "bash ./scripts/yarn-audit.sh",
"precommit": "yarn compliance:licenses && yarn compliance:audit && yarn lint && yarn test",
"commit": "git-cz",
"compliance:licenses": "license-checker --onlyAllow 'Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'boundary-ui;admin@0.0.0;desktop@0.0.0;base64-js@0.0.2'",
"doc:toc": "doctoc README.md"
},
"devDependencies": {
"cz-conventional-changelog": "^3.1.0",
"doctoc": "^1.4.0",
"git-cz": "^4.3.1",
"license-checker": "^25.0.1"
},
"resolutions": {
"bl": "~1.2.3",
"tough-cookie": "~2.3.3",
"npm": "~6.14.6",
"yargs-parser": "~13.1.2",
"npm-registry-fetch": "~8.1.1",
"request": "~2.68.0",
"tunnel-agent": "~0.6.0",
"cryptiles": "~4.1.2",
"prismjs": "~1.21.0",
"npm-user-validate": "^1.0.1",
"caniuse-lite": "^1.0.30001157"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}