Skip to content

Commit 67f6e3a

Browse files
author
Dimitri Kopriwa
committed
feat(greenkeeper): added greenkeeper and updated all deps
1 parent 40ac818 commit 67f6e3a

File tree

4 files changed

+51
-42
lines changed

4 files changed

+51
-42
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ babel.config.json
99
.eslintignore
1010
bundle-stats.html
1111
CODE_OF_CONDUCT.md
12+
CONTRIBUTING.md
13+
CHANGELOG.md
14+
README.md
1215
declination.json
1316
rollup.config.js
1417
/styleguide.config.js

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/bootstrap-styled/css-utils.svg?branch=master)](https://travis-ci.org/bootstrap-styled/css-utils) [![npm Version](https://img.shields.io/npm/v/@bootstrap-styled/css-utils.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/css-utils) [![License](https://img.shields.io/npm/l/@bootstrap-styled/css-utils.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/css-utils) [![NPM monthly downloads](https://img.shields.io/npm/dm/@bootstrap-styled/css-utils.svg?style=flat)](https://npmjs.org/package/@bootstrap-styled/css-utils) [![NPM total downloads](https://img.shields.io/npm/dt/@bootstrap-styled/css-utils.svg?style=flat)](https://npmjs.org/package/@bootstrap-styled/css-utils) [![npm Version](https://img.shields.io/node/v/@bootstrap-styled/css-utils.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/css-utils) [![Module formats](https://img.shields.io/badge/module%20formats-umd%2C%20cjs%2C%20esm-green.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/css-utils)
44
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.css-utils&metric=coverage)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.css-utils) [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.css-utils&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.css-utils)
5+
[![gitter](https://badges.gitter.im/bootstrap-styled/bootstrap-styled.svg)](https://gitter.im/bootstrap-styled)
56

67
Bootstrap mixins and utilities in javascript for bootstrap-styled.
78

package.json

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build:dist:watch": "rollup -c --watch",
2424
"build:lib:watch": "npm run build:lib -- --watch",
2525
"test": "npm run lint && npm run test:web",
26-
"test:web": "NODE_ENV=test TEST_REPORT_PATH=reports jest --coverage",
26+
"test:web": "NODE_ENV=test jest --coverage",
2727
"test:clean": "rimraf ./coverage",
2828
"test:watch": "npm run test -- --watch",
2929
"lint": "eslint src",
@@ -115,62 +115,62 @@
115115
}
116116
},
117117
"devDependencies": {
118-
"@babel/cli": "^7.0.0",
119-
"@babel/core": "^7.0.0",
120-
"@babel/plugin-external-helpers": "^7.0.0",
121-
"@babel/plugin-proposal-class-properties": "^7.0.0",
122-
"@babel/plugin-proposal-decorators": "^7.0.0",
123-
"@babel/plugin-proposal-json-strings": "^7.0.0",
124-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
125-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
126-
"@babel/plugin-syntax-import-meta": "^7.0.0",
127-
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
128-
"@babel/preset-env": "^7.0.0",
129-
"@bootstrap-styled/documentation": "^1.0.1",
130-
"@rollup-umd/documentation": "^1.0.17",
118+
"@babel/cli": "^7.2.0",
119+
"@babel/core": "^7.2.2",
120+
"@babel/plugin-external-helpers": "^7.2.0",
121+
"@babel/plugin-proposal-class-properties": "^7.2.1",
122+
"@babel/plugin-proposal-decorators": "^7.2.2",
123+
"@babel/plugin-proposal-json-strings": "^7.2.0",
124+
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
125+
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
126+
"@babel/plugin-syntax-import-meta": "^7.2.0",
127+
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
128+
"@babel/preset-env": "^7.2.0",
129+
"@bootstrap-styled/documentation": "^1.1.1",
130+
"@rollup-umd/documentation": "^1.2.0",
131131
"@semantic-release/changelog": "^3.0.1",
132132
"@semantic-release/git": "^7.0.5",
133133
"@semantic-release/github": "^5.2.5",
134-
"@semantic-release/npm": "^5.1.1",
134+
"@semantic-release/npm": "^5.1.2",
135135
"babel-core": "^7.0.0-bridge.0",
136-
"babel-eslint": "^9.0.0",
137-
"babel-jest": "^23.4.2",
138-
"babel-loader": "^8.0.0",
139-
"babel-plugin-add-module-exports": "^0.2.1",
136+
"babel-eslint": "^10.0.1",
137+
"babel-jest": "^23.6.0",
138+
"babel-loader": "^8.0.4",
139+
"babel-plugin-add-module-exports": "^1.0.0",
140140
"babel-plugin-array-includes": "^2.0.3",
141-
"babel-plugin-dynamic-import-node": "^1.0.2",
141+
"babel-plugin-dynamic-import-node": "^2.2.0",
142142
"cz-conventional-changelog": "^2.1.0",
143143
"enzyme": "^3.6.0",
144144
"enzyme-adapter-react-16": "^1.5.0",
145-
"eslint": "^5.6.1",
145+
"eslint": "^5.10.0",
146146
"eslint-config-airbnb": "^17.1.0",
147147
"eslint-config-airbnb-base": "^13.1.0",
148148
"eslint-plugin-import": "^2.14.0",
149149
"eslint-plugin-jsx-a11y": "^6.1.1",
150150
"eslint-plugin-react": "^7.11.1",
151151
"immutable": "^3.8.1",
152-
"jest-cli": "^22.4.2",
153-
"jest-sonar-reporter": "^1.3.0",
152+
"jest-cli": "^23.6.0",
153+
"jest-sonar-reporter": "^2.0.0",
154154
"lint-staged": "^4.1.3",
155155
"pre-commit": "^1.2.2",
156156
"react": "^16.6.3",
157157
"react-dom": "^16.6.3",
158158
"react-styleguidist": "^8.0.6",
159159
"rimraf": "^2.6.2",
160-
"rollup": "^0.57.1",
161-
"rollup-plugin-babel": "^4.0.1",
162-
"rollup-plugin-cleanup": "^2.0.0",
163-
"rollup-plugin-commonjs": "^9.1.0",
164-
"rollup-plugin-inject": "^2.0.0",
165-
"rollup-plugin-json": "^2.3.0",
160+
"rollup": "^0.68.0",
161+
"rollup-plugin-babel": "^4.1.0",
162+
"rollup-plugin-cleanup": "^3.0.0",
163+
"rollup-plugin-commonjs": "^9.2.0",
164+
"rollup-plugin-inject": "^2.2.0",
165+
"rollup-plugin-json": "^3.1.0",
166166
"rollup-plugin-node-builtins": "^2.1.2",
167-
"rollup-plugin-node-resolve": "^3.3.0",
168-
"rollup-plugin-replace": "^2.0.0",
169-
"rollup-plugin-uglify": "^3.0.0",
170-
"rollup-plugin-visualizer": "^0.5.0",
167+
"rollup-plugin-node-resolve": "^4.0.0",
168+
"rollup-plugin-replace": "^2.1.0",
169+
"rollup-plugin-terser": "^3.0.0",
170+
"rollup-plugin-visualizer": "^0.9.2",
171171
"rollup-watch": "^4.3.1",
172-
"semantic-release": "^15.12.4",
173-
"sinon": "^3.3.0",
172+
"semantic-release": "^15.13.0",
173+
"sinon": "^7.2.2",
174174
"toctoc": "^0.3.2",
175175
"webpack": "^4.27.1"
176176
},
@@ -206,6 +206,11 @@
206206
"testRegex": "tests/.*\\.test\\.js$",
207207
"testResultsProcessor": "jest-sonar-reporter"
208208
},
209+
"jestSonar": {
210+
"reportPath": "reports",
211+
"reportFile": "test-report.xml",
212+
"indent": 2
213+
},
209214
"lint-staged": {
210215
"*.js": [
211216
"eslint --fix",
@@ -216,8 +221,8 @@
216221
"build:readme"
217222
],
218223
"dependencies": {
219-
"@bootstrap-styled/css-mixins": "1.2.0",
220-
"@bootstrap-styled/utils": "^1.6.4"
224+
"@bootstrap-styled/css-mixins": "1.3.0",
225+
"@bootstrap-styled/utils": "^1.7.0"
221226
},
222227
"publishConfig": {
223228
"registry": "https://registry.npmjs.org",

rollup.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import commonjs from 'rollup-plugin-commonjs';
55
import inject from 'rollup-plugin-inject';
66
import babel from 'rollup-plugin-babel';
77
import json from 'rollup-plugin-json';
8-
import uglify from 'rollup-plugin-uglify';
8+
import { terser } from 'rollup-plugin-terser';
99
import cleanup from 'rollup-plugin-cleanup';
1010
import visualizer from 'rollup-plugin-visualizer';
1111
import pkg from './package.json';
@@ -74,9 +74,9 @@ const plugins = [
7474

7575
if (prod) plugins.push(uglify(), visualizer({ filename: './bundle-stats.html' }));
7676

77-
export default {
77+
export default output.map((o) => ({
7878
input: 'src/index.js',
7979
external,
80-
output,
81-
plugins,
82-
};
80+
output: o,
81+
plugins: prod ? plugins.concat([terser(), visualizer({ filename: './bundle-stats.html' })]) : plugins,
82+
}));

0 commit comments

Comments
 (0)