Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 2446d2b

Browse files
committed
v1.2.0
1 parent 56c7f86 commit 2446d2b

16 files changed

+4571
-149
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
9+
[package.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.md]
14+
indent_style = space
15+
indent_size = 4
16+
trim_trailing_whitespace = false

.eslintrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
module.exports = {
2-
'extends': 'trigen/base'
2+
'extends': 'trigen/base',
3+
'env': {
4+
'node': true
5+
}
36
};

.gitignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ lib-cov
1313

1414
# Coverage directory used by tools like istanbul
1515
coverage
16-
17-
# nyc test coverage
1816
.nyc_output
1917

2018
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
@@ -26,12 +24,20 @@ coverage
2624
# Compiled binary addons (http://nodejs.org/api/addons.html)
2725
build/Release
2826

29-
# Dependency directories
27+
# Dependency directory
3028
node_modules
31-
jspm_packages
3229

3330
# Optional npm cache directory
3431
.npm
3532

3633
# Optional REPL history
3734
.node_repl_history
35+
36+
# OS X stuff
37+
.DS_Store
38+
39+
# Some caches
40+
.eslintcache
41+
42+
# Compiled dist
43+
lib

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
## [1.2.0] - 2017-12-03
9+
### Changed
10+
- `babel-cli` -> `Rollup`
11+
- `Promise/then` -> `async/await`
12+
- `through2` -> `through2-concurrent`

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
[![NPM](https://nodei.co/npm/gulp-srcset.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gulp-srcset/)
2-
31
# gulp-srcset
42

3+
[![NPM version][npm]][npm-url]
4+
[![Node version][node]][node-url]
5+
[![Dependency status][deps]][deps-url]
6+
7+
[npm]: https://img.shields.io/npm/v/gulp-srcset.svg
8+
[npm-url]: https://www.npmjs.com/package/gulp-srcset
9+
10+
[node]: https://img.shields.io/node/v/gulp-srcset.svg
11+
[node-url]: https://nodejs.org
12+
13+
[deps]: https://img.shields.io/david/TrigenSoftware/gulp-srcset.svg
14+
[deps-url]: https://david-dm.org/TrigenSoftware/gulp-srcset
15+
516
Highly customizable plugin to generating responsive images.
617

718
# Getting Started
819

920
Install with npm
1021
```bash
1122
npm i -D gulp-srcset
12-
```
13-
or
14-
```bash
23+
# or
1524
yarn add -D gulp-srcset
1625
```
1726

@@ -163,3 +172,6 @@ gulp.task('images', () =>
163172
.pipe(gulp.dest('dist'))
164173
);
165174
```
175+
176+
---
177+
[![NPM](https://nodei.co/npm/gulp-srcset.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gulp-srcset/)

example/dist/office.webp

-2.77 KB
Loading

example/dist/office@1280w.webp

8 Bytes
Loading

example/dist/office@1920w.webp

-6 Bytes
Loading

example/dist/office@320w.webp

-2 Bytes
Loading

example/dist/office@560w.webp

2 Bytes
Loading

0 commit comments

Comments
 (0)