drei

v1.5.4
useful add-ons for react-three-fiber
react three threejs react-three-fiber

prebuild

rimraf dist && npm run typegen

build

rollup -c && npm run copy

prepare

npm run build

eslint

eslint --fix {src,.storybook}/**/*.{js,ts,jsx,tsx}

eslint:ci

eslint {src,.storybook}/**/*.{js,ts,jsx,tsx}

test

echo no tests yet

typecheck

tsc --noEmit --emitDeclarationOnly false --strict --jsx react

typegen

tsc --emitDeclarationOnly

storybook

start-storybook -s ./.storybook/public -p 6006

build-storybook

build-storybook -s ./.storybook/public

copy

copyfiles package.json readme.md LICENSE dist && json -I -f dist/package.json -e "this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;"

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/10/2020

Downloads