forked from liferay/clay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.18 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
{
"private": true,
"repository": "https://github.com/liferay/clay",
"engines": {
"node": ">=14"
},
"size-limit": [
{
"path": "all.js",
"limit": "140 kb",
"ignore": [
"react",
"react-dom"
]
}
],
"scripts": {
"build:csb": "lerna run --no-bail --ignore \"clayui.com\" build && lerna run --no-bail --ignore \"clayui.com\" build:types",
"build": "lerna run build && lerna run build:types",
"checkDeps": "lerna run --ignore \"clayui.com\" build && 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",
"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": "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\""
},
"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": "^5.3.12",
"@storybook/addon-knobs": "^5.3.12",
"@storybook/addon-storysource": "^5.3.12",
"@storybook/react": "^5.3.12",
"@testing-library/dom": "^8.9.0",
"@testing-library/jest-dom": "^5.14.1",
"@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",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^2.1.1",
"eslint": "^7.1.0",
"fork-ts-checker-webpack-plugin": "^4.0.3",
"jest": "^26.0.0",
"jest-fetch-mock": "^3.0.3",
"lerna": "^4.0.0",
"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",
"sass-loader": "^7.1.0",
"size-limit": "^6.0.3",
"source-map-loader": "^0.2.4",
"style-loader": "^0.23.1",
"ts-jest": "^26.0.0",
"typescript": "^3.9.5"
},
"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"
}
}