Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@skyscanner/backpack-react-scripts
Advanced tools
Backpack configuration and scripts for Create React App.
backpack-react-scripts
is up to v5+
. Versions above this may not work.This package is a fork of Create React App (specifically the
react-scripts
package). It's intended to be used in conjuction with create-react-app
like so:
npx create-react-app my-app --scripts-version=@skyscanner/backpack-react-scripts --template @skyscanner/backpack --use-npm
# start your app development like you normally would with `create-react-app`
cd my-app
npm start
@skyscanner/cra-template-backpack
.css
& .scss
files.css.html
& js.html
: New files in the build/
output folder. These are html partials that include <script />
and <link />
references to the various static assets output by webpack. Useful if automatic chunking is turned on and you don't want to worry about order."backpack-react-scripts"
field in package.json
:
crossOriginLoading
: Modify the default behaviour, see docs.babelIncludePrefixes
: An array of module name prefixes to opt into babel compilation. Includes ["@skyscanner/bpk-", "bpk-"]
by default.enableAutomaticChunking
: Boolean, opt in to automatic chunking of vendor, common and app code.vendorsChunkRegex
: String, Regex for picking what goes into the vendors
chunk. See cacheGroups
in webpack docs. Dependent on enableAutomaticChunking
being enabledamdExcludes
: Array of module names to exclude from AMD parsing. Incldues ["lodash"]
by default.externals
: exposing the Webpack config to modify externals, see docs.ssrExternals
: Similar to above, but for ssr.js
only.cssModules
: Boolean, true by default.sriEnabled
: Sets if SRI is to be used during build to add integrity hash for files, see docs.
crossOriginLoading
value is overriden with anonymous
in order for it to output with the integrity value.ignoreCssWarnings
: Boolean, false by default. Allows the ability to supress CSS ordering issues when its safe to allow mixed order when it has not effect on output, see docs. False by defaultFAQs
Backpack configuration and scripts for Create React App.
The npm package @skyscanner/backpack-react-scripts receives a total of 96 weekly downloads. As such, @skyscanner/backpack-react-scripts popularity was classified as not popular.
We found that @skyscanner/backpack-react-scripts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.