Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
olalonde committed Sep 19, 2016
0 parents commit 8f7682d
Show file tree
Hide file tree
Showing 11 changed files with 200 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["blockai"]
}
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "blockai"
}
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

# Environment variable files
.envrc
.env

# Temporary / data folders
.tmp
data/

# Build directory
lib/

41 changes: 41 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Environment variable files
.envrc
.env

# Temporary / data folders
.tmp
data/

# Source directory
src/

# Test directory
test/

.eslintrc
.babelrc
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo: false
language: node_js
notifications:
email: false
node_js:
- 6
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2016 Olivier Lalonde <olalonde@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# fs-tus-store

[![Build Status](https://travis-ci.org/blockai/fs-tus-store.svg?branch=master)](https://travis-ci.org/blockai/fs-tus-store)

WIP

## Install

```bash
npm install --save fs-tus-store
```

Requires Node v6+

## Usage

See [./test](./test) directory for usage examples.
55 changes: 55 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "fs-tus-store",
"version": "1.0.0",
"description": "",
"main": "./lib/index.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "npm run test:fast",
"build": "npm run clean && babel ./src --out-dir ./lib --copy-files",
"clean": "rimraf ./lib",
"lint": "eslint src/ test/",
"pretest": "npm run lint",
"test:fast": "babel-tape-runner test/*.test.js",
"test:watch": "nodemon --exec npm -- run --silent test:fast || true",
"semantic-release": "git push && npm test && semantic-release pre && npm run build && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/blockai/fs-tus-store.git"
},
"keywords": [],
"author": "Oli Lalonde <olalonde@gmail.com> (https://syskall.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/blockai/fs-tus-store/issues"
},
"homepage": "https://github.com/blockai/fs-tus-store#readme",
"engines": {
"node": ">=6"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-preset-blockai": "^1.0.0",
"babel-tape-runner": "^2.0.1",
"blue-tape": "^1.0.0",
"cz-conventional-changelog": "^1.2.0",
"eslint-config-blockai": "^1.0.1",
"nodemon": "^1.10.2",
"rimraf": "^2.5.4",
"semantic-release": "^4.3.5"
},
"release": {
"debug": false,
"verifyConditions": {
"path": "./node_modules/semantic-release/dist/lib/plugin-noop.js"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default () => {

}
5 changes: 5 additions & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}]
}
}
7 changes: 7 additions & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import test from 'blue-tape'
import init from '../src'

test('todo', (t) => {
t.ok(!!init)
t.end()
})

0 comments on commit 8f7682d

Please sign in to comment.