These steps aren’t necessary, but show how the package.json was created.
echo 22.13 > .nvmrc && nvm use 22.13
npm install --save-dev typescript tsx @types/node globals
npx tsc --init
npm install --save-dev eslint @eslint/js typescript-eslint @ianvs/prettier-plugin-sort-imports
npm install --save-dev --save-exact prettier
npm install --save-dev eslint-config-prettier @types/eslint-config-prettier
npm install --save-dev jasmine @types/jasmine eslint-plugin-jasmine
npm install --save-dev eslint-plugin-tsdoc
Review these settings.
-
.gitignore
-
package.json
-
tsconfig.json
-
.eslint.config.js
-
.prettierignore
-
spec/support/jasmine.js
-
.vscode/*
-
.vscode/settings
editor.rulers
should matchpackage.json
prettier.printWidth
-
package.json
license
should match contes ofLICENSE.adoc