-
Notifications
You must be signed in to change notification settings - Fork 520
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.84 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.84 KB
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
{
"private": true,
"repository": "https://github.com/liferay/clay",
"size-limit": [
{
"path": "all.js",
"limit": "165 kb",
"ignore": [
"react",
"react-dom"
]
}
],
"scripts": {
"build:csb": "yarn build && yarn buildTypes",
"build": "turbo run build --filter=@clayui/*",
"buildTypes": "turbo run buildTypes --filter=@clayui/*",
"checkDeps": "turbo run build --filter=@clayui/* && node scripts/check-deps/check-dependencies.js",
"ci": "yarn lint && yarn format:check && yarn test && yarn checkDeps",
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.{js,ts,mjs,tsx,md,mdx,json,scss}\"",
"format:all": "yarn lint:fix && yarn format",
"format:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" \"*.md\" \"**/*.md\" \"**/*.mdx\" \"*.json\" \"**/*.json\" \"**/*.scss\" | xargs -0 prettier --write --",
"format:check": "prettier --list-different -- \"**/*.{js,ts,tsx,md,mdx,json,scss}\"",
"genBuildSize:compare": "NODE_ENV=production node scripts/check-size/index.mjs --compare",
"genBuildSize": "NODE_ENV=production node scripts/check-size/index.mjs",
"genGlobalChangeLog": "node scripts/generate-global-changelog.js && prettier --write -- \"CHANGELOG.md\"",
"lerna:version": "lerna version --conventional-commits",
"lerna:publish": "lerna publish from-package --yes",
"lint:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" | xargs -0 eslint",
"lint:fix": "eslint --fix \".*.js\" \"**/*.{js,ts,tsx}\"",
"lint:quiet": "eslint --quiet \".*.js\" \"**/*.{js,ts,tsx}\"",
"lint:typescript": "tsc --project ./tsconfig.global.json",
"lint": "eslint \".*.js\" \"!(www)/**/*.{js,ts,tsx}\"",
"site": "cd www && yarn && yarn build",
"sync:portal": "bash ./scripts/sync-portal-to-packages.sh",
"sizeLimit": "size-limit",
"storybook:build": "NODE_OPTIONS=--max_old_space_size=8192 build-storybook -c .storybook -o .storybook-static",
"storybook": "start-storybook -p 8888",
"test": "jest",
"version": "prettier --write -- \"**/CHANGELOG.md\" \"lerna.json\" && git add -- \"packages/clay-css/src/scss/_license-text.scss\"",
"chromatic": "chromatic --exit-zero-on-changes --build-script-name=storybook:build"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@liferay/eslint-plugin": "^1.0.0",
"@liferay/prettier-plugin": "^1.1.5",
"@size-limit/preset-small-lib": "^6.0.3",
"@storybook/addon-a11y": "^6.5.10",
"@storybook/addon-controls": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-storysource": "^6.5.10",
"@storybook/builder-webpack5": "^6.5.10",
"@storybook/manager-webpack5": "^6.5.10",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.10",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.2.1",
"@types/d3": "^5.7.2",
"@types/geojson": "^7946.0.7",
"@types/jest": "^26.0.0",
"@types/jest-axe": "^3.5.9",
"@types/react": "18.3.26",
"@types/react-dom": "18.3.7",
"@types/react-test-renderer": "^16.8.0",
"@types/react-transition-group": "^4.4.12",
"@types/storybook__addon-a11y": "5.1.2",
"@types/storybook__addon-knobs": "^5.2.1",
"@types/storybook__react": "^5.2.1",
"@types/tinycolor2": "^1.4.3",
"@types/warning": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-fully-specified": "^1.3.0",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"chromatic": "^6.5.4",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^2.1.1",
"esbuild": "^0.25.6",
"eslint": "^7.1.0",
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
"fork-ts-checker-webpack-plugin": "^4.0.3",
"jest": "27.5.1",
"jest-axe": "^10.0.0",
"jest-fetch-mock": "^3.0.3",
"lerna": "^9.0.3",
"ncp": "^2.0.0",
"prettier": "3.2.5",
"raf": "^3.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"sass-loader": "^7.1.0",
"size-limit": "^6.0.3",
"source-map-loader": "^0.2.4",
"storybook": "^8.5.8",
"style-loader": "^0.23.1",
"svg4everybody": "^2.1.9",
"ts-jest": "^28.0.8",
"turbo": "^1.2.6",
"typescript": "4.7.4",
"webpack": "^5.72.0"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"gatsby",
"**/@storybook/**/webpack",
"**/@storybook/**/webpack/**"
]
},
"resolutions": {
"@pmmmwh/react-refresh-webpack-plugin": "0.5.1",
"js-beautify": "1.7.5",
"event-stream": "3.3.4",
"graceful-fs": "^4.2.4"
},
"dependencies": {
"next": "^14.2.5"
}
}