0.1.14 • Published 2 years ago

cra-template-tsup v0.1.14

Weekly downloads
-
License
Unlicense
Repository
github
Last release
2 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

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago