Skip to content

Commit 3eef1e8

Browse files
committed
add Bower support
1 parent 789b4a5 commit 3eef1e8

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Aligned code with Bootstrap v4.3.0. See the [Bootstrap release notes](https://gi
1212

1313
### Added
1414
- Added new `warn()` and `error()` functions to emulate Sass’ `@warn` and `@error` at-rules. These functions are primarily meant to be used by Bootstrap but can be used freely in your code if you find them useful.
15+
- Added a Bower config, for wider package management support. (Note that the Bower team does _not_ recommend using Bower in new projects, so using npm or yarn is preferred.)
1516

1617
### Changed
1718
- Updated styles/plugins to match Bootstrap v4.3.0 (see the [release notes](https://github.com/twbs/bootstrap/releases/tag/v4.3.0) for details)
1819

1920
### Fixed
21+
- [#10](https://github.com/seanCodes/bootstrap-less-port/issues/10) – Add bower support
2022
- [#16](https://github.com/seanCodes/bootstrap-less-port/issues/16) – Omitting file extensions for `@plugin` at-rules causes errors when bundling with Parcel
2123

2224

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Options for installing Bootstrap Less in your project (note that Less v3.9.0 or
1515

1616
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap-less-port`
1717
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap-less-port`
18+
- Install with [bower](https://yarnpkg.com/) ([not recommended](https://github.com/seanCodes/bootstrap-less-port/issues/10#issuecomment-444886935)): `bower install bootstrap-less-port`
1819
- Clone the repo: `git clone https://github.com/seanCodes/bootstrap-less-port.git`
1920
- [Download the latest release](https://github.com/seanCodes/bootstrap-less-port/archive/master.zip)
2021

bower.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "bootstrap-less-port",
3+
"description": "A Less port of Bootstrap v4",
4+
"main": "less/bootstrap.less",
5+
"authors": [
6+
"Sean Juárez <[email protected]>"
7+
],
8+
"license": "MIT",
9+
"keywords": [
10+
"bootstrap",
11+
"less",
12+
"css",
13+
"framework",
14+
"port"
15+
],
16+
"homepage": "https://github.com/seanCodes/bootstrap-less-port",
17+
"ignore": [
18+
"**/.*",
19+
"node_modules",
20+
"bower_components",
21+
"dist",
22+
"build",
23+
"test",
24+
"tests"
25+
]
26+
}

0 commit comments

Comments
 (0)