nordicode-webtools
v1.0.3
Published
This repository contains settings and scripts for the development and build pipeline of Nordicode projects.
Readme
Nordicode webtools
This repository contains settings and scripts for the development and build pipeline of Nordicode projects.
This package provides a set of tools to help you with the development and build process of your web projects. It includes a development server, build tools, and a set of scripts to help you get started quickly.
This package enables consistency between projects and allows Nordicode to switch between projects without having to worry about the configuration of the development environment. It also allows us to easily update the configuration of all projects in the future.
Features
- Development server: A simple development server that serves your files and automatically reloads the page when you make changes.
- Build tools: A set of build tools that help you optimize your files for production. This includes minification, image optimization, and more
- Eslint and Prettier: A set of configuration files for Eslint and Prettier that help you keep your code clean and consistent across projects.
Getting started
- Install the required dependency in your project
npm install --save-dev nordicode-webtools - Add the following scripts to your
package.json:{ "scripts": { "dev": "webtools dev", "build:production": "webtools build", "init": "webtools init" } } - Run the following command to generate the initial configuration files:
npm run init - Run the development server:
npm run dev - Build the project for production:
npm run build:production
