Skip to content

Commit

Permalink
chore: allowing root postinstall and running allow-scripts on npm run…
Browse files Browse the repository at this point in the history
… setup
  • Loading branch information
andreabadesso committed Jan 30, 2024
1 parent 9599baf commit 752c1db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ See the instructions to run on (Windows)[./WINDOWS.md].

## Install

`npm install`
`npm run setup`

### Check SES integrity

The SES lockdown file should match the commited sha256 sum

`sha256sum -c SHA256SUMS`

### Podfile install for iOS

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"start:clean": "react-native start --reset-cache",
"lint": "eslint .",
"test": "jest",
"setup": "npm install && ./node_modules/.bin/allow-scripts",
"locale-update-pot": "ttag extract -o ./locale/texts.pot ./src/",
"postinstall": "rn-nodeify --install stream,process,path,events,crypto,console,buffer --hack"
},
Expand Down Expand Up @@ -137,7 +138,7 @@
},
"lavamoat": {
"allowScripts": {
"$root$": false,
"$root$": true,
"@fortawesome/fontawesome-svg-core": false,
"@fortawesome/fontawesome-svg-core>@fortawesome/fontawesome-common-types": false,
"@fortawesome/free-regular-svg-icons": false,
Expand Down

0 comments on commit 752c1db

Please sign in to comment.