Easily sets up TypeScript server-side projects that are StackBlitz compliant. Comes with everything needed for easy TypeScript usage and has CommanderJS.
npm i -S @psysecgroup/twitter-transformer
or yarn add @psysecgroup/twitter-transformer
Add your tests to the tests
folder, then import them in the tests/index.ts
file.
npm run build
: Builds the source TypeScript to CommonJS, ESM, and IIFE JavaScript files indist
npm run sb-watch
: Watches for changes for TypeScript files, builds the source on a change, then runsdist/index.js
(StackBlitz-friendly)npm run watch
: Watches for changes for TypeScript files, builds the source on a change, then runsdist/index.js
(Every other system)npm test
: Runs tests.
yarn build
: Builds the source TypeScript to CommonJS, ESM, and IIFE JavaScript files indist
yarn sb-watch
: Watches for changes for TypeScript files, builds the source on a change, then runsdist/index.js
(StackBlitz-friendly)yarn watch
: Watches for changes for TypeScript files, builds the source on a change, then runsdist/index.js
(Every other system)yarn test
: Runs tests.