-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 3.1 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
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "cdk-lerna-example",
"version": "1.0.0",
"main": "index.js",
"author": "simonverhoeven",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/**",
"!packages/app/cdk.out/**",
"utils/**"
]
},
"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 --runInBand --colors",
"test": "jest --coverage --runInBand --colors",
"test:with:env": "yarn local:db:start:test:db && yarn test && yarn local:db:force:stop",
"local:db:start:test:db": "lerna run start:test:db --scope @simonverhoeven/local-test-server --stream",
"local:db:force:stop": "lerna run force:stop --scope @simonverhoeven/local-test-server --stream",
"lint": "eslint './{utils,packages}/**/src/**/*.ts'",
"start": "lerna run start --stream --parallel",
"force:stop": "lerna run force:stop --stream --parallel",
"nodemon": "nodemon",
"build": "lerna run build",
"cdk:synth": "lerna run synth --scope @simonverhoeven/cdk-app && rm -rf cdk.out && cp -r packages/cdk-app/cdk.out cdk.out"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.59",
"@types/faker": "^5.1.5",
"@types/jest": "^26.0.20",
"@types/node": "^14.0.26",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.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",
"faker": "^5.1.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.1",
"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",
"promise-poller": "^1.9.1",
"tree-kill": "^1.2.2",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.1",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.0.3",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.0.9"
},
"dependencies": {
"tsconfig-paths-webpack-plugin": "^3.3.0"
},
"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"
}
}
}