example > package.json - Support typescript in examples

Using react-scripts-ts instead of react-scripts
This commit is contained in:
2020-01-24 16:38:38 +05:30
parent 0aacaa379c
commit 4c7df6dfc8
2 changed files with 5413 additions and 3167 deletions
+6 -5
View File
@@ -8,14 +8,15 @@
"prop-types": "^15.6.2", "prop-types": "^15.6.2",
"react": "^16.4.1", "react": "^16.4.1",
"react-dom": "^16.4.1", "react-dom": "^16.4.1",
"react-scripts": "^1.1.4",
"ts-transformer-visualizer": "link:..", "ts-transformer-visualizer": "link:..",
"typescript": "^3.7.5" "typescript": "^3.7.5"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts-ts start",
"build": "react-scripts build", "build": "react-scripts-ts build",
"test": "react-scripts test --env=jsdom", "test": "react-scripts-ts test --env=jsdom"
"eject": "react-scripts eject" },
"devDependencies": {
"@jpavon/react-scripts-ts": "^1.2.2"
} }
} }
+5407 -3162
View File
File diff suppressed because it is too large Load Diff