Skip to content
The future of FRC scouting
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
_templates
docs
src
.babelrc.js
.eslintignore
.gitattributes
.gitignore
.npmrc
.nvmrc
LICENSE.md
README.md
_redirects
jest-transform.js
jest.setup.ts
linaria.config.js
package-lock.json
package.json
postcss.config.js
renovate.json
rollup-index.html
rollup.config.js
tsconfig.json
types.d.ts
webpack.config.js

README.md

Peregrine

dev build

Peregrine is a scouting app for FRC competitions. This is the frontend, written in TypeScript with Preact

Setup

Prerequisites

Recommended VSCode Extensions

Install these by opening the extensions panel in the side bar and searching for them

Project Setup

  • git clone https://github.com/pigmice2733/peregrine-frontend
  • cd peregrine-frontend
  • npm i
  • npm start Starts a local server with HMR on port 1234
  • npm run build Creates an optimized build with code splitting (output is still readable)
  • NODE_ENV=production npm run build Creates an optimized build with code splitting (output is mangled and not readable)

We are using Parcel as our development bundler/server, because it is fast and supports HMR (automatically injecting changes into a running site). We are using Rollup in production because it is able to make highly optimized bundles with scope hoisting, tree shaking, and code splitting.

You can’t perform that action at this time.