summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-18 13:05:49 +1100
committerGitHub <noreply@github.com>2023-01-18 13:05:49 +1100
commitb58cea7c41279ccbe0be1407348388867dc583fe (patch)
tree7ded4d101a299da8f6a875f8773322e84cd212d4 /package.json
parentsend GUILD_CREATE after READY event (#938) (diff)
downloadserver-b58cea7c41279ccbe0be1407348388867dc583fe.tar.xz
Script to add license preamble to each file. Also, does that. (#935)
* Add script to automatically add license to each file

* Add license preamble to each file.

* Fix existing preamble detection breaking due to line endings. Git :(

* Prevent license from being added to code with other licenses
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 1a6b9f6f..61791697 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
 		"generate:changelog": "node scripts/changelog.js",
 		"generate:migration": "node -r dotenv/config -r module-alias/register node_modules/typeorm/cli.js migration:generate -d dist/util/util/Database.js",
 		"generate:openapi": "node scripts/openapi.js",
+		"add:license": "node scripts/license.js",
 		"migrate-from-staging": "node -r dotenv/config -r module-alias/register scripts/stagingMigration/index.js"
 	},
 	"main": "dist/bundle/index.js",