1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Add .npmrc to stop generating package lock file (#3814)

This commit is contained in:
Manish Jethani 2021-08-13 21:19:52 +05:30 committed by GitHub
parent daff6b3a34
commit a56f43f007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
platform/nodejs/.npmrc Normal file
View File

@ -0,0 +1 @@
package-lock=false

View File

@ -52,6 +52,7 @@ node -pe "JSON.stringify(fs.readFileSync('$THIRDPARTY/easylist.txt', 'utf8'))" \
node -pe "JSON.stringify(fs.readFileSync('$THIRDPARTY/easyprivacy.txt', 'utf8'))" \
> $DES/data/easyprivacy.json
cp platform/nodejs/.npmrc $DES/
cp platform/nodejs/.*.json $DES/
cp platform/nodejs/*.js $DES/
cp platform/nodejs/*.json $DES/