Skip to content

Commit

Permalink
downgrade react scripts to 3.40 for windows; move tsnode config to file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Old committed Jun 12, 2020
1 parent 3d73bad commit 9acf02c
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 169 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"react-number-format": "4.4.1",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.1",
"react-scripts": "3.4.0",
"react-virtualized": "9.21.2",
"shortid": "2.2.15",
"ts-node": "8.10.2",
Expand Down Expand Up @@ -124,8 +124,8 @@
"start:api:watch": "nodemon --exec yarn tsnode --watch 'backend' backend/app.ts",
"start:react:proxy-server": "yarn tsnode scripts/testServer.ts",
"prettier": "prettier --write '**/**.{ts,js,tsx}'",
"tsnode": "nyc --silent ts-node -O '{\"isolatedModules\": false, \"module\": \"commonjs\" }'",
"tsnode:not-instrumented": "ts-node -O '{\"isolatedModules\": false, \"module\": \"commonjs\" }'",
"tsnode": "nyc --silent ts-node -P tsconfig.tsnode.json",
"tsnode:not-instrumented": "ts-node -P tsconfig.tsnode.json",
"db:seed": "yarn tsnode scripts/generateSeedData",
"db:seed:dev": "ncp ./data/database-seed.json ./data/database.json",
"db:seed:empty": "ncp ./data/empty-seed.json ./data/database.json",
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.tsnode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"isolatedModules": false
}
}
Loading

0 comments on commit 9acf02c

Please sign in to comment.