Auto-generate third-party license notices (#370)

Closes #294
Closes #371
This commit is contained in:
Keavon Chambers
2021-09-06 06:57:35 -07:00
parent 208e4bbba3
commit fc7d3aa457
8 changed files with 306 additions and 14 deletions

View File

@@ -4,10 +4,10 @@
"description": "Graphite's web app frontend. Planned to be replaced by a native GUI written in Rust in the future.",
"private": true,
"scripts": {
"serve": "vue-cli-service serve || npm install && vue-cli-service serve",
"build": "vue-cli-service build || npm install && vue-cli-service build",
"serve": "vue-cli-service serve || (npm install && vue-cli-service serve)",
"build": "cd .. && cargo install cargo-about && cargo about generate about.hbs > frontend/rust-licenses.js && cd frontend && (vue-cli-service build || (npm install && vue-cli-service build))",
"lint": "vue-cli-service lint || (npm install && vue-cli-service lint)",
"lint-no-fix": "vue-cli-service lint --no-fix || (echo 'Please run `npm run lint`. If the linter execution fails, try running `npm install` first.' && false)"
"lint-no-fix": "vue-cli-service lint --no-fix || (echo 'There were lint errors. Please run `npm run lint` to fix auto-them. If the linter execution fails, try running `npm install` first.' && false)"
},
"repository": {
"type": "git",
@@ -34,6 +34,7 @@
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier-vue": "^3.1.0",
"eslint-plugin-vue": "^7.17.0",
"license-checker-webpack-plugin": "^0.2.1",
"prettier": "^2.3.2",
"sass": "^1.39.0",
"sass-loader": "^8.0.2",