Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Knape committed Mar 2, 2017
1 parent 15d6460 commit 9245f72
Show file tree
Hide file tree
Showing 22 changed files with 3,950 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["stage-3", "es2015"],
"plugins": ["transform-flow-strip-types"]
}
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/**
lib/**
dist/**
docs/**
test/**
33 changes: 33 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"extends": ["airbnb-base", "plugin:flowtype/recommended"],
"env": {
"browser": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"forOf": true,
"es6": true,
"experimentalObjectRestSpread" : true
},
},
"rules": {
"comma-dangle": 0,
"object-curly-spacing" : 0,
"arrow-body-style": 0,
"no-console": 0,
"max-len": 0,
"prefer-template": 0,
"import/no-unresolved": 0,
"global-require": 0,
"no-underscore-dangle": 0
},
"plugins": [
"flowtype"
],
"globals": {
}
}
Empty file added .flowconfig
Empty file.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

### In progress

---

### Releases
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# triggerhappy
Easily create native events for testing purposes
# Triggerhappy

> Easily create native events for testing purposes
## Description
**Note: This package is still in heavy development**

Triggerhappy lets you create custom javascript events easily without all the boilerplate it usaully requires. Need to test touchevents or mousemove events inside your application, triggerhappy lets you do that. It also has a couple of helper function for creating custom animations between points an a lot more. Works well with karma and mocha. See the api for more information.

## Usage

> Comming soon
## API

> Comming soon
## License

[MIT](LICENSE). Copyright (c) 2017 Philip Knape.
4 changes: 4 additions & 0 deletions docs/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import prism from 'prismjs';
import 'prismjs/themes/prism.css';

import th from '../src/';
13 changes: 13 additions & 0 deletions docs/assets/images/header-cta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/images/icon-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9245f72

Please sign in to comment.