@gooddata/frontend-npm-scripts
v1.3.0
Published
A collection of helper scripts used for processing the frontend codebase.
Downloads
2,456
Maintainers
Keywords
Readme
frontend-npm-scripts
This is a collection of various npm scripts used throughout our frontend codebase in package.json
s.
They usually do some sort of pre- or post-processing on frontend code files, the scripts' behavior is described below.
Development
Install Node.js (node 12.16.1, npm v6.13.4) and Yarn 1.22.4.
Install dependencies:
yarn install --frozen-lockfile
copyrightFix.js
Updates the copyright header in JS/TS(X) and SCSS files if needed according to our internal copyright specification. If there is no copyright on line 1, it automatically adds the default one. Watch out: this applies also to files which contain copyrights on other lines! Usage (if this package is installed):
$ gdc-fix-copyright [FILE1] [FILE2] ...
License
Copyright © GoodData Corporation 2019, All rights reserved
No license granted. Unauthorized copying, modification, distribution, or use of this file is strictly prohibited.