@jayphelps/jay-scripts
v0.0.50
Published
Common npm package management utilities used by Jay Phelps. Mostly just boilerplate for tsc + babel with esm/cjs output.
Downloads
53
Readme
@jayphelps/jay-scripts
A collection of common scripts for my personal projects. Not intended to be used by others as I'll likely make frequent breaking changes without warning. Open source in case it's useful as a reference, and also why not.
Notes
- This project is self-hosted; it was bootstraped and is built using an older version of itself.
- The CLI itself uses native ES Modules in Node, so it requires a fairly recent version. But it still compiles the consuming project to both ESM/CJS, setting up the package.json appropriately.
Commands
Create
npx @jayphelps/jay-scripts create my-project-name
cd my-project-name
Start
yarn start
# or
npx jay-scripts start
Build
yarn build
# or
npx jay-scripts build