-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.65 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
68
69
70
71
72
73
74
{
"name": "cdk-lerna-example",
"version": "1.0.0",
"main": "index.js",
"author": "simonverhoeven",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/**",
"!packages/app/cdk.out/**"
]
},
"scripts": {
"clean:light": "rm -rf ./tsconfig.build.tsbuildinfo && rm -rf ./dist",
"clean:full": "yarn run clean:light && rm -rf ./node_modules",
"test:watch": "jest --watch --debug --runInBand --colors",
"test": "jest --coverage --debug --runInBand --colors",
"lint": "eslint './packages/**/src/**/*.{ts,tsx}'",
"cdk:synth": "lerna run synth --scope @simonverhoeven/cdk-app && rm -rf cdk.out && cp -r packages/cdk-app/cdk.out cdk.out",
"cdk:deploy": "cd packages/cdk-app && yarn deploy",
"start": "lerna run start --stream --parallel",
"build": "lerna run build --stream",
"prepare:deployment": "lerna run builds:create --scope @simonverhoeven/web-app",
"build:and:prepare:deployment": "yarn build && yarn --force && yarn prepare:deployment"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@types/aws-lambda": "^8.10.59",
"@types/node": "^14.0.26",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"apollo-server-express": "^2.19.0",
"axios": "^0.21.0",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"express": "^4.17.1",
"husky": "^4.3.8",
"jest-canvas-mock": "^2.3.0",
"jsonwebtoken": "^8.5.1",
"jwk-to-pem": "^2.0.4",
"lambda-local": "^1.7.4",
"lerna": "^3.20.2",
"lint-staged": "^10.5.3",
"nodemon": "^2.0.6",
"prettier-eslint": "^12.0.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.1",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.0.3"
},
"eslintConfig": {
"root": true
},
"lint-staged": {
"{packages,utils}/*/src/**/*.{ts,tsx}": [
"eslint --fix --config ./.eslintrc.js",
"jest --bail --findRelatedTests"
],
"{packages,utils}/*/src/**/*.{json,ts,tsx,html,css,scss}": [
"prettier --write --config ./.prettierrc"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && lerna run precommit --parallel --since HEAD"
}
}
}