forked from Shopify/polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.29 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
{
"name": "polaris",
"version": "0.0.0",
"private": true,
"engines": {
"node": "^14.17.0 || ^16.13.0"
},
"workspaces": {
"packages": [
"polaris-cli",
"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-glints' && changeset publish",
"preversion": "echo \"Error: use @changsets/cli to version packages\" && exit 1",
"new-migration": "yarn workspace @shopify/polaris-migrator generate"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@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": "^5.3.1",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-virtual": "^2.0.3",
"@rollup/pluginutils": "^4.1.0",
"@shopify/babel-preset": "^24.1.2",
"@shopify/cli": "^3.10.1",
"@shopify/eslint-plugin": "^42.0.1",
"@shopify/prettier-config": "^1.1.2",
"@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",
"downlevel-dts": "^0.6.0",
"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": "^2.70.2",
"rollup-plugin-node-externals": "^4.0.0",
"size-limit": "^5.0.3",
"stylelint": "^14.15.0",
"ts-node": "^10.7.0",
"turbo": "^1.2.8",
"typescript": "^4.6.3"
},
"prettier": "@shopify/prettier-config",
"size-limit": [
{
"name": "polaris-react-cjs",
"path": "polaris-react/build/cjs/index.js",
"limit": "220 kB"
},
{
"name": "polaris-react-esm",
"path": "polaris-react/build/esm/index.js",
"limit": "150 kB"
},
{
"name": "polaris-react-esnext",
"path": "polaris-react/build/esnext/index.esnext",
"limit": "205 kB"
},
{
"name": "polaris-react-css",
"path": "polaris-react/build/esm/styles.css",
"limit": "45 kB"
}
]
}