New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cra-template-cracodile

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cra-template-cracodile

A custom create-react-app template

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

A custom create-react-app template

Install

npx create-react-app --template cracodile my-app

What's included

  • tailwindcss
  • craco
    • postcss-import
    • autoprefixer
    • css-nano
    • tailwind
  • Inter variable webfont
  • prettier + pretty-quick at pre-commit via husky
  • .editorconfig
  • npm-check-updates via script yarn ncu

Adding the 3D package

To add the usual 3D package:

yarn add threejs react-three-fiber drei react-spring@next
  • three.js
  • react-three-fiber
  • react-spring
  • drei

Here's a quick scene to copy-paste:

import React, { Suspense } from "react";
import { Canvas } from "react-three-fiber";
import { OrbitControls, StandardEffects, Box } from "drei";

function App() {
  return (
    <Canvas
      shadowMap
      colorManagement
      camera={{ position: [-4, 4, -4], far: 50 }}
      style={{
        background: "#121212",
      }}
    >
      <ambientLight />
      <spotLight
        intensity={2}
        position={[20, 20, 20]}
        shadow-bias={-0.00005}
        angle={Math.PI / 6}
        shadow-mapSize-width={2048}
        shadow-mapSize-height={2048}
        castShadow
      />
      <Box />
      <Suspense fallback={null}>
        <StandardEffects smaa bloom={{ luminanceThreshold: 0.99 }} />
      </Suspense>
      <OrbitControls />
    </Canvas>
  );
}

export default App;

FAQs

Package last updated on 01 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc