1.0.2 • Published 4 years ago
@getstation/authentication-ui v1.0.2
Station Authentication
auth.getstation.com website and @getstation/authentication-ui
package.
Package usage
$ yarn add @getstation/authentication-ui
import { ProvidedAuthenticationBox } from '@getstation/authentication-ui';
<ProvidedAuthenticationBox
apiGQLEndpoint={process.env.GRAPHQL_URI}
firebaseConfig={{
apiKey: process.env.FIREBASE_API_KEY,
authDomain: process.env.FIREBASE_AUTH_DOMAIN,
}}
allowSignUp={false}
onAuthenticated={this.props.onAuthenticated}
/>
Development
Setup
- Clone this repository
- Run
yarn
to install dependencies - Create a
.env
file with a uniqueENVKEY
generated through EnvKey App - Run
yarn start
to start the dev server
Commands
yarn start
will start the development server.
yarn run storybook
will start the Storybook server.
yarn run build:package
will build the published package.
Deployment
Website
master
is deployed on auth.getstation.com
with Netlify.
master
is deployed on auth-dev.getstation.com
with development environement (Firebase Dev) with Netlify.
Package
The source code is transpiled thru babel and is published with src/package/index
as entry point.
1.0.2
4 years ago
1.0.2-rc
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
1.0.0-rc.8
4 years ago
1.0.0-rc.7
4 years ago
1.0.0-rc.5
4 years ago
1.0.0-rc.6
4 years ago
1.0.0-rc.4
4 years ago
1.0.0-rc.3
4 years ago
1.0.0-rc.2
4 years ago
1.0.0-rc.1
4 years ago
1.0.0-rc.0
4 years ago