-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 3.46 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
87
88
89
{
"name": "@pwrdrvr/microapps-core",
"resolutions": {
"constructs": "10.0.5",
"terser": "^5.14.2"
},
"version": "0.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/pwrdrvr/microapps-core.git"
},
"author": "PwrDrvr LLC",
"license": "MIT",
"homepage": "https://github.com/pwrdrvr/microapps-core#readme",
"workspaces": {
"packages": [
"./packages/*/"
],
"nohoist": [
"**/@types/convict-format-with-validator",
"**/@types/convict-format-with-validator/**",
"packages/microapps-cdk/aws-cdk-lib/**",
"packages/microapps-cdk/constructs/**"
]
},
"private": true,
"scripts": {
"clean": "npm run clean:dist && npm run clean:tsbuildinfo",
"clean:super": "npm run clean:dist && npm run clean:tsbuildinfo && npm run clean:modules",
"clean:dist": "npm exec --workspaces -- npx rimraf dist && npx rimraf dist",
"clean:modules": "npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules",
"clean:tsbuildinfo": "npm exec --workspaces -- npx rimraf tsconfig.tsbuildinfo",
"cloc": "cloc --exclude-dir=node_modules,dist,distb,cdk.out --exclude-ext=json .",
"format": "prettier --write \"packages/**/*.{js,ts}\"",
"build:all": "yarn build && yarn build:publish && yarn esbuild:deployer && yarn esbuild:router && yarn esbuild:edge-to-origin",
"build": "tsc --build tsconfig.json",
"build:publish": "tsc --build tsconfig.publish.json",
"esbuild:deployer": "esbuild packages/microapps-deployer/src/index.ts --bundle --minify --sourcemap --platform=node --target=node18 --external:aws-sdk --outfile=packages/cdk/dist/microapps-deployer/index.js",
"esbuild:router": "esbuild packages/microapps-router/src/index.ts --bundle --minify --sourcemap --platform=node --target=node18 --external:aws-sdk --outfile=packages/cdk/dist/microapps-router/index.js",
"esbuild:edge-to-origin": "esbuild packages/microapps-edge-to-origin/src/index.ts --bundle --minify --sourcemap --platform=node --target=node18 --external:aws-sdk --outfile=packages/microapps-cdk/lib/microapps-edge-to-origin/index.js",
"test": "AWS_PROFILE= AWS_EMF_ENVIRONMENT=Local jest",
"lint": "eslint ./ --ext .ts --ext .tsx",
"lint-and-fix": "eslint ./ --ext .ts --ext .tsx --fix",
"postinstall": "npx patch-package",
"test:integration": "jest --config ./jest.int.config.js"
},
"devDependencies": {
"@types/jest": "29.5.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.54.0",
"aws-cdk": "^2.117.0",
"aws-cdk-lib": "2.117.0",
"axios": "1.6.0",
"constructs": "10.0.5",
"cross-env": "7.0.3",
"esbuild": "0.20.2",
"eslint": "8.35.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-node": "0.3.7",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-dynalite": "3.6.1",
"lint-staged": "15.2.2",
"patch-package": "8.0.0",
"prettier": "2.8.4",
"projen": "0.81.6",
"replace-in-file": "6.3.5",
"rimraf": "5.0.1",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/!(dist/)*.{ts,js}": [
"prettier --write",
"eslint --ext .ts --ext .tsx --fix",
"jest --passWithNoTests"
]
}
}