-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
100 lines (100 loc) · 3.96 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
90
91
92
93
94
95
96
97
98
99
100
{
"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/**",
"**/aws-cdk-lib",
"**/aws-cdk-lib/**",
"**/constructs"
]
},
"private": true,
"scripts": {
"clean": "npm run clean:dist && npm run clean:tsbuildinfo",
"clean:super": "npm run clean:dist && npm run clean:modules && npm run clean:tsbuildinfo",
"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 *.tsbuildinfo",
"cloc": "cloc --exclude-dir=node_modules,dist,distb,cdk.out --exclude-ext=json .",
"format": "prettier --write \"packages/**/*.{js,ts}\"",
"start:publish": "node packages/microapps-publish/dist/src/index.js",
"start:publish:debug": "ts-node --inspect=5858 --debug-brk --ignore false packages/microapps-publish/src/index.ts",
"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=node14 --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=node14 --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=node16 --external:aws-sdk --outfile=packages/microapps-cdk/lib/microapps-edge-to-origin/index.js",
"build:deployer": "rollup --config rollup.deployer.js",
"build:router": "rollup --config rollup.router.js && cp packages/microapps-router/appFrame.html distb/microapps-router/",
"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"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@tsconfig/node14": "^1.0.0",
"@types/jest": "^27.0.0",
"@types/node": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"aws-cdk": "^2.24.1",
"aws-cdk-lib": "^2.24.1",
"constructs": "10.0.5",
"cross-env": "^7.0.3",
"esbuild": "^0.14.39",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^3.2.0",
"husky": "^4.2.5",
"jest": "^27.0.0",
"jest-dynalite": "^3.4.4",
"lint-staged": "^10.2.11",
"patch-package": "^6.4.7",
"prettier": "^2.6.2",
"projen": "~0.56.19",
"replace-in-file": "^6.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-node-externals": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/!(dist/)*.{ts,js}": [
"prettier --write",
"eslint --ext .ts --ext .tsx --fix",
"jest --passWithNoTests"
]
}
}