-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
134 lines (134 loc) · 6.98 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
{
"packageManager": "pnpm@8.7.6",
"scripts": {
"dev": "pnpm --filter @semcore/playground run start",
"start": "pnpm --filter @semcore/playground run start",
"build": "pnpm run clean && pnpm --filter @semcore/utils run build && pnpm --filter @semcore/core run build && pnpm build:icons && pnpm build:illustration && pnpm --filter @semcore/dropdown run build && pnpm --filter @semcore/* --filter !@semcore/icon --filter !@semcore/core --filter !@semcore/illustration --filter !@semcore/dropdown --filter !@semcore/ui --filter !intergalactiс-migrate run build",
"process-theme": "tsm --require=./.ci/tsm-filter-warnings.js semcore/utils/theme/processor.ts",
"typecheck": "pnpm --filter @semcore/* --filter !@semcore/babel-plugin-root --filter !@semcore/babel-plugin-styles --filter !@semcore/babel-plugin-react-semcore --filter !@semcore/babel-preset-ui --filter !@semcore/testing-utils --filter !@semcore/email --filter !@semcore/dep-checker --filter !@semcore/icon-transform-svg --filter !@semcore/shadow-loader exec tsc --noEmit",
"install-n-test": "pnpm install && pnpm test",
"install-n-browser-test": "pnpm install && pnpm browser-test",
"install-n-axe-test": "pnpm install && pnpm axe-test",
"test": "vitest",
"test:setup": "docker build -t intergalactic-playwright -f playwright.dockerfile .",
"test:docker": "pnpm run-in-docker pnpm install-n-test",
"browser-test": "pnpm playwright test --config playwright.browser.config.ts",
"browser-test:docker": "pnpm run-in-docker pnpm install-n-browser-test",
"axe-test": "pnpm playwright test --config playwright.axe.config.ts",
"axe-test:docker": "pnpm run-in-docker pnpm install-n-axe-test",
"test:types": "vitest typecheck",
"vo-test:setup": "npx @guidepup/setup",
"vo-test": "playwright test --config playwright.vo.config.ts",
"vo-test:ci": "pnpm tsm --require=./.ci/tsm-filter-warnings.js ./.ci/vo-tests-ci.ts",
"run-in-docker": "docker run -e PLAYWRIGHT_ARGS= --rm --network host -v $(pwd)/package.json:/work/package.json -v $(pwd)/playwright.browser.config.ts:/work/playwright.browser.config.ts -v $(pwd)/playwright.axe.config.ts:/work/playwright.axe.config.ts -v $(pwd)/allure-results:/work/allure-results/ -v $(pwd)/semcore:/work/semcore/ -v $(pwd)/tools:/work/tools/ -v $(pwd)/website:/work/website/ -v $(pwd)/test-results:/work/test-results/ -w /work/ intergalactic-playwright",
"website": "pnpm --dir website start",
"lint": "pnpm lint:es && pnpm lint-changelogs && pnpm lint:ts",
"lint-changelogs": "pnpm --filter @semcore/changelog-handler run lint-changelogs",
"publish:website": "pnpm --filter intergalactiс-migrate run build && tsm --require=./.ci/tsm-filter-warnings.js ./.ci/trigger-website-publish.ts",
"build:icons": "pnpm --filter @semcore/icon run build",
"build:illustration": "pnpm --filter @semcore/illustration run build",
"clean": "rm -rf semcore/*/lib && pnpm clean:icon && pnpm clean:illustration",
"clean:icon": "pnpm --filter @semcore/icon run clean",
"clean:illustration": "pnpm --filter @semcore/illustration run clean",
"format": "biome format ./semcore ./tools ./website ./.ci --config-path . --write",
"format-changelogs": "tsm --require=./.ci/tsm-filter-warnings.js ./tools/continuous-delivery/bin/format-changelogs.ts",
"lint:es": "biome check ./semcore ./tools ./website ./.ci --config-path .",
"lint:ts": "tsc --noEmit && cd website && tsc --noEmit",
"lint:css": "stylelint **/*.css",
"lint:docs": "vale README.md CONTRIBUTING.md semcore/*/README.md semcore/*/CHANGELOG.md tools/*/README.md tools/*/CHANGELOG.md website/docs",
"prepare": "husky install",
"postinstall": "pnpm --filter @semcore/ui run clear && pnpm run git:setup",
"i18n:submit": "pnpm crowdin upload",
"i18n:status": "pnpm crowdin status",
"i18n:download": "pnpm crowdin download && tsm --require=./.ci/tsm-filter-warnings.js .ci/i18n-csv-2-json.ts",
"git:setup": "git config --local attributesfile.name \".gitattributes\" && git config --local rebase.backend \"merge\" && git config --local merge.changelog-merge-driver.name \"changelog-merge-driver\" && git config --local merge.changelog-merge-driver.driver \"pnpm tsm --require=./.ci/tsm-filter-warnings.js ./.ci/changelog-merge-driver.ts %A %B\""
},
"private": true,
"devDependencies": {
"@babel/preset-react": "7.12.1",
"@babel/runtime": "7.17.9",
"@biomejs/biome": "1.2.2",
"@crowdin/cli": "3.10.1",
"@guidepup/playwright": "0.13.2",
"@jridgewell/set-array": "^1.1.2",
"@playwright/test": "1.43.0",
"@semcore/babel-plugin-react-semcore": "workspace:*",
"@semcore/babel-plugin-root": "workspace:*",
"@semcore/babel-plugin-styles": "workspace:*",
"@semcore/babel-preset-ui": "workspace:*",
"@semcore/builder": "workspace:*",
"@semcore/changelog-handler": "workspace:*",
"@semcore/continuous-delivery": "workspace:*",
"@semcore/core": "workspace:*",
"@semcore/d3-chart": "workspace:*",
"@semcore/esbuild-plugin-semcore": "workspace:*",
"@semcore/gcs-upload": "workspace:*",
"@semcore/slack-integration": "workspace:*",
"@semcore/theme-redesign": "1.5.12",
"@testing-library/react": "13.4.0",
"@types/node": "^18.16.15",
"@vitejs/plugin-react": "2.0.0",
"@vitest/browser": "1.3.0",
"@vitest/ui": "1.3.0",
"allure-commandline": "^2.29.0",
"allure-playwright": "3.0.0-beta.6",
"allure-js-commons": "3.0.0-beta.6",
"allure-vitest": "3.0.0-beta.6",
"csv": "6.2.0",
"dotenv": "8.2.0",
"esbuild": "0.14.29",
"execa": "6.1.0",
"fast-glob": "3.2.11",
"fast-hash-code": "^2.1.0",
"fs-extra": "9.1.0",
"husky": "8.0.0",
"inquirer": "6.3.1",
"intergalactic": "workspace:*",
"intergalactic-migrate": "workspace:*",
"jsdom": "22.1.0",
"lint-staged": "10.2.9",
"picocolors": "1.0.0",
"playwright": "1.43.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"semver": "5.6.0",
"simple-git": "3.16.0",
"stylelint": "^15.9.0",
"stylelint-config-recommended": "^12.0.0",
"tsm": "2.2.2",
"typescript": "5.1.6",
"typescript-plugin-css-modules": "2.2.0",
"typescript-workspace-plugin": "2.0.1",
"vite-plugin-babel": "^1.1.3",
"vitest": "1.3.0",
"webdriverio": "^8.24.3",
"yaml": "2.1.1"
},
"lint-staged": {
"*.{css}": "pnpm lint:css --fix",
"*": "tsm --require=./.ci/tsm-filter-warnings.js ./.ci/lint-internals.ts"
},
"resolutions": {
"csstype": "3.0.8",
"minimist": "1.2.6",
"semver-regex": "3.1.3",
"nth-check": "2.0.1",
"trim-newlines": "3.0.1",
"glob-parent": "6.0.2",
"braces": "3.0.2",
"@babel/runtime": "7.19.0",
"@babel/core": "7.19.1",
"axe-core": "4.9.1",
"ansi-regex": "5.0.1"
},
"engines": {
"node": ">=16"
},
"pnpm": {
"patchedDependencies": {
"react-hook-form@6.10.1": "patches/react-hook-form@6.10.1.patch",
"parse-es-import@0.6.0": "patches/parse-es-import@0.6.0.patch",
"react-virtualized@9.22.3": "patches/react-virtualized@9.22.3.patch"
}
}
}