Setup this as an .npmrc
in a consumer
always-auth=true
@github-org:registry=https://npm.pkg.github.com/github-org/
_authToken=TOKEN
//npm.pkg.github.com/:_authToken=TOKEN
import { StyleSheet, View, Text, ActivityIndicator } from "react-native"; | |
import Sizer from "react-native-size"; | |
import { | |
VictoryChart, | |
VictoryLine, | |
VictoryTheme, | |
VictoryAxis, | |
VictoryContainer, | |
VictoryCursorContainer, | |
Line, |
import React from "react"; | |
import ReactModal from "react-modal"; | |
import styled from "react-emotion"; | |
export interface ModalProps { | |
open: boolean; | |
contentLabel?: string; | |
onClose: Function; | |
} |
module.exports = { | |
overwrite: true, | |
generates: { | |
"./data/index.tsx": { | |
schema: [ | |
{ | |
"http://localhost:8081/v1/graphql": { | |
headers: { | |
"x-hasura-role": "anonymous" | |
} |
{ | |
"presets": ["next/babel", "@emotion/babel-preset-css-prop"], | |
"plugins": [ | |
[ | |
"prismjs", | |
{ | |
"languages": [ | |
"javascript", | |
"css", | |
"markup", |
Test