File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 10
10
"pretest" : " relative-deps" ,
11
11
"start" : " react-scripts start" ,
12
12
"build" : " react-scripts build" ,
13
- "test" : " react-scripts test" ,
13
+ "test" : " react-scripts test && test:typescript" ,
14
+ "test:typescript" : " tsc --version && tsc --noEmit" ,
14
15
"now-build" : " SKIP_PREFLIGHT_CHECK=true react-scripts build"
15
16
},
16
17
"dependencies" : {
Original file line number Diff line number Diff line change 26
26
"test:compat" : " yarn test:backwards && yarn test:forwards && yarn test:latest" ,
27
27
"test:examples" : " CI=1 lerna run --scope '*-example' test -- --passWithNoTests --watchAll=false" ,
28
28
"test:chromatic" : " chromatic --app-code iiua39bmt0j --build-script-name build:storybook --exit-zero-on-changes" ,
29
+ "test:typescript" : " tsc --version && tsc --noEmit --project packages/react-async" ,
29
30
"resolutions:fix-react" : " jq '.resolutions.react = .devDependencies.react|.resolutions.\" react-dom\" =.devDependencies.react' package.json > package.json.new && mv package.json.new package.json && yarn install" ,
30
- "ci" : " yarn lint && yarn test:compat && yarn test:examples" ,
31
+ "ci" : " yarn lint && yarn test:typescript && yarn test && yarn test: compat && yarn test:examples" ,
31
32
"build:packages" : " lerna run --scope 'react-async*' build" ,
32
33
"build:examples" : " lerna run --scope '*-example' build" ,
33
34
"build:storybook" : " build-storybook -o storybook" ,
You can’t perform that action at this time.
0 commit comments