0.0.2 • Published 2 years ago

@aacc/tsc-js v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Initialize project

npm init

Install typescript

npm i -D typescript

Install typescript configs

npm i -D @aacc/tsconfigs

Setup TypeScript configs

Reference local configs:

  • tsconfig.json serves as the base for both module outputs
  • tsconfig-esm.json extends base and is used build to the ESM output
  • tsconfig-cjs.json extends base and is used to build to CJS output

Configure package.json

Reference local package.json, specify:

  • main, module, and types keys
  • conditional exports key
  • build, add-build-pkgs, and type-check scripts

References:

TODO:

0.0.2

2 years ago

0.0.1

2 years ago