File tree Expand file tree Collapse file tree 3 files changed +192
-174
lines changed Expand file tree Collapse file tree 3 files changed +192
-174
lines changed Original file line number Diff line number Diff line change 7
7
yarn : true
8
8
directories :
9
9
- node_modules
10
+ script :
11
+ - npm run test:ci
10
12
after_success :
11
13
- npm run coveralls
Original file line number Diff line number Diff line change 18
18
"main" : " lib/index.js" ,
19
19
"scripts" : {
20
20
"build" : " rimraf lib && babel src --out-dir lib --copy-files" ,
21
- "prepublish" : " npm run lint && npm run flow && npm run test && npm run build" ,
22
21
"coveralls" : " cat ./reports/lcov.info | coveralls" ,
22
+ "create" : " node ./scripts/create-rule" ,
23
23
"flow" : " if [ ! -e ./.flowconfig ]; then echo \" Could not find .flowconfig\" ; else flow; test $? -eq 0 -o $? -eq 2; fi" ,
24
- "lint" : " eslint --config .eslintrc src __tests__ __mocks__ scripts" ,
25
24
"lint:fix" : " npm run lint -- --fix" ,
25
+ "lint" : " eslint --config .eslintrc src __tests__ __mocks__ scripts" ,
26
+ "prepublish" : " npm run lint && npm run flow && npm run test && npm run build" ,
26
27
"pretest" : " npm run lint:fix && npm run flow" ,
28
+ "test:ci" : " npm test -- --ci --runInBand" ,
27
29
"test" : " jest --coverage __tests__/**/*" ,
28
- "create" : " node ./scripts/create-rule"
29
30
},
30
31
"devDependencies" : {
31
32
"babel-cli" : " ^6.14.0" ,
42
43
"eslint-plugin-flowtype" : " ^2.32.1" ,
43
44
"eslint-plugin-import" : " ^2.2.0" ,
44
45
"expect" : " ^1.20.2" ,
45
- "flow-bin" : " ^0.45 .0" ,
46
+ "flow-bin" : " ^0.46 .0" ,
46
47
"jest" : " ^20.0.0" ,
47
48
"jscodeshift" : " ^0.3.30" ,
48
49
"minimist" : " ^1.2.0" ,
You can’t perform that action at this time.
0 commit comments