Skip to content

Commit

Permalink
Merge pull request #8 from coliff/dev/coliff/add-composer
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff authored Jul 8, 2024
2 parents 9814f6c + 4d26c36 commit 7a43b26
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Dependency Review"
uses: actions/dependency-review-action@v1
8 changes: 6 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter/slim@v4
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
LOG_LEVEL: NOTICE
SUPPRESS_POSSUM: true
VALIDATE_ALL_CODEBASE: false
VALIDATE_CHECKOV: false
VALIDATE_EDITORCONFIG: false
VALIDATE_MARKDOWN: false
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/coliff/bootstrap-print-css/master/LICENSE)
[![GitHub Super-Linter](https://github.com/coliff/bootstrap-print-css/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)
[![GitHub Stars](https://img.shields.io/github/stars/coliff/bootstrap-print-css.svg?label=github%20stars)](https://github.com/coliff/bootstrap-print-css)
[![NPM Version](https://img.shields.io/npm/v/bootstrap-print-css)](https://www.npmjs.com/package/bootstrap-print-css)
[![GitHub Stars](https://img.shields.io/github/stars/coliff/bootstrap-print-css.svg?label=GitHub%20stars)](https://github.com/coliff/bootstrap-print-css)
[![npm Version](https://img.shields.io/npm/v/bootstrap-print-css)](https://www.npmjs.com/package/bootstrap-print-css)

# Bootstrap Print CSS 🖨️

Expand All @@ -12,9 +12,10 @@ Note: This should improve the experience when printing, but there are [bugs and
## Quick Start

- [Download the latest release](https://github.com/coliff/bootstrap-print-css/)
- Clone the repo `git clone https://github.com/coliff/bootstrap-print-css.git`
- Clone the repository `git clone https://github.com/coliff/bootstrap-print-css.git`
- Install with [npm](https://www.npmjs.com/package/bootstrap-print-css) `npm install bootstrap-print-css`
- Install with [yarn](https://yarnpkg.com/package/bootstrap-print-css) `yarn add bootstrap-print-css`
- Install with [Yarn](https://yarnpkg.com/package/bootstrap-print-css) `yarn add bootstrap-print-css`
- Install with [Composer](https://packagist.org/packages/coliff/bootstrap-print-css) `composer require coliff/bootstrap-print-css`

## Usage

Expand Down
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "coliff/bootstrap-print-css",
"description": "Bootstrap 5 Print Stylesheet",
"license": "MIT",
"homepage": "https://github.com/coliff/bootstrap-print-css#readme",
"authors": [
{
"name": "Christian Oliff",
"homepage": "https://christianoliff.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/coliff/bootstrap-print-css/issues",
"docs": "https://github.com/coliff/bootstrap-print-css#readme"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"author": "Christian Oliff (https://christianoliff.com)",
"scripts": {
"css": "npm run css-lint && npm run css-minify",
"css-lint": "stylelint \"css/bootstrap-print.css\"",
"css-lint": "stylelint \"css/bootstrap-print.css\" -f verbose --fix",
"css-minify": "cleancss -O1 --format breakWith=lf --output css/bootstrap-print.min.css css/bootstrap-print.css",
"test": "npm run css-lint"
},
"devDependencies": {
"clean-css-cli": "^5.6.2",
"stylelint": "^15.10.3",
"stylelint-config-twbs-bootstrap": "^11.0.1"
"clean-css-cli": "5.6.3",
"stylelint": "16.6.1",
"stylelint-config-twbs-bootstrap": "14.2.0"
}
}

0 comments on commit 7a43b26

Please sign in to comment.