diff options
| author | XhmikosR <[email protected]> | 2017-11-25 02:02:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-25 02:02:25 +0200 |
| commit | 3de46286b2340ba7e9cad7d331eef8c555fde94b (patch) | |
| tree | d0a06d5b35116a91f7fd1a2cb97e6f9812da6d59 | |
| parent | 2ec1606ab7dc15883d0f0a924046e9dffdc7ba00 (diff) | |
| download | bootstrap-3de46286b2340ba7e9cad7d331eef8c555fde94b.tar.xz bootstrap-3de46286b2340ba7e9cad7d331eef8c555fde94b.zip | |
Update package.json. (#24582)
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
| -rw-r--r-- | docs/4.0/migration.md | 1 | ||||
| -rw-r--r-- | package.json | 14 |
2 files changed, 5 insertions, 10 deletions
diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 97ad847ee..a01b60074 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -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. - 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 diff --git a/package.json b/package.json index 8534e320f..101fed0a2 100644 --- a/package.json +++ b/package.json @@ -126,15 +126,9 @@ "node": ">=6" }, "files": [ - ".babelrc", - ".eslintignore", - "Gemfile", - "dist", - "build", - "js/.eslintrc.json", - "js/**/*.js", - "js/**/*.js.map", - "scss/**/*.scss" + "dist/", + "js/{src,dist}/", + "scss/" ], "browserslist": [ "Chrome >= 45", @@ -205,7 +199,7 @@ }, "dependencies": {}, "peerDependencies": { - "jquery": "^3.0.0", + "jquery": "1.9.1 - 3", "popper.js": "^1.12.9" } } |
