Package Exports
- @yababay67/modern-setup
- @yababay67/modern-setup/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yababay67/modern-setup) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Modern setup from scratch

From scratch
If you want to create modern JavaScript project with Typescript and unit testing support, please execute following commands in your terminal:
npm init -y
npm i -D typescript jest ts-jest @types/jestnpm @types/jest @jest/globals husky
npm pkg set scripts.build="tsc"
npm pkg set scripts.test="jest"
npm pkg set scripts.postinstall="npx tsc --init && npx ts-jest config:init && git init && ./node_modules/.bin/husky install && npx husky add .husky/pre-commit 'npm test' && git add . && git commit -am first"
npm run postinstallInstall the template
You can do the same work just installing this template with the command
npx @yababay67/modern-setup@latest <my-app>Please replace <my-app> with name of directory in which
you will develop a project. After installing you should edit
the pachage.json file inside the selected directory.
Playground
To see how the system protect you code rejectind modules of poor quality please execute
npm run spoilTo repair things run
npm run repair