File tree 5 files changed +12
-16
lines changed
5 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 4
4
.*/vendor/jsonlint/.*
5
5
.*/examples/.*
6
6
.*/website/.*
7
+ dangerfile.js
7
8
8
9
[options]
9
10
module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'
Original file line number Diff line number Diff line change @@ -5,22 +5,18 @@ node_js:
5
5
- " 6"
6
6
- " 7"
7
7
8
- sudo : required
8
+ sudo : false
9
9
10
10
cache :
11
+ yarn : true
11
12
directories :
12
13
- " .eslintcache"
13
14
- " node_modules"
14
- - $HOME/.yarn-cache
15
15
16
16
before_install :
17
- # Repo for Yarn
18
- - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
19
- - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
20
- - sudo apt-get update -qq
21
- - sudo apt-get install -y -qq yarn
22
- - yarn global add npm@latest
17
+ - npm install npm@latest
23
18
24
- install : yarn
25
-
26
- script : yarn run test-ci
19
+ script :
20
+ - (cd packages/eslint-plugin-jest && yarn link)
21
+ - yarn link eslint-plugin-jest
22
+ - yarn run test-ci
Original file line number Diff line number Diff line change 15
15
"eslint-plugin-babel" : " ^4.0.0" ,
16
16
"eslint-plugin-flow-vars" : " ^0.5.0" ,
17
17
"eslint-plugin-flowtype" : " ^2.28.2" ,
18
- "eslint-plugin-jest" : " file:packages/eslint-plugin-jest" ,
19
18
"eslint-plugin-react" : " ^6.7.1" ,
20
19
"flow-bin" : " ^0.37.0" ,
21
20
"glob" : " ^7.1.1" ,
46
45
"postinstall" : " node ./scripts/postinstall.js && node ./scripts/build.js" ,
47
46
"publish" : " yarn run build-clean && yarn run build && lerna publish" ,
48
47
"test" : " yarn run typecheck && yarn run lint && yarn run build && yarn run jest && yarn run test-examples" ,
49
- "test-ci" : " yarn run danger" ,
48
+ "test-ci" : " yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -- -i && yarn run test-examples && node scripts/mapCoverage.js && codecov && yarn run danger" ,
50
49
"test-examples" : " node scripts/test_examples.js" ,
51
50
"typecheck" : " flow check" ,
52
51
"watch" : " yarn run build; node ./scripts/watch.js"
Original file line number Diff line number Diff line change 9
9
"main" : " build/index.js" ,
10
10
"dependencies" : {
11
11
"babel-core" : " ^6.0.0" ,
12
- "babel-plugin-istanbul" : " ^3.0.0 " ,
12
+ "babel-plugin-istanbul" : " ^3.1.2 " ,
13
13
"babel-preset-jest" : " ^18.0.0"
14
14
}
15
15
}
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ ajv-keywords@^1.0.0:
35
35
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.0.tgz#c11e6859eafff83e0dafc416929472eca946aa2c"
36
36
37
37
ajv@^4.7.0 :
38
- version "4.10.3 "
39
- resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.10.3 .tgz#3e4fea9675b157de7888b80dd0ed735b83f28e11 "
38
+ version "4.10.4 "
39
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.10.4 .tgz#c0974dd00b3464984892d6010aa9c2c945933254 "
40
40
dependencies :
41
41
co "^4.6.0"
42
42
json-stable-stringify "^1.0.1"
You can’t perform that action at this time.
0 commit comments