Skip to content

Commit

Permalink
remove example from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Oct 6, 2020
1 parent 71b0607 commit 1be3811
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
examples/
example/
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const importJsx = require('import-jsx')
const { render } = require('ink')
const meow = require('meow')

const App = importJsx('./src/components/App.js')
const App = importJsx('./src/components/App')

const cli = meow(
`
Expand Down
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const React = require('react')
const { Text, Box } = require('ink')
const importJsx = require('import-jsx')
const gltfjsx = require('../gltfjsx')
const ErrorBoundary = importJsx('./ErrorBoundary.js')
const ErrorBoundary = importJsx('./ErrorBoundary')

function Conversion({ file, ...config }) {
let nameExt = file.match(/[-_\w]+[.][\w]+$/i)[0]
Expand Down
2 changes: 1 addition & 1 deletion src/components/Test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const importJsx = require('import-jsx')
const fg = require('fast-glob')
const fs = require('fs-extra')
const gltfjsx = require('../gltfjsx')
const ErrorBoundary = importJsx('./ErrorBoundary.js')
const ErrorBoundary = importJsx('./ErrorBoundary')

fs.removeSync('.test')
fs.mkdirSync('.test')
Expand Down

0 comments on commit 1be3811

Please sign in to comment.