0.0.0 • Published 4 years ago
ts-press v0.0.0
ts-press
TypeScript Press: Generate TypeScript files in TypeScript
Features
Module build structure based on https://github.com/alexgorbatchev/typescript-module-boilerplate.git
- Linting via ESLint.
- Run manually via
npm run lint
. - Uses AirBNB ESLint plugin.
- TypeScript support via @typescript-eslint/parser.
- Run manually via
- Formatting via Prettier.
- Run manually via
npm run format
.
- Run manually via
import/export
statements are verified via eslint-plugin-import.
NPM Script Commands
npm run test
-- Runs tests, lint and build.npm run lint
-- Runs ESLint.npm run format
-- Reformats all of the.ts
files with Prettier.npm run build
-- Regenerateslib
folder that gets included into NPM module.npm run dev
-- Usests-node
to runsrc/index.ts
npm run prod
-- (only available afternpm run build
) Usesnode
to runlib/index.js
License
MIT
0.0.0
4 years ago