File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
"pretty" : " prettier --loglevel warn --write lib/*.js tests/*.js" ,
28
28
"pretty-lint" : " prettier --check lib/*.js tests/*.js" ,
29
29
"pretest" : " npm run pretty-lint" ,
30
- "test" : " NODE_OPTIONS=--openssl-legacy-provider jest --runInBand --env node" ,
31
- "test-debug" : " NODE_OPTIONS=--openssl-legacy-provider node --inspect-brk=0.0.0.0 node_modules/jest/bin/jest --runInBand --env node" ,
30
+ "test" : " cross-env NODE_OPTIONS=--openssl-legacy-provider jest --runInBand --env node" ,
31
+ "test-debug" : " cross-env NODE_OPTIONS=--openssl-legacy-provider node --inspect-brk=0.0.0.0 node_modules/jest/bin/jest --runInBand --env node" ,
32
32
"posttest" : " tsc" ,
33
33
"test-watch" : " jest --runInBand --env node --watchAll" ,
34
- "ci" : " NODE_OPTIONS=--openssl-legacy-provider npm run pretest && jest --runInBand --coverage --env node && npm run posttest"
34
+ "ci" : " cross-env NODE_OPTIONS=--openssl-legacy-provider npm run pretest && jest --runInBand --coverage --env node && npm run posttest"
35
35
},
36
36
"jest" : {
37
37
"setupFilesAfterEnv" : [
46
46
"@typescript-eslint/parser" : " ^2.34.0" ,
47
47
"commitizen" : " ^4.3.0" ,
48
48
"compression-webpack-plugin" : " ^6.1.1" ,
49
+ "cross-env" : " ^7.0.3" ,
49
50
"css-loader" : " ^5.2.7" ,
50
51
"cz-conventional-changelog" : " 3.3.0" ,
51
52
"eslint" : " ^6.8.0" ,
You can’t perform that action at this time.
0 commit comments