-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
67 lines (67 loc) · 2.52 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "aws-build-badges",
"version": "0.1.0",
"author": "Meir Gabay <unfor19@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-typescript": "^7.7.2",
"@types/jest": "^24.0.23",
"@types/node": "^12.12.9",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"babel-jest": "^24.9.0",
"eslint": "^6.7.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": ">=1",
"jest": "^24.9.0",
"libxmljs": "^0.19.7",
"lint-staged": ">=8",
"prettier": "^1.19.1",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.5.2",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"scripts": {
"test:vault": "export $(cat .env) && aws-vault exec ${VAULT_PROFILE_TESTING} -- jest --detectOpenHandles",
"test:aws": "jest --detectOpenHandles",
"installDeps": "bash install_services_deps",
"build:dev": "bash build_services_dev",
"build:prod": "bash build_services_prod",
"deploy:vault-dev": "yarn build:prod && export $(cat .env) && aws-vault exec ${VAULT_PROFILE_DEV} -- sls deploy --verbose --stage=dev",
"deploy:vault-staging": "yarn build:prod && export $(cat .env) && aws-vault exec ${VAULT_PROFILE_STAGING} -- sls deploy --verbose --stage=staging",
"deploy:vault-prod": "yarn build:prod && export $(cat .env) && aws-vault exec ${VAULT_PROFILE_PROD} -- sls deploy --verbose --stage=prod",
"deploy:dev": "sls deploy --verbose --stage=dev",
"deploy:staging": "sls deploy --verbose --stage=staging",
"deploy:prod": "sls deploy --verbose --stage=prod",
"destroy:vault-dev": "export $(cat .env) && aws-vault exec ${VAULT_PROFILE_DEV} -- sls remove --verbose --stage=dev",
"destroy:vault-staging": "export $(cat .env) && aws-vault exec ${VAULT_PROFILE_STAGING} -- sls remove --verbose --stage=staging",
"destroy:vault-prod": "export $(cat .env) && aws-vault exec ${VAULT_PROFILE_PROD} -- sls remove --verbose --stage=prod",
"destroy:dev": "sls remove --verbose --stage=dev",
"destroy:staging": "sls remove --verbose --stage=staging",
"destroy:prod": "sls remove --verbose --stage=prod"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.ts": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"serialize-javascript": "^3.1.0"
}
}