Script Launcher Sources
This repository contains the Typescript source code of script-launcher. The sources are located in the src directory. This readme describes how to build and deploy script launcher it self. For the npm package documentation open the readme located in the src directory.
Tools
Basic setup
git clone git@github.com:chanzo/script-launcher.git
cd script-launcher
npm install
npm start
Build & Publish
npm start test
npm start build
cd dist/package
npm login
npm whoami
npm publish
Run spesific tests
npx jest --clearCache
npm start test -- -t "'npx launch --version'"
npm start test -- ./tests/debug.test.ts
Resources
- NPM Developer Guide
- Jest Testing Framework
- ShellJS - Unix shell commands for Node.js
- zsh-completions
Dependencies
- cross-spawn - A cross platform solution to node's spawn and spawnSync.
- deepmerge - Merges the enumerable attributes of two or more objects deeply.
- fast-glob - It's a very fast and efficient glob library for Node.js.
- pretty-time - Easily format the time from node.js process.hrtime.
- prompts - Lightweight, beautiful and user-friendly prompts