-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.47 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "mock-processor",
"version": "1.0.0",
"description": "",
"main": "dist/hello.js",
"scripts": {
"build": "./node_modules/typescript/bin/tsc",
"local": "npm run build && ./node_modules/serverless/bin/serverless invoke local -f hello -l",
"deploy": "npm run build && ./node_modules/serverless/bin/serverless deploy -v",
"deploy:function": "npm run build && npm run test:unit && ./node_modules/serverless/bin/serverless deploy function -f hello",
"stream:logs": "./node_modules/serverless/bin/serverless logs -f hello -t",
"test:unit": "jest --verbose test",
"test:unit:coverage": "jest --verbose --coverage=true --collectCoverageFrom=src/**/*.{js,jsx,ts,vue} test || exit 0"
},
"author": "",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@serverless/event-mocks": "^1.1.1",
"@types/serverless": "^1.67.0",
"@types/aws-lambda": "^8.10.50",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.1",
"jest": "^25.4.0",
"jest-mock-extended": "^1.0.8",
"serverless": "^3.26.0",
"ts-jest": "^25.4.0",
"ts-node": "^8.9.0",
"typescript": "^3.8.3"
},
"jest": {
"roots": [
"<rootDir>/test"
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node",
"vue"
]
}
}