forked from jpmorganchase/modular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.83 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "modular",
"private": true,
"workspaces": [
"packages/**"
],
"engines": {
"node": ">=16.10.0 || >=18.0.0 || >=20.0.0"
},
"repository": "https://github.com/jpmorganchase/modular.git",
"scripts": {
"format": "prettier --write .",
"lint": "yarn modular lint",
"lint:fix": "yarn lint --fix",
"create-modular-react-app": "ts-node packages/create-modular-react-app/src/cli.ts",
"modular": "ts-node packages/modular-scripts/src/cli.ts",
"test": "cross-env NODE_OPTIONS=--max_old_space_size=5120 yarn modular test --runInBand --env=node",
"build": "yarn workspace @modular-scripts/workspace-resolver build && yarn workspace create-modular-react-app build && yarn workspace modular-scripts build && yarn modular build @modular-scripts/remote-view && yarn prepare:remote-view",
"prepare": "is-ci || husky install",
"prepare:remote-view:copy": "cp -R dist/modular-scripts-remote-view packages/remote-view/dist",
"prepare:remote-view:prepublish": "node scripts/remote-view-prepublish.js",
"prepare:remote-view": "yarn prepare:remote-view:copy && yarn prepare:remote-view:prepublish",
"postinstall": "patch-package",
"typecheck": "yarn modular typecheck",
"validate-lockfile": "node scripts/validate-lockfile.js"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.17.9",
"@babel/preset-env": "7.18.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "2.23.2",
"@schemastore/package": "0.0.6",
"@schemastore/tsconfig": "0.0.9",
"@testing-library/dom": "8.18.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.4.3",
"@types/babel__code-frame": "^7.0.3",
"@types/cross-spawn": "^6.0.2",
"@types/dedent": "0.7.0",
"@types/express": "^4.17.13",
"@types/express-ws": "^3.0.1",
"@types/find-up": "4.0.0",
"@types/fs-extra": "9.0.13",
"@types/global-modules": "^2.0.0",
"@types/html-minifier-terser": "6.1.0",
"@types/is-ci": "3.0.0",
"@types/jest": "^29.5.0",
"@types/mime": "^2.0.3",
"@types/node": "*",
"@types/npm-packlist": "3.0.0",
"@types/parse5": "^6.0.3",
"@types/prompts": "2.0.14",
"@types/puppeteer": "^5.4.6",
"@types/react": "18.0.1",
"@types/react-dom": "17.0.14",
"@types/recursive-readdir": "^2.2.1",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.12",
"@types/tmp": "0.2.3",
"@types/update-notifier": "5.1.0",
"@yarnpkg/lockfile": "^1.1.0",
"commander": "9.4.0",
"cross-env": "^7.0.3",
"esbuild": "0.17.14",
"eslint": "8.28.0",
"execa": "5.1.1",
"husky": "8.0.1",
"is-ci": "2.0.0",
"lint-staged": "12.4.1",
"micromatch": "4.0.5",
"patch-package": "^6.4.7",
"pptr-testing-library": "0.7.0",
"prettier": "2.7.1",
"puppeteer": "^14.2.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"semver": "7.3.7",
"string.prototype.replaceall": "^1.0.6",
"ts-node": "10.9.1",
"typescript": "4.8.3"
},
"resolutions": {
"esbuild": "0.17.14"
},
"jest": {
"coveragePathIgnorePatterns": [
"/__fixtures__/",
"/node_modules/"
],
"coverageProvider": "v8"
},
"modular": {
"type": "root",
"swcJest": true
},
"lint-staged": {
"*.{js,ts,tsx,mjs,md,yml,json}": "yarn prettier --write -l",
"*.{ts,tsx}": [
"yarn typecheck",
"yarn lint"
],
"*": "node scripts/validate-lockfile.js"
},
"devDependencies": {
"@swc/core": "^1.3.46",
"@swc/helpers": "^0.5.0"
}
}