Skip to content

Commit d3ea26f

Browse files
authored
add license checker (#6715)
* add license checker * add command to package.json * Merge branch 'master' into licne
1 parent 53a4027 commit d3ea26f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"format-frontend": "node_modules/.bin/prettier --write --config .prettierrc \"frontend/javascripts/**/*.ts\" \"frontend/javascripts/**/*.tsx\" \"tools/**/*.js\"",
122122
"format-backend": "sbt \";scalafmt; util/scalafmt; webknossosTracingstore/scalafmt; webknossosDatastore/scalafmt\"",
123123
"lint-backend": "sbt \";scapegoat\"",
124+
"licenses-backend": "sbt dumpLicenseReport",
124125
"am-i-pretty": "node_modules/.bin/prettier --list-different --config .prettierrc \"frontend/javascripts/**/*.ts\" \"frontend/javascripts/**/*.tsx\" \"tools/**/*.js\"",
125126
"docs": "node_modules/.bin/documentation build --shallow frontend/javascripts/oxalis/api/api_loader.ts frontend/javascripts/oxalis/api/api_latest.ts --github --project-name \"webKnossos Frontend API\" --format html --output public/docs/frontend-api",
126127
"refresh-schema": "./tools/postgres/refresh_schema.sh && rm -f target/scala-2.12/src_managed/schema/com/scalableminds/webknossos/schema/Tables.scala",

project/license.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("com.typesafe.sbt" % "sbt-license-report" % "1.2.0")

0 commit comments

Comments
 (0)