Skip to content

Commit

Permalink
Merge 98ffec3 into adf9f8a
Browse files Browse the repository at this point in the history
  • Loading branch information
kimulaco committed Jul 15, 2019
2 parents adf9f8a + 98ffec3 commit 16e0a60
Show file tree
Hide file tree
Showing 14 changed files with 1,039 additions and 471 deletions.
8 changes: 0 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ root = true
charset = utf-8
end_of_line = lf
indent_style = space

[*.css]
indent_size = 2

[*.js]
indent_size = 4

[*.json]
indent_size = 2
203 changes: 0 additions & 203 deletions .eslintrc

This file was deleted.

6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: 'standard',
env: {
jest: true
}
}
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "10"
dist: trusty

before_script:
- npm i
- npm i -D coveralls

script:
- npm run lint
- jest --coverage
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- rm -rf ./coverage
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# amp-custom

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/amp-custom.svg)](https://badge.fury.io/js/amp-custom)
[![Coverage Status](https://coveralls.io/repos/github/kimulaco/amp-custom/badge.svg)](https://coveralls.io/github/kimulaco/amp-custom)

Optimize CSS source for AMP HTML.

Expand Down Expand Up @@ -102,4 +104,4 @@ ampCustom.isOverMaxByte(cssSource); // false

## License

[MIT License](https://github.com/kimulaco/amp-custom/blob/master/LICENSE).
[MIT License](LICENSE).
37 changes: 0 additions & 37 deletions __test__/amp-custom.test.js

This file was deleted.

Loading

0 comments on commit 16e0a60

Please sign in to comment.