Skip to content

Commit 1329389

Browse files
committed
Add AVA, XO and codecov!
1 parent 9e972f3 commit 1329389

10 files changed

+6364
-885
lines changed

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = tab
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto eol=lf
3+
4+
# Image files
5+
*.exe binary
6+
ffprobe binary

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
node_modules
44
*.tgz
55
.nyc_output
6+
coverage.lcov
67

.tidelift.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ci:
2+
platform:
3+
npm:
4+
argv:
5+
tests:
6+
unlicensed: skip

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- '10'
4+
- '9'
5+
- '8'
6+
- '6'
7+
before_install:
8+
- npm install --global npm
9+
- npm version
10+
script:
11+
- npm run test
12+
os:
13+
- linux
14+
- osx

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# node-ffprobe-installer
22
[![npm](https://img.shields.io/npm/dt/@ffprobe-installer/ffprobe.svg?style=flat-square)](https://www.npmjs.com/package/@ffprobe-installer/ffprobe) [![npm](https://img.shields.io/npm/v/@ffprobe-installer/ffprobe.svg?style=flat-square)](https://www.npmjs.com/package/@ffprobe-installer/ffprobe?activeTab=versions) [![xo](https://img.shields.io/badge/code%20style-XO-60CFBE.svg?longCache=true&style=flat-square&logo=)](https://github.com/xojs/xo)
33

4+
[![Travis](https://img.shields.io/travis/SavageCore/node-ffprobe-installer.svg?style=flat-square)](https://travis-ci.org/SavageCore/node-ffprobe-installer/) [![AppVeyor](https://img.shields.io/appveyor/ci/SavageCore/node-ffprobe-installer.svg?style=flat-square)](https://ci.appveyor.com/project/SavageCore/node-ffprobe-installer) [![Codecov](https://img.shields.io/codecov/c/github/SavageCore/node-ffprobe-installer.svg?style=flat-square)](https://codecov.io/gh/SavageCore/node-ffprobe-installer/) [![Tidelift](https://tidelift.com/badges/github/SavageCore/node-ffprobe-installer?style=flat-square)](https://tidelift.com/repo/github/SavageCore/node-ffprobe-installer/)
5+
6+
47
Platform independent binary installer of [FFprobe](https://ffmpeg.org/) for node projects. Useful for tools that should "just work" on multiple environments.
58

69
Installs a binary of `ffprobe` for the current platform and provides a path and version. Supports Linux, Windows 7+ and MacOS 10.9+.

appveyor.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
build: off
2+
3+
os: unstable
4+
5+
platform:
6+
- x86
7+
- x64
8+
9+
skip_tags: true
10+
11+
environment:
12+
matrix:
13+
- nodejs_version: "10"
14+
- nodejs_version: "9"
15+
- nodejs_version: "8"
16+
- nodejs_version: "6"
17+
18+
cache:
19+
- node_modules -> package.json
20+
21+
install:
22+
- ps: Install-Product node $env:nodejs_version $env:platform
23+
- npm install -g npm
24+
- npm install
25+
26+
before_test:
27+
- node --version
28+
- npm --version
29+
30+
test_script:
31+
- npm test

0 commit comments

Comments
 (0)