Skip to content

Commit a4f4e1f

Browse files
committed
Upgrade deps and use jest
1 parent e90fd0c commit a4f4e1f

31 files changed

Lines changed: 3163 additions & 7131 deletions

.babelrc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2-
"presets": ["stage-1", "es2015", "react"],
3-
"plugins": ["transform-class-properties"]
2+
"presets": ["env", "react"],
3+
"plugins": ["transform-class-properties"],
4+
"env": {
5+
"production": {
6+
"plugins": ["babel-plugin-add-module-exports"]
7+
}
8+
}
49
}

.circleci/config.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:8-browsers
6+
7+
steps:
8+
- checkout
9+
10+
- restore_cache:
11+
keys:
12+
- v1-dependencies-{{ checksum "yarn.lock" }}
13+
# fallback to using the latest cache if no exact match is found
14+
- v1-dependencies-
15+
16+
- run: yarn install
17+
18+
- save_cache:
19+
paths:
20+
- node_modules
21+
key: v1-dependencies-{{ checksum "yarn.lock" }}
22+
23+
- run: yarn test

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"rules": {
1818
"camelcase": 0,
1919
"no-sequences": 0,
20-
"no-extra-parens": 2,
2120
"no-loop-func": 2,
2221
"require-yield": 2
2322
}

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ lib-cov
1313
# Coverage directory used by tools like istanbul
1414
coverage
1515

16-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17-
.grunt
18-
1916
# node-waf configuration
2017
.lock-wscript
2118

@@ -26,6 +23,4 @@ build/Release
2623
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2724
node_modules
2825

29-
run-browserstack-tests.sh
30-
31-
bundle.js
26+
lib

circle.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

lib/CoreExperiment.js

Lines changed: 0 additions & 129 deletions
This file was deleted.

lib/Experiment.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)