0.0.7 • Published 3 months ago

tsjam-cli v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago
  • 0 installed dependencies under ur hood
  • SWC is 20x faster than Babel on a single thread and 70x faster on four cores
  • ForkTsChecker – Speeds up TypeScript type checking (by moving it to a separate process)
  • Obfuscate css classnames in production
  • chunkhash/contenthash for assets in production
  • Separate loaders for images and fonts

Usage: npm i --save-dev tsjam-cli or npx tsjam-cli

Webpack parts

Usage: tsjam-cli --add-webpack

Note: the following changes would be made:

  • add .webpack – all preconfigured plugins with webpack config
  • add wp:start/build scripts into ur package.json
  • add webpack related devDependencies into ur package.json
  • add .env file for local environment variables usage

Webpack does not set global NODE_ENV based on mode by default. If you have any external tooling, such as Babel, relying on it, make sure to set it explicitly. https://github.com/webpack/webpack-cli/issues/2362

  • no worries, we've set it for u explicitly ^_^

React parts

Usage: tsjam-cli --add-react

Note: the following changes would be made:

  • install react 18 & react-dom with types
  • create app sample into public and src folders accordingly

Tsjam parts

Usage: tsjam-cli --add-tsjam

Note: the following changes would be made:

  • install typescript; init tsconfig
  • setup eslint & prettier tsjam recommended configs
  • setup scripts and pre-commit lint-staged hook
  • install tsjam core ts toolkit

https://www.npmjs.com/package/tsjam

0.0.7

3 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago