node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



This package includes scripts and configuration used by Create React App with PureScript support.


You'll need to setup the PureScript Development Environment

yarn global add purescript pulp bower
npm install -g purescript pulp bower

This package relies on purescript-psa

yarn global add purescript-psa
npm install -g purescript-psa

and then PROFIT

create-react-app my-purescript-app --scripts-version react-scripts-purescript

Now you have a shiny PureScript app using React!

A PureScript react component is available in src/Box.purs

If you want to learn more about the PureScript language, your next stop should be PureScript by Example. This book is a goldmine!