JavaScript Tooling
JavaScript Tooling: npm and Packages, A Dev Server and Build with Vite, Clean Code with ESLint and Prettier.
Updated
- npm and Packages (Journeyman): npm is an app store for code that comes with Node.js; you'll describe a project in package.json, install packages into node_modules, tell dependencies from devDependencies, and run the project's commands as npm scripts.
- A Dev Server and Build with Vite (Journeyman): Vite gives a web project a dev server that shows every change the moment you save, and a build that bundles your code and packages into a small dist folder ready to put online.
- Clean Code with ESLint and Prettier (Journeyman): ESLint reads your code and flags likely mistakes, like an unused variable or a == that should be ===, and Prettier formats every file the same way, so you set them up once with a flat config and npm scripts and let VS Code run them as you save.