https://github.com/oti/boilerplate_parcel
https://github.com/oti/boilerplate_parcel
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oti/boilerplate_parcel
- Owner: oti
- Created: 2020-04-18T07:11:47.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T22:26:12.000Z (almost 3 years ago)
- Last Synced: 2025-07-08T06:03:38.264Z (11 months ago)
- Language: SCSS
- Size: 1.84 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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 時に整形されます。