forked from Shopify/polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.39 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
{
"name": "polaris",
"private": true,
"version": "10.11.0",
"engines": {
"node": "^16.17.0 || >=18.12.0"
},
"workspaces": {
"packages": [
"polaris-cli",
"polaris-codemods",
"polaris-tokens",
"polaris-for-vscode",
"polaris-icons",
"polaris-migrator",
"polaris-react",
"stylelint-polaris",
"polaris.shopify.com"
],
"nohoist": [
"**/vscode-languageclient",
"**/vscode-languageclient/**",
"**/vscode-languageserver",
"**/vscode-languageserver/**",
"**/vscode-languageserver-textdocument",
"**/vscode-languageserver-textdocument/**"
]
},
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --filter=@shopify/polaris --parallel",
"lint": "turbo run lint",
"test": "turbo run test",
"test:watch": "jest --watch",
"clean": "turbo run clean && rm -rf node_modules",
"format": "prettier . --write",
"type-check": "tsc --build",
"changeset": "changeset",
"gen-assets": "turbo run gen-assets --filter=polaris.shopify.com",
"preversion-packages": "node scripts/preversion.js",
"version-packages": "yarn preversion-packages && changeset version",
"release": "turbo run build --filter='!polaris.shopify.com' && changeset publish",
"preversion": "echo \"Error: use @changsets/cli to version packages\" && exit 1",
"new-migration": "yarn workspace @shopify/polaris-migrator generate",
"postinstall": "patch-package"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/node": "^7.20.7",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.18.6",
"@changesets/changelog-github": "^0.4.4",
"@changesets/cli": "^2.23.0",
"@changesets/get-release-plan": "^3.0.14",
"@next/eslint-plugin-next": "^12.1.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-image": "^3.0.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-virtual": "^3.0.1",
"@rollup/pluginutils": "^5.0.2",
"@shopify/cli": "^3.10.1",
"@shopify/eslint-plugin": "^42.0.1",
"@shopify/stylelint-plugin": "^11.0.0",
"@shopify/typescript-configs": "^5.1.0",
"@size-limit/preset-small-lib": "^5.0.3",
"@types/jest": "^27.5.1",
"@types/node": "^18.11.18",
"babel-loader": "^9.1.2",
"eslint": "^8.3.0",
"execa": "^5.0.0",
"jest": "^27.5.1",
"jest-preset-stylelint": "^5.0.3",
"jest-watch-typeahead": "^1.0.0",
"npm-run-all": "^4.1.5",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.5.0",
"rollup": "^3.12.0",
"rollup-plugin-node-externals": "^5.1.0",
"size-limit": "^5.0.3",
"stylelint": "^14.15.0",
"ts-node": "^10.7.0",
"turbo": "^1.8.8",
"typescript": "^4.9.3"
},
"size-limit": [
{
"name": "polaris-react-cjs",
"path": "polaris-react/build/cjs/index.js",
"limit": "250 kB"
},
{
"name": "polaris-react-esm",
"path": "polaris-react/build/esm/index.js",
"limit": "165 kB"
},
{
"name": "polaris-react-esnext",
"path": "polaris-react/build/esnext/index.esnext",
"limit": "225 kB"
},
{
"name": "polaris-react-css",
"path": "polaris-react/build/esm/styles.css",
"limit": "50 kB"
}
]
}