What is this?
This is a template generator for TypeScript library.
It generates a project based on TypeScriptLibraryTemplate.
Install
npm install -g @takumus/tslib-cli
How to create/edit project
You can create/edit your project in current directry.
tslib-cli
You can also choose your project name and create/edit directory.
tslib-cli project-name
project name
It becomes your project directory name as a default.
You can use scopes in package names.
browser
global name of Default value is its project name
in camel-case.
destination directory
./dist
is default value.
entry .ts file
./src/index.ts
is default value.
cjs
with node_modules
?
export no
is default value.
esm
with node_modules
?
export no
is default value.
browser
with node_modules
?
export yes
is default value.
package.json author.name
SSIA
package.json author.email
SSIA
Build
npm run build
Supporters
@shxn0 (Japanese to English translation)