-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
169 lines (169 loc) · 5.75 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "perfsee",
"version": "0.0.0",
"license": "UNLICENSED",
"private": true,
"workspaces": [
"packages/*",
"examples/*",
"packages/plugins/*",
"packages/runner/*"
],
"devDependencies": {
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/config-lerna-scopes": "^17.0.2",
"@graphql-codegen/add": "^4.0.0",
"@graphql-codegen/cli": "3.0.0",
"@graphql-codegen/typescript": "^3.0.0",
"@graphql-codegen/typescript-operations": "^3.0.0",
"@mdx-js/loader": "^2.1.3",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@svgr/webpack": "^6.3.0",
"@types/debug": "^4.1.7",
"@types/inquirer": "^9.0.0",
"@types/lodash": "^4.14.182",
"@types/node": "16",
"@types/nodemon": "^1.19.1",
"@types/prettier": "^2.6.4",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/sinon": "^10.0.12",
"@types/supertest": "^2.0.12",
"@types/webpack": "4.41.27",
"@types/webpack-node-externals": "^2.5.3",
"@types/yup": "^0.29.14",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"ava": "^5.0.0",
"c8": "^7.11.3",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"clipanion": "^3.1.0",
"commitlint": "^17.0.3",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"cssnano": "^5.1.12",
"emotion-ts-plugin": "^2.0.1",
"esbuild": "~0.16.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sonarjs": "^0.18.0",
"eslint-plugin-unicorn": "^45.0.0",
"extract-comments": "^1.1.0",
"fdir": "^5.2.0",
"graphql": "^16.0.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"inquirer": "^9.0.1",
"lerna": "^6.0.0",
"lint-staged": "^13.0.3",
"madge": "^5.0.1",
"mini-css-extract-plugin": "^2.6.1",
"node-fetch": "^2.6.2",
"nodemon": "^2.0.19",
"npm-run-all": "^4.1.5",
"path-to-regexp": "1.8.0",
"postcss-loader": "^7.0.1",
"prettier": "^2.7.1",
"raw-loader": "^4.0.2",
"react-devtools-inline": "^4.27.2",
"remark-emoji": "^3.0.2",
"remark-images": "^3.1.0",
"rollup": "^2.77.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"shx": "^0.3.4",
"sinon": "^15.0.0",
"style-loader": "^3.3.3",
"supertest": "^6.3.3",
"svgo": "^3.0.0",
"svgo-loader": "^3.0.1",
"terser-webpack-plugin": "^5.3.3",
"thread-loader": "^3.0.4",
"ts-import-plugin": "^2.0.0",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.0.0",
"tslib": "^2.4.0",
"typescript": "~4.7.4",
"vite": "^3.0.2",
"wait-on": "^7.0.0",
"webpack": "^5.73.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.9.3",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0",
"why-is-node-running": "^2.2.2",
"yup": "^0.32.11"
},
"resolutions": {
"jpeg-js": "0.4.4",
"qs@6.2.3": "6.2.4"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"prettier --write"
],
"*.@(yml|yaml)": [
"prettier --parser yaml --write"
],
"*.md": [
"prettier --parser markdown --write"
],
"*.json": [
"prettier --parser json --write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript",
"overrides": [
{
"files": "*.json",
"options": {
"printWidth": 1
}
}
]
},
"scripts": {
"cli": "cross-env DEBUG='perfsee:*' node tools/cli.js",
"codegen": "yarn cli codegen",
"build:ts": "tsc -b ./tsconfigs/tsconfig.project.json --verbose",
"build": "yarn codegen && cross-env NODE_ENV=production run-p 'build:ts' 'cli bundle -p @perfsee/platform';lerna run postbuild",
"build:npm": "cross-env NODE_ENV=production run-p 'cli bundle -p @perfsee/bundle-report' 'cli bundle -p @perfsee/package-report' && yarn cli build -a && yarn clean:tests",
"build:rs": "lerna run build:rs --concurrency 1 --stream",
"vscode:watch": "cross-env NODE_ENV=development yarn cli vscode watch",
"run:ts": "cross-env TS_NODE_PROJECT=tsconfigs/tsconfig.cjs.json NODE_CONFIG_DIR=config DOTENV_CONFIG_PATH=./packages/platform-server/.env node -r ts-node/register/transpile-only -r tsconfig-paths/register",
"clean": "shx rm -rf ./packages/**/*.tsbuildinfo && shx rm -rf ./packages/**/{esm,dist}",
"clean:node_modules": "shx rm -rf node_modules packages/*/node_modules",
"clean:tests": "shx rm -rf './packages/**/{esm,dist}/**/__tests__'",
"test:concurrent": "ava",
"test:serial": "ava --serial",
"test": "run-p 'test:*'",
"typecheck": "yarn build:ts",
"coverage": "shx rm -rf coverage/tmp && cross-env NODE_V8_COVERAGE=coverage/tmp yarn test && yarn c8 report -r html",
"example": "yarn cli example",
"dev": "cross-env NODE_ENV=development yarn cli dev",
"typeorm": "NODE_ENV=development yarn run:ts ./node_modules/typeorm/cli.js -d ./packages/platform-server/src/datasource.ts",
"lint": "cross-env NODE_OPTIONS=--max-old-space-size=8192 eslint . --cache --cache-location ./.eslint-cache",
"circular": "madge --circular --ts-config ./tsconfig.json packages/**/src/index.ts packages/**/src/index.tsx",
"postinstall": "husky install",
"release": "lerna version --sign-git-tag --exact --allow-branch main",
"docs": "cd docs && yarn",
"analyze": "lerna run analyze"
},
"packageManager": "yarn@3.4.1"
}