node package manager

sharetribe-scripts

Opinionated react-scripts fork with a CSS setup and a UMD output for server side.

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

Changes to create-react-app

In this fork, we have the following changes:

  • Support for CSS modules using the modules option in css-loader
  • PostCSS setup
    • cssnext
    • Shared variables in src/styles/variables.js in the application
    • postcss-import for inlining @import rules in CSS files
  • Build as an UMD module to import the bundle for server side rendering
  • Rename package as sharetribe-scripts to be able to publish it to NPM
  • Use eslint-config-sharetribe ESLint configuration instead of the default eslint-config-react-app.