Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Study@3 #21

Merged
merged 11 commits into from Jun 20, 2017
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 27 additions & 2 deletions .babelrc
@@ -1,4 +1,29 @@
{
"presets": [ "es2015-rollup" ],
"plugins": ["transform-class-properties"]
"presets": [
"stage-2"
],
"plugins": [
"transform-runtime"
],
"env": {
"production": {
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "safari >= 7", "ie >= 11"]
},
"modules": false
}]
]
},
"test": {
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "safari >= 7", "ie >= 11"]
}
}]
]
}
}
}
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -3,6 +3,7 @@ parser: babel-eslint
extends: airbnb/base
rules:
import/no-extraneous-dependencies: off
consistent-return: off
no-confusing-arrow: off
no-console: off
no-plusplus: off
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
@@ -1,3 +1,5 @@
coverage
node_modules
npm-debug.log
.DS_Store
*.log
*.log.*
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -4,9 +4,10 @@

> A progressive, client/server AB testing library.

[![CircleCI](https://circleci.com/gh/dollarshaveclub/study/tree/master.svg?style=svg)](https://circleci.com/gh/dollarshaveclub/study/tree/master)
[![codecov](https://codecov.io/gh/dollarshaveclub/study/branch/master/graph/badge.svg)](https://codecov.io/gh/dollarshaveclub/study)
[![npm][npm-image]][npm-url]
[![bower][bower-image]][bower-url]
[![Build Status](https://travis-ci.org/dollarshaveclub/study.svg?branch=master)](https://travis-ci.org/dollarshaveclub/postmate)
[![Share](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](#)

[npm-image]: https://badge.fury.io/js/studyjs.svg
Expand All @@ -16,7 +17,7 @@

Study is an AB testing library designed to be clear, minimal, and flexible. It works in both the server and browser with the use of driver-based persistence layers.

You can download the compiled javascript directly [here](/build/study.min.js)
You can download the compiled javascript directly [here](/build/study.js)

* [Features](#features)
* [Installing](#installing)
Expand Down Expand Up @@ -60,7 +61,7 @@ npm test # Run tests

## Usage
```html
<script src="study.min.js"></script>
<script src="study.js"></script>
<script>

// Set up our test API
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -5,7 +5,7 @@
"Jacob Kelley <jacob.kelley@dollarshaveclub.com>"
],
"description": "A client side A/B tester",
"main": "build/study.min.js",
"main": "build/study.js",
"keywords": [

],
Expand Down