├── .editorconfig
├── .eslintrc.js
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── dependabot.yml
└── workflows
│ └── test.yml
├── .gitignore
├── .prettierrc
├── .stylelintrc.js
├── LICENSE
├── README.md
├── package-lock.json
├── package.json
├── source
├── fonts
│ ├── Roboto-Regular.woff
│ └── Roboto-Regular.woff2
├── html
│ ├── includes
│ │ ├── common
│ │ │ ├── footer.html
│ │ │ └── header.html
│ │ └── index
│ │ │ ├── hero.html
│ │ │ └── structure.html
│ └── views
│ │ └── index.html
├── img
│ └── logo.svg
├── js
│ ├── index.js
│ └── script.js
├── root
│ └── manifest.json
├── scss
│ ├── blocks
│ │ ├── container.scss
│ │ ├── header.scss
│ │ ├── hero.scss
│ │ ├── logo.scss
│ │ ├── nav.scss
│ │ └── visually-hidden.scss
│ ├── font-face.scss
│ ├── global.scss
│ ├── style.scss
│ └── variables.scss
└── vendors
│ └── normalize-css
│ └── normalize.min.css
└── webpack
├── helpers
└── generateHtmlPlugins.js
└── webpack.config.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | indent_size = 2
7 | indent_style = space
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['plugin:prettier/recommended'],
3 | plugins: ['import', 'prettier'],
4 | env: {
5 | browser: true,
6 | es6: true,
7 | jquery: true,
8 | },
9 | parserOptions: {
10 | ecmaVersion: 'latest',
11 | sourceType: 'module',
12 | },
13 | rules: {
14 | 'no-duplicate-imports': 'error',
15 | 'prettier/prettier': 'error',
16 | },
17 | };
18 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text eol=lf
2 |
3 | *.png binary
4 | *.jpg binary
5 | *.jpeg binary
6 | *.webp binary
7 | *.woff binary
8 | *.woff2 binary
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "npm"
4 | directory: "/"
5 | schedule:
6 | interval: "weekly"
7 | open-pull-requests-limit: 20
8 |
--------------------------------------------------------------------------------
/.github/workflows/test.yml:
--------------------------------------------------------------------------------
1 | name: Lint & build
2 |
3 | on:
4 | pull_request:
5 | push:
6 | branches:
7 | - master
8 |
9 | jobs:
10 | lint:
11 | runs-on: ubuntu-latest
12 | strategy:
13 | matrix:
14 | node: [ 16, 18, 20 ]
15 | steps:
16 | - uses: actions/checkout@v3
17 | - uses: actions/setup-node@v3
18 | with:
19 | node-version: ${{ matrix.node }}
20 | - name: Install dependencies on Node v${{ matrix.node }}
21 | run: npm install --ci
22 | - name: Lint on Node v${{ matrix.node }}
23 | run: npm run lint
24 | - name: Check if project builds on Node v${{ matrix.node }}
25 | run: npm run build
26 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Файлы и папки операционной системы
2 | .DS_Store
3 | Thumbs.db
4 |
5 | # Файлы редактора
6 | .idea
7 | *.sublime*
8 | .vscode
9 | .prettierignore
10 |
11 | # Вспомогательные файлы
12 | *.log*
13 | node_modules/
14 | build/
15 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "printWidth": 80,
3 | "singleQuote": true,
4 | "tabWidth": 2,
5 | "useTabs": false,
6 | "arrowParens": "avoid",
7 | "trailingComma": "all",
8 | "overrides": [
9 | {
10 | "files": "*.scss",
11 | "options": { "singleQuote": false }
12 | }
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/.stylelintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: ['stylelint-prettier'],
3 | rules: {
4 | 'prettier/prettier': [
5 | true,
6 | {
7 | singleQuote: false,
8 | tabWidth: 2,
9 | },
10 | ],
11 | 'declaration-no-important': true,
12 | 'length-zero-no-unit': true,
13 | 'selector-class-pattern':
14 | '^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$',
15 | },
16 | };
17 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Webtime.Studio
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
[Deprecated] Create HTML boilerplate
2 |
3 |
4 |
5 |
6 |
7 |
Со времени создания данного boilerplate вышло много новых инструментов и поддрежка данного проекта более не выглядит целесообразной, поэтому мы решили его заархивировать и более не будем обновлять зависимости. Проект останется доступным и будет в режиме только для чтения.
8 |
9 | Данная сборка вдохновлена проектом с хабра и многими часами вёрстки и
10 | разработки. Здесь специально нет ничего лишнего и только набор базовых
11 | файлов, чтобы было понятно как построить базовую структуру.
12 |
Привет! Спасибо за то что используете наш Create HTML boilerplate.
3 |
4 | Данная сборка вдохновлена проектом с Хабр и многими часами вёрстки и
5 | разработки. Здесь специально нет ничего лишнего и только набор базовых
6 | файлов, чтобы было понятно как построить базовую структуру проекта.
7 |