Skip to content

Commit c764c16

Browse files
committed
Update NPM test script
- Removed `jest --clearCache` as the issue of Jest stucks on await dynamic imports seems to be fixed. - Disabled Node experimental warnings.
1 parent 57f566f commit c764c16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
"name": "electron-react-typescript-webpack-boilerplate",
33
"version": "4.1.2",
44
"description": "Pre-configured boilerplate for Electron + React + TypeScript",
5-
"type": "module",
65
"main": "./dist/main.bundle.js",
76
"scripts": {
87
"start": "electron ./dist/main.bundle.js",
98
"dev": "rimraf dist && cross-env NODE_ENV=development webpack --watch --progress --color",
109
"prod": "rimraf dist && cross-env NODE_ENV=production webpack --progress --color",
11-
"test": "jest --clearCache && cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest",
10+
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
1211
"watch-test": "npm run test -- --watchAll",
1312
"next-rc": "npm --no-git-tag-version version prerelease --preid=rc",
1413
"next-patch": "npm --no-git-tag-version version patch",

0 commit comments

Comments
 (0)