mirror of
https://github.com/nasa/openmct.git
synced 2025-04-10 12:50:15 +00:00
Script to update all copyright dates - Mct4532 (#4715)
* wrote little script * wrote little script * added script to update copyright * include html * include md * update script * captures all copyright now Co-authored-by: John Hill <john.c.hill@nasa.gov>
This commit is contained in:
parent
19b3be7ec0
commit
05b73bb654
@ -103,6 +103,8 @@
|
||||
"test:watch": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" karma start --no-single-run",
|
||||
"verify": "concurrently 'npm:test' 'npm:lint'",
|
||||
"jsdoc": "jsdoc -c jsdoc.json -R API.md -r -d dist/docs/api",
|
||||
"update-about-dialog-copyright": "perl -pi -e 's/20\\d\\d\\-202\\d/2014\\-2022/gm' ./src/ui/layout/AboutDialog.vue",
|
||||
"update-copyright-date": "npm run update-about-dialog-copyright && grep -lr --null --include=*.{js,scss,vue,ts,sh,html,md,frag} 'Copyright (c) 20' . | xargs -r0 perl -pi -e 's/Copyright\\s\\(c\\)\\s20\\d\\d\\-202\\d/Copyright \\(c\\)\\ 2014\\-2022/gm'",
|
||||
"otherdoc": "node docs/gendocs.js --in docs/src --out dist/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
|
||||
"docs": "npm run jsdoc ; npm run otherdoc",
|
||||
"prepare": "npm run build:prod"
|
||||
|
Loading…
x
Reference in New Issue
Block a user