An open API service indexing awesome lists of open source software.

https://github.com/oti/boilerplate_parcel


https://github.com/oti/boilerplate_parcel

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Parcel Web Dev Boilerplate

[Parcel](https://parceljs.org/) を使ったウェブサイト開発環境のボイラープレートです。

dependencies の過不足は適宜処理してください。

- HTML: Pug
- CSS: Sass v4(Dart Sass), Autoprefixer
- JS: TypeScript + Babel

Parcel がポリフィル指定をよしなにしてくれているので .babelrc ファイルは不要です。

を追加してください。

## development

Node.js v24.14.0 が必要です。

```bash
npm ci
npm start
```

`localhost:1234` が起動します。

## build

```bash
npm run build
```

`dist/` にビルドされます。

## test

```bash
npm test
```

- markuplint
- stylelint

が実行されます。

## format

変更して git に stage されたファイルは pre-commit 時に整形されます。