Skip to content

Commit

Permalink
build: add tslib
Browse files Browse the repository at this point in the history
  • Loading branch information
rodmax committed Nov 6, 2019
1 parent 178eb04 commit a9894fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The main purpose of this project is to study web applications development based
- [x] Stylelint
- [ ] Review tools of [minimizing for production](https://webpack.js.org/plugins/mini-css-extract-plugin/#minimizing-for-production)
- Build:
- [ ] add [tslib](https://www.npmjs.com/package/tslib)
- [x] add [tslib](https://www.npmjs.com/package/tslib)
- App:
- [ ] localization
- [ ] form handling(ui/server validation, form state)
Expand Down
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
],
"dependencies": {
"react": "16.11.0",
"react-dom": "16.11.0"
"react-dom": "16.11.0",
"tslib": "1.10.0"
},
"devDependencies": {
"@testing-library/react": "9.3.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
"importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
Expand Down

0 comments on commit a9894fd

Please sign in to comment.