File tree 5 files changed +5817
-4674
lines changed
5 files changed +5817
-4674
lines changed Original file line number Diff line number Diff line change 7
7
"request" : " launch" ,
8
8
"runtimeArgs" : [
9
9
" --inspect-brk" ,
10
- " ${workspaceRoot}/packages/webpack/ node_modules/jest/bin/jest.js" ,
10
+ " ${workspaceRoot}/node_modules/jest/bin/jest.js" ,
11
11
" --config" ,
12
- " ${workspaceRoot}/packages/webpack/ jest.config.js" ,
12
+ " ${workspaceRoot}/jest.config.js" ,
13
13
" --runInBand"
14
14
],
15
15
"console" : " integratedTerminal" ,
Original file line number Diff line number Diff line change
1
+ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest } */
2
+ module . exports = {
3
+ preset : 'ts-jest' ,
4
+ testEnvironment : 'node' ,
5
+ } ;
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1" ,
8
7
"create-lib" : " dcli create-lib" ,
9
- "webpack" : " pnpm run --filter=@dingchao/webpack test"
8
+ "webpack" : " pnpm run --filter=@dingchao/webpack test" ,
9
+ "test" : " jest ."
10
10
},
11
11
"keywords" : [],
12
12
"author" : " " ,
13
13
"license" : " ISC" ,
14
14
"devDependencies" : {
15
+ "@babel/preset-env" : " ^7.19.0" ,
15
16
"@types/jest" : " ^29.0.0" ,
16
17
"@types/node" : " ^18.7.16" ,
17
- "dingchao_cli" : " ^ 1.0.2 " ,
18
+ "dingchao_cli" : " 1.0.5 " ,
18
19
"jest" : " ^29.0.3" ,
19
20
"ts-jest" : " ^29.0.0" ,
20
21
"typescript" : " ^4.8.3"
Original file line number Diff line number Diff line change 29
29
"@babel/core" : " ^7.19.0" ,
30
30
"@babel/parser" : " ^7.19.0" ,
31
31
"@babel/runtime" : " ^7.18.6" ,
32
- "@babel/traverse" : " ^7.19.0" ,
33
- "@babel/preset-env" : " ^7.19.0"
32
+ "@babel/traverse" : " ^7.19.0"
34
33
},
35
34
"peerDependencies" : {
36
35
"lodash" : " >=4.17.21" ,
37
36
"react" : " >=16.8.0"
38
37
},
39
38
"devDependencies" : {
39
+ "@babel/preset-env" : " ^7.19.0" ,
40
40
"@types/babel__core" : " ^7.1.19" ,
41
41
"@types/babel__traverse" : " ^7.18.1" ,
42
42
"@types/lodash" : " ^4.14.182" ,
You can’t perform that action at this time.
0 commit comments