File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4
4
- 4
5
5
- 5
6
6
- stable
7
- script :
8
- - npm run lint
9
- - npm run test
7
+ script : npm run check
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ type flowFunctionSignatureType = {
33
33
34
34
type FlowTypeDescriptor = {
35
35
name : string ,
36
+ alias ?: string ,
36
37
value ?: string ,
37
38
required ?: boolean ,
38
39
nullable ?: boolean ,
Original file line number Diff line number Diff line change 12
12
},
13
13
"main" : " dist/main.js" ,
14
14
"scripts" : {
15
+ "check" : " npm run lint && npm run flow && npm test" ,
16
+ "flow" : " flow" ,
15
17
"lint" : " eslint src/" ,
16
18
"watch" : " babel src/ --out-dir dist/ --watch" ,
17
19
"build" : " rimraf dist/ && babel src/ --out-dir dist/ --ignore __tests__,__mocks__" ,
37
39
"devDependencies" : {
38
40
"babel-cli" : " ^6.9.0" ,
39
41
"babel-eslint" : " ^6.0.4" ,
40
- "babel-jest" : " ^12 .1.0" ,
42
+ "babel-jest" : " ^14 .1.0" ,
41
43
"babel-plugin-syntax-flow" : " ^6.8.0" ,
42
44
"babel-plugin-transform-flow-strip-types" : " ^6.8.0" ,
43
45
"babel-plugin-transform-runtime" : " ^6.9.0" ,
44
46
"babel-preset-es2015" : " ^6.9.0" ,
45
47
"babel-preset-stage-1" : " ^6.5.0" ,
46
48
"cross-spawn" : " ^4.0.0" ,
47
- "eslint" : " ^2.10.2" ,
48
- "jest-cli" : " ^12.1.1" ,
49
+ "eslint" : " ^3.2.2" ,
50
+ "flow-bin" : " ^0.30.0" ,
51
+ "jest-cli" : " ^14.1.0" ,
49
52
"rimraf" : " ^2.3.2" ,
50
53
"temp" : " ^0.8.1"
51
54
},
You can’t perform that action at this time.
0 commit comments