-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 1.86 KB
/
package.json
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
{
"name": "sls-ts-template",
"version": "0.0.1",
"license": "MIT",
"private": true,
"workspaces": [
"src/functions/*"
],
"nohoist": [
"**"
],
"scripts": {
"lint": "eslint . --ext ts,js --fix",
"sls-ts": "node ./scripts/sls-ts.js",
"package:dev": "cross-env SLS_REGION=us-east-1 SLS_STAGE=dev NODE_ENV=development sls package --tsconfigFilePath=tsconfig.dev.json --noCopyDeps=true",
"deploy:dev": "cross-env SLS_REGION=us-east-1 SLS_STAGE=dev NODE_ENV=development sls deploy --tsconfigFilePath=tsconfig.dev.json --noCopyDeps=true",
"remove:dev": "cross-env SLS_REGION=us-east-1 SLS_STAGE=dev NODE_ENV=development sls remove",
"package:test": "cross-env SLS_REGION=us-east-1 NODE_ENV=test sls package --tsconfigFilePath=tsconfig.dev.json --noCopyDeps=true",
"deploy:test": "cross-env SLS_REGION=us-east-1 NODE_ENV=test sls deploy --tsconfigFilePath=tsconfig.dev.json --noCopyDeps=true",
"remove:test": "cross-env SLS_REGION=us-east-1 NODE_ENV=test serverless remove",
"test:unit": "cross-env SLS_REGION=us-east-1 SLS_STAGE=test jest __tests__/unit",
"test:integration": "cross-env TEST_INTEGRATION=1 jest __tests__/integration",
"test:ci": "yarn test:unit --coverage && yarn test:integration --coverage"
},
"devDependencies": {
"@jeremigendron/sls-ts-plugin": "^1.2.3",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.5",
"@types/uuid": "^7.0.3",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"aws-sdk": "^2.672.0",
"axios": "^0.19.2",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": ">=25 <26",
"js-yaml": "^3.13.1",
"prettier": "^2.0.5",
"serverless": "1.66.0",
"ts-jest": "^25.5.0",
"typescript": "^3.8.3",
"yargs": "^15.3.1"
}
}