-
- Downloads
Switch from license-checker to rollup-plugin-license
The rollup plugin knows which modules end up in our final bundle and which are relevant for license checks. This also updates all vendored packages which got a license now. Because the license check takes 0.4s we'll only do it in non-watch mode.
Showing
- package-lock.json 131 additions, 221 deletionspackage-lock.json
- package.json 6 additions, 5 deletionspackage.json
- rollup.config.js 19 additions, 1 deletionrollup.config.js
- vendor/app-shell 1 addition, 1 deletionvendor/app-shell
- vendor/auth 1 addition, 1 deletionvendor/auth
- vendor/common 1 addition, 1 deletionvendor/common
- vendor/file-upload 1 addition, 1 deletionvendor/file-upload
- vendor/language-select 1 addition, 1 deletionvendor/language-select
- vendor/notification 1 addition, 1 deletionvendor/notification
- vendor/person-profile 1 addition, 1 deletionvendor/person-profile
... | ... | @@ -2,6 +2,7 @@ |
"name": "vpu-signature", | ||
"version": "1.0.0", | ||
"main": "src/vpu-signature.js", | ||
"license": "LGPL-2.1-or-later", | ||
"devDependencies": { | ||
"@babel/core": "^7.9.6", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
... | ... | @@ -27,18 +28,19 @@ |
"karma-chrome-launcher": "^3.1.0", | ||
"karma-firefox-launcher": "^1.3.0", | ||
"karma-mocha": "^2.0.1", | ||
"license-checker": "^25.0.1", | ||
"mocha": "^7.1.2", | ||
"puppeteer": "^2.0.0", | ||
"rollup": "^2.7.5", | ||
"rollup": "^2.9.1", | ||
"rollup-plugin-consts": "^1.0.2", | ||
"rollup-plugin-copy": "^3.3.0", | ||
"rollup-plugin-delete": "^1.2.0", | ||
"rollup-plugin-emit-ejs": "^3.0.0", | ||
"rollup-plugin-license": "^2.0.0", | ||
"rollup-plugin-node-builtins": "^2.1.2", | ||
"rollup-plugin-serve": "^1.0.1", | ||
"rollup-plugin-terser": "^5.2.0", | ||
"selfsigned": "^1.10.7" | ||
"selfsigned": "^1.10.7", | ||
"spdx-satisfies": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@open-wc/scoped-elements": "^1.1.1", | ||
... | ... | @@ -72,7 +74,6 @@ |
"watch-local": "rollup -c --watch", | ||
"watch-dev": "rollup -c --watch --environment BUILD:development", | ||
"test": "npm run build-test && karma start --singleRun", | ||
"lint": "eslint .", | ||
"license-checker": "license-checker --production --onlyAllow 'MIT;BSD-3-Clause;ISC;Apache-2.0;BSD-2-Clause' --excludePackages 'vpu-auth@1.0.0;vpu-common@1.0.1;vpu-data-table-view@1.0.0;vpu-knowledge-base-web-page-element-view@1.0.0;vpu-signature@1.0.0;vpu-language-select@1.0.0;vpu-signature-book-offer-select@1.0.0;vpu-notification@1.0.0;vpu-person-profile@1.0.0;vpu-person-select@1.0.0'" | ||
"lint": "eslint ." | ||
} | ||
} |
Please register or sign in to comment