Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Commit faae3ad

Browse files
committed
Set up to run CI on Circle
1 parent 581feb3 commit faae3ad

File tree

3 files changed

+138
-3
lines changed

3 files changed

+138
-3
lines changed

circle.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
machine:
2+
environment:
3+
PATH: "${PATH:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
4+
node:
5+
version: 6.11.0
6+
7+
dependencies:
8+
cache_directories:
9+
- ~/.cache/yarn
10+
override:
11+
- yarn
12+
13+
test:
14+
override:
15+
- yarn validate

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"lint": "eslint '**/*.js' --max-warnings 0",
1212
"precommit": "lint-staged",
1313
"test": "jest --coverage",
14-
"test:watch": "jest --watch"
14+
"test:watch": "jest --watch",
15+
"validate": "npm-run-all -p lint test"
1516
},
1617
"repository": {
1718
"type": "git",
@@ -51,6 +52,7 @@
5152
"husky": "^0.13.4",
5253
"jest": "^20.0.4",
5354
"lint-staged": "^3.6.1",
55+
"npm-run-all": "^4.0.2",
5456
"prettier": "^1.4.4",
5557
"react": "16.0.0-alpha.12",
5658
"react-native": "^0.45.1",

yarn.lock

Lines changed: 120 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,13 @@ default-require-extensions@^1.0.0:
13181318
dependencies:
13191319
strip-bom "^2.0.0"
13201320

1321+
define-properties@^1.1.2:
1322+
version "1.1.2"
1323+
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
1324+
dependencies:
1325+
foreach "^2.0.5"
1326+
object-keys "^1.0.8"
1327+
13211328
del@^2.0.2:
13221329
version "2.2.2"
13231330
resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8"
@@ -1388,6 +1395,10 @@ [email protected]:
13881395
dependencies:
13891396
readable-stream "~1.1.9"
13901397

1398+
duplexer@~0.1.1:
1399+
version "0.1.1"
1400+
resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
1401+
13911402
ecc-jsbn@~0.1.1:
13921403
version "0.1.1"
13931404
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505"
@@ -1427,6 +1438,23 @@ errorhandler@~1.4.2:
14271438
accepts "~1.3.0"
14281439
escape-html "~1.0.3"
14291440

1441+
es-abstract@^1.4.3:
1442+
version "1.7.0"
1443+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
1444+
dependencies:
1445+
es-to-primitive "^1.1.1"
1446+
function-bind "^1.1.0"
1447+
is-callable "^1.1.3"
1448+
is-regex "^1.0.3"
1449+
1450+
es-to-primitive@^1.1.1:
1451+
version "1.1.1"
1452+
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
1453+
dependencies:
1454+
is-callable "^1.1.1"
1455+
is-date-object "^1.0.1"
1456+
is-symbol "^1.0.1"
1457+
14301458
es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
14311459
version "0.10.23"
14321460
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.23.tgz#7578b51be974207a5487821b56538c224e4e7b38"
@@ -1662,6 +1690,18 @@ event-emitter@~0.3.5:
16621690
d "1"
16631691
es5-ext "~0.10.14"
16641692

1693+
event-stream@~3.3.0:
1694+
version "3.3.4"
1695+
resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571"
1696+
dependencies:
1697+
duplexer "~0.1.1"
1698+
from "~0"
1699+
map-stream "~0.1.0"
1700+
pause-stream "0.0.11"
1701+
split "0.3"
1702+
stream-combiner "~0.0.4"
1703+
through "~2.3.1"
1704+
16651705
event-target-shim@^1.0.5:
16661706
version "1.1.1"
16671707
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-1.1.1.tgz#a86e5ee6bdaa16054475da797ccddf0c55698491"
@@ -1856,6 +1896,10 @@ for-own@^0.1.4:
18561896
dependencies:
18571897
for-in "^1.0.1"
18581898

1899+
foreach@^2.0.5:
1900+
version "2.0.5"
1901+
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
1902+
18591903
forever-agent@~0.6.1:
18601904
version "0.6.1"
18611905
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
@@ -1880,6 +1924,10 @@ [email protected]:
18801924
version "0.3.0"
18811925
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.3.0.tgz#651f838e22424e7566de161d8358caa199f83d4f"
18821926

1927+
from@~0:
1928+
version "0.1.7"
1929+
resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
1930+
18831931
fs-extra@^1.0.0:
18841932
version "1.0.0"
18851933
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -1892,7 +1940,7 @@ fs.realpath@^1.0.0:
18921940
version "1.0.0"
18931941
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
18941942

1895-
function-bind@^1.0.2:
1943+
function-bind@^1.0.2, function-bind@^1.1.0:
18961944
version "1.1.0"
18971945
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
18981946

@@ -2219,12 +2267,20 @@ is-builtin-module@^1.0.0:
22192267
dependencies:
22202268
builtin-modules "^1.0.0"
22212269

2270+
is-callable@^1.1.1, is-callable@^1.1.3:
2271+
version "1.1.3"
2272+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
2273+
22222274
is-ci@^1.0.10, is-ci@^1.0.9:
22232275
version "1.0.10"
22242276
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e"
22252277
dependencies:
22262278
ci-info "^1.0.0"
22272279

2280+
is-date-object@^1.0.1:
2281+
version "1.0.1"
2282+
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
2283+
22282284
is-dotfile@^1.0.0:
22292285
version "1.0.3"
22302286
resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1"
@@ -2322,6 +2378,12 @@ is-property@^1.0.0:
23222378
version "1.0.2"
23232379
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"
23242380

2381+
is-regex@^1.0.3:
2382+
version "1.0.4"
2383+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
2384+
dependencies:
2385+
has "^1.0.1"
2386+
23252387
is-regexp@^1.0.0:
23262388
version "1.0.0"
23272389
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
@@ -2336,6 +2398,10 @@ is-stream@^1.0.1, is-stream@^1.1.0:
23362398
version "1.1.0"
23372399
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
23382400

2401+
is-symbol@^1.0.1:
2402+
version "1.0.1"
2403+
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
2404+
23392405
is-typedarray@~1.0.0:
23402406
version "1.0.0"
23412407
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
@@ -3033,6 +3099,10 @@ [email protected]:
30333099
dependencies:
30343100
tmpl "1.0.x"
30353101

3102+
map-stream@~0.1.0:
3103+
version "0.1.0"
3104+
resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194"
3105+
30363106
30373107
version "0.3.0"
30383108
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
@@ -3232,6 +3302,18 @@ npm-path@^2.0.2:
32323302
dependencies:
32333303
which "^1.2.10"
32343304

3305+
npm-run-all@^4.0.2:
3306+
version "4.0.2"
3307+
resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.0.2.tgz#a84669348e6db6ccbe052200b4cdb6bfe034a4fe"
3308+
dependencies:
3309+
chalk "^1.1.3"
3310+
cross-spawn "^5.0.1"
3311+
minimatch "^3.0.2"
3312+
ps-tree "^1.0.1"
3313+
read-pkg "^2.0.0"
3314+
shell-quote "^1.6.1"
3315+
string.prototype.padend "^3.0.0"
3316+
32353317
npm-run-path@^2.0.0:
32363318
version "2.0.2"
32373319
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
@@ -3274,6 +3356,10 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
32743356
version "4.1.1"
32753357
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
32763358

3359+
object-keys@^1.0.8:
3360+
version "1.0.11"
3361+
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
3362+
32773363
object.omit@^2.0.0:
32783364
version "2.0.1"
32793365
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@@ -3433,6 +3519,12 @@ path-type@^2.0.0:
34333519
dependencies:
34343520
pify "^2.0.0"
34353521

3522+
3523+
version "0.0.11"
3524+
resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
3525+
dependencies:
3526+
through "~2.3"
3527+
34363528
34373529
version "0.1.0"
34383530
resolved "https://registry.yarnpkg.com/pause/-/pause-0.1.0.tgz#ebc8a4a8619ff0b8a81ac1513c3434ff469fdb74"
@@ -3542,6 +3634,12 @@ prr@~0.0.0:
35423634
version "0.0.0"
35433635
resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a"
35443636

3637+
ps-tree@^1.0.1:
3638+
version "1.1.0"
3639+
resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.1.0.tgz#b421b24140d6203f1ed3c76996b4427b08e8c014"
3640+
dependencies:
3641+
event-stream "~3.3.0"
3642+
35453643
pseudomap@^1.0.2:
35463644
version "1.0.2"
35473645
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -4166,6 +4264,12 @@ spdx-license-ids@^1.0.2:
41664264
version "1.2.2"
41674265
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57"
41684266

4267+
4268+
version "0.3.3"
4269+
resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f"
4270+
dependencies:
4271+
through "2"
4272+
41694273
sprintf-js@~1.0.2:
41704274
version "1.0.3"
41714275
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
@@ -4204,6 +4308,12 @@ stream-buffers@~2.2.0:
42044308
version "2.2.0"
42054309
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
42064310

4311+
stream-combiner@~0.0.4:
4312+
version "0.0.4"
4313+
resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14"
4314+
dependencies:
4315+
duplexer "~0.1.1"
4316+
42074317
stream-counter@~0.2.0:
42084318
version "0.2.0"
42094319
resolved "https://registry.yarnpkg.com/stream-counter/-/stream-counter-0.2.0.tgz#ded266556319c8b0e222812b9cf3b26fa7d947de"
@@ -4235,6 +4345,14 @@ string-width@^2.0.0:
42354345
is-fullwidth-code-point "^2.0.0"
42364346
strip-ansi "^3.0.0"
42374347

4348+
string.prototype.padend@^3.0.0:
4349+
version "3.0.0"
4350+
resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0"
4351+
dependencies:
4352+
define-properties "^1.1.2"
4353+
es-abstract "^1.4.3"
4354+
function-bind "^1.0.2"
4355+
42384356
string_decoder@~0.10.x:
42394357
version "0.10.31"
42404358
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
@@ -4350,7 +4468,7 @@ through2@^2.0.0:
43504468
readable-stream "^2.1.5"
43514469
xtend "~4.0.1"
43524470

4353-
through@^2.3.6:
4471+
through@2, through@^2.3.6, through@~2.3, through@~2.3.1:
43544472
version "2.3.8"
43554473
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
43564474

0 commit comments

Comments
 (0)