File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -33,5 +33,11 @@ tools/flow/definitions/
3333# and not have flow throw a hissy fit.
3434module.name_mapper='^\(.*\)\.\(css\|eot\|gif\|ico\|jpg\|jpeg\|less\|otf\|mp3\|mp4\|ogg\|png\|sass\|scss\|sss\|svg\|swf\|ttf\|webp\|woff\|woff2\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/WebpackAsset.js.flow'
3535
36+ # Sometimes we expect a flow error, and don't want to fix it. e.g. in our tests.
37+ suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
38+
39+ # Mark a flow error as to be fixed later
40+ suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
41+
3642[version]
37430.37.4
Original file line number Diff line number Diff line change 44 yarn : true
55 directories :
66 - node_modules
7- branches :
8- only :
9- - master
10- - /^greenkeeper-/
7+ deploy :
8+ provider : npm
9+ email : sean@ctrlplusb.com
10+ # TODO: run:
11+ # travis encrypt YOUR_API_KEY --add deploy.api_key
12+ on :
13+ branch : master
14+ tags : true
1115node_js :
12- - ' 7'
16+ - ' 7'
1317script :
14- - yarn run check
18+ - yarn run flow:defs
19+ - yarn run check
1520after_success :
16- - yarn run test:coverage:deploy
17- - yarn run publish
21+ - yarn run test:coverage:deploy
Original file line number Diff line number Diff line change 77 "files" : [
88 " *.js" ,
99 " *.md" ,
10- " umd"
10+ " umd" ,
11+ " commonjs"
1112 ],
12- "engines" : {
13- "node" : " >=7.0.0"
14- },
1513 "repository" : {
1614 "type" : " git" ,
1715 "url" : " https://github.com/ctrlplusb/npm-library-starter.git"
2523 "build" : " babel-node ./tools/scripts/build.js" ,
2624 "check" : " yarn run lint && yarn run flow && yarn run test" ,
2725 "clean" : " rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./flow-coverage" ,
28- "example" : " echo 'Make sure to `cd example && yarn install`' && cd example && yarn run start" ,
26+ "example:web " : " echo 'Make sure to `cd example/web && yarn install`' && cd example/web && yarn run start" ,
2927 "flow" : " babel-node ./tools/scripts/flow" ,
3028 "flow:coverage" : " flow-coverage-report -i 'src/**/*.js' -t html -t json -t text" ,
3129 "flow:defs" : " flow-typed install --overwrite" ,
32- "lint" : " eslint modules " ,
30+ "lint" : " eslint src " ,
3331 "prepublish" : " yarn run build" ,
3432 "test" : " jest" ,
3533 "test:coverage" : " yarn run test -- --coverage" ,
You can’t perform that action at this time.
0 commit comments