tateru

0.0.9 • Public • Published

Tateru

Build your TypeScript projects with speed and ease.

NPM | Docs | Github

CD: Canary

Tateru is released under the MIT license & supports modern environments.

Global install

Use any of the following.

$ npm i -g tateru@latest
$ yarn global add tateru
$ pnpm install --global tateru

Note: add --save if you are using npm < 5.0.0

You may also install via --save-dev and equivalent options. In those cases, make sure to invoke the executable via npx.

Set up your tateru toml:

  1. Create .taterurc
  2. Add your build config
  3. Run $ tateru

You may also add tateru to your scripts object in package.json. From there, you can invoke the build via yarn build. For more details, see how we use it in hikidashi.

Example partial toml:

out_dir = 'dist'
cjs = true

[submodule]
modules = 'src/sub/**/*.ts'
out_dir = 'dist/sub'
ejs = true
mjs = true

[dist_bundle]
modules = 'src/index.ts'

[tests]
modules = 'tests/**/*.ts'
out_dir = 'tests/dist'
watch = true

Then, modify your package.json to use yarn build:src and yarn build:test.

{...
  "scripts": {
    "build:src": "tateru submodule dist_bundle",
    "build:test": "tateru tests"
  }
...}

Package Sidebar

Install

npm i tateru

Weekly Downloads

9

Version

0.0.9

License

MIT

Unpacked Size

6.56 kB

Total Files

3

Last publish

Collaborators

  • kaihodev