0.1.14 • Published 3 years ago

cra-template-tsup v0.1.14

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 years ago

cra-template-tsup

Quickly publish Create React App with TypeScript to NPM.

yarn start

Start in development mode at http://localhost:3000.

yarn build

Build for production to /build.

yarn pack

Package src/App.tsx for publishing to /dist.

Publishing

  1. Package for publishing with yarn pack.
  2. In package.json:

    1. Remove "private": true to allow public access.
    2. Move "react-scripts" to "devDependencies".
    3. Move "react" and "react-dom" to "peerDependencies".
    4. Add "files": ["dist"] to avoid ignoring.
    5. Add "main": "dist/App.js" as the entry point.
    6. Add "types": "dist/App.d.ts" as the type definitions.
  3. Release with npm publish.

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago