File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 17
17
],
18
18
"scripts" : {
19
19
"build" : " cross-env NODE_ENV=production node ./scripts/build.js" ,
20
- "jest" : " cross-env NODE_ENV=test jest \" $@ \" " ,
20
+ "jest" : " cross-env NODE_ENV=test jest" ,
21
21
"lint" : " yarn run lint-prettier && eslint . --cache" ,
22
22
"lint-prettier" : " node ./scripts/prettier.js lint" ,
23
23
"prettier" : " node ./scripts/prettier.js write && eslint . --cache --fix" ,
24
24
"tck" : " yarn run build && node ./packages/rsocket-tck/build/index.js \" $@\" " ,
25
25
"simple-cli" : " yarn run build && node ./packages/rsocket-examples/build/SimpleCli.js \" $@\" " ,
26
26
"resume-example" : " yarn run build && node ./packages/rsocket-examples/build/ResumeExample.js" ,
27
27
"lease-client-example" : " yarn run build && node ./packages/rsocket-examples/build/LeaseClientExample.js \" $@\" " ,
28
- "test" : " f() { EXIT=0; yarn run typecheck || EXIT=$?; yarn run jest \" $@\" || EXIT=$?; exit $EXIT; }; f" ,
29
- "typecheck" : " flow check ./packages/"
28
+ "pretest" : " yarn run typecheck" ,
29
+ "test" : " yarn run jest" ,
30
+ "pretypecheck" : " yarn run flow-version" ,
31
+ "typecheck" : " flow check packages" ,
32
+ "flow-version" : " flow --version"
30
33
},
31
34
"workspaces" : [
32
35
" packages/*"
You can’t perform that action at this time.
0 commit comments