4
4
"description" : " The official Dapr (https://dapr.io) SDK for Node.js" ,
5
5
"types" : " http/index.d.ts" ,
6
6
"scripts" : {
7
- "test" : " jest --runInBand --detectOpenHandles" ,
8
- "test:e2e:grpc:main" : " TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --components-path ./test/components npm run test 'test/e2e/main.grpc.test.ts'" ,
9
- "test:e2e:http:main" : " TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test 'test/e2e/main.http.test.ts'" ,
10
- "test:e2e:http:actors" : " dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test 'test/e2e/actors.http.test.ts'" ,
11
- "test:unit" : " NODE_ENV=test npm run test 'test/unit/.* \\ .test \\ .ts' " ,
12
- "test:unit:main" : " NODE_ENV=test npm run test 'test/unit/main/.*\\ .test\\ .ts'" ,
13
- "test:unit:actors" : " NODE_ENV=test npm run test 'test/unit/actor/.*\\ .test\\ .ts'" ,
7
+ "test:e2e " : " jest --runInBand --detectOpenHandles --forceExit " ,
8
+ "test:e2e:grpc:main" : " TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --components-path ./test/components npm run test:e2e 'test/e2e/main.grpc.test.ts'" ,
9
+ "test:e2e:http:main" : " TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test:e2e 'test/e2e/main.http.test.ts'" ,
10
+ "test:e2e:http:actors" : " dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test:e2e 'test/e2e/actors.http.test.ts'" ,
11
+ "test:unit" : " jest --runInBand --detectOpenHandles " ,
12
+ "test:unit:main" : " NODE_ENV=test npm run test:unit 'test/unit/main/.*\\ .test\\ .ts'" ,
13
+ "test:unit:actors" : " NODE_ENV=test npm run test:unit 'test/unit/actor/.*\\ .test\\ .ts'" ,
14
14
"lint" : " eslint . --ext .js,.jsx,.ts,.tsx" ,
15
15
"build" : " ./scripts/build.sh" ,
16
16
"start:dev" : " npm run build && nodemon --ext \" .ts,.js\" --watch \" ./src\" --exec \" npm run build\" "
51
51
"url" : " https://github.com/dapr/js-sdk.git" ,
52
52
"directory" : " "
53
53
}
54
- }
54
+ }
0 commit comments