-
Notifications
You must be signed in to change notification settings - Fork 486
/
package.json
132 lines (132 loc) · 4.79 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
{
"private": true,
"repository": "https://github.com/liferay/clay",
"engines": {
"node": ">=18"
},
"size-limit": [
{
"path": "all.js",
"limit": "157 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,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.js --compare",
"genBuildSize": "NODE_ENV=production node scripts/check-size/index.js",
"genGlobalChangeLog": "node scripts/generate-global-changelog.js && prettier --write -- \"CHANGELOG.md\"",
"lerna": "lerna bootstrap -- --no-optional --no-package-lock",
"lerna:version": "lerna version --conventional-commits",
"lerna:publish": "lerna publish from-package --no-verify-access --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\" \"**/*.{js,ts,tsx}\"",
"site": "cd clayui.com && yarn build && yarn serve",
"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",
"@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": "^8.9.0",
"@testing-library/jest-dom": "5",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.2.1",
"@types/d3": "^5.7.2",
"@types/geojson": "^7946.0.7",
"@types/jest": "^26.0.0",
"@types/react": "16.9.9",
"@types/react-dom": "16.9.9",
"@types/react-test-renderer": "^16.8.0",
"@types/react-transition-group": "^4.4.0",
"@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-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",
"eslint": "^7.1.0",
"eslint-plugin-react-compiler": "^19.0.0-beta-6fc168f-20241025",
"fork-ts-checker-webpack-plugin": "^4.0.3",
"jest": "27.5.1",
"jest-fetch-mock": "^3.0.3",
"lerna": "6.6.2",
"ncp": "^2.0.0",
"parcel-bundler": "^1.12.4",
"prettier": "^2.4.1",
"raf": "^3.4.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.6.1",
"resize-observer-polyfill": "^1.5.1",
"sass-loader": "^7.1.0",
"size-limit": "^6.0.3",
"source-map-loader": "^0.2.4",
"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/*",
"clayui.com"
],
"nohoist": [
"gatsby",
"**/@storybook/**/webpack",
"**/@storybook/**/webpack/**"
]
},
"resolutions": {
"@pmmmwh/react-refresh-webpack-plugin": "0.5.1",
"@types/react": "16.9.9",
"@types/react-dom": "16.9.9",
"js-beautify": "1.7.5",
"event-stream": "3.3.4",
"graceful-fs": "^4.2.4"
}
}