Skip to content

Commit

Permalink
skip lib check for building typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
hoorayimhelping committed Oct 29, 2019
1 parent 89be9e6 commit c59398c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"test": "yarn run lint && yarn run typecheck",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{ts,tsx}'",
"typecheck": "tsc --noEmit --pretty",
"typecheck": "tsc --noEmit --pretty --skipLibCheck",
"storybook": "start-storybook -p 9001 -c .storybook",
"publishStorybook": "storybook-to-ghpages --out=.out"
},
Expand Down
28 changes: 14 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"compilerOptions": {
"outDir": "./dist",
"module": "es2015",
"target": "es5",
"lib": ["es5", "es2015", "es2016", "es2017", "es2018", "esnext", "dom"],
"sourceMap": true,
"allowJs": false,
"allowSyntheticDefaultImports": true,
"declaration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["es5", "es2015", "es2016", "es2017", "es2018", "esnext", "dom"],
"module": "es2015",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"outDir": "./dist",
"rootDir": "src",
"sourceMap": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"typeRoots": ["node_modules/@types", "./typings.d.ts"],
"esModuleInterop": true
"target": "es5",
"typeRoots": ["node_modules/@types", "./typings.d.ts"]
}
}

0 comments on commit c59398c

Please sign in to comment.