mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Update package.json. (#24582)
1. Use the same jQuery version in jspm 2. Update the files to only include the source and dist folders
This commit is contained in:
parent
2ec1606ab7
commit
3de46286b2
@ -12,6 +12,7 @@ While Beta 2 saw the bulk of our breaking changes during the beta phase, but we
|
|||||||
|
|
||||||
- Removed the unused `$thumbnail-transition` variable. We weren't transitioning anything, so it was just extra code.
|
- Removed the unused `$thumbnail-transition` variable. We weren't transitioning anything, so it was just extra code.
|
||||||
- Changed the CSS for managing multiple `background-image`s on custom form checkboxes and radios. Previously, the `.custom-control-indicator` element had the background color, gradient, and SVG icon. Customizing the background gradient meant replacing all of those every time you needed to change just one. Now, we have `.custom-control-indicator` for the fill and gradient and `.custom-control-indicator::before` handles the icon.
|
- Changed the CSS for managing multiple `background-image`s on custom form checkboxes and radios. Previously, the `.custom-control-indicator` element had the background color, gradient, and SVG icon. Customizing the background gradient meant replacing all of those every time you needed to change just one. Now, we have `.custom-control-indicator` for the fill and gradient and `.custom-control-indicator::before` handles the icon.
|
||||||
|
- The npm package no longer includes any files other than our source and dist files; if you relied on them and were running our scripts via the `node_modules` folder, you should adapt your workflow.
|
||||||
|
|
||||||
## Beta 2 changes
|
## Beta 2 changes
|
||||||
|
|
||||||
|
14
package.json
14
package.json
@ -126,15 +126,9 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
".babelrc",
|
"dist/",
|
||||||
".eslintignore",
|
"js/{src,dist}/",
|
||||||
"Gemfile",
|
"scss/"
|
||||||
"dist",
|
|
||||||
"build",
|
|
||||||
"js/.eslintrc.json",
|
|
||||||
"js/**/*.js",
|
|
||||||
"js/**/*.js.map",
|
|
||||||
"scss/**/*.scss"
|
|
||||||
],
|
],
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Chrome >= 45",
|
"Chrome >= 45",
|
||||||
@ -205,7 +199,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"jquery": "^3.0.0",
|
"jquery": "1.9.1 - 3",
|
||||||
"popper.js": "^1.12.9"
|
"popper.js": "^1.12.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user