/
package.json
116 lines (116 loc) · 4.13 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
{
"name": "@ebay/ui-core-react",
"version": "6.3.0",
"description": "Skin components build off React",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"clean": "node scripts/clean",
"lint": "eslint . --ext ts,tsx",
"lint:ci": "eslint . --ext .ts,.tsx -f @microsoft/eslint-formatter-sarif -o eslint-results.sarif",
"coverage": "yarn clean && yarn test --coverage --ci",
"eslint-local": "eslint . --ext ts,tsx",
"eslint": "eslint . --ext .ts,.tsx -f checkstyle -o ./lint/checkstyle-result.xml",
"format": "eslint . --fix 'src/**/*.{ts,tsx}'",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 9001 -c .storybook",
"storybook-node16": "storybook dev -p 9001 -c .storybook",
"build-storybook": "storybook build",
"storybook:publish": "NODE_OPTIONS=--openssl-legacy-provider yarn build-storybook --output-dir storybook-static/$(git branch --show-current) && gh-pages --add --message=\"Deploying to gh-pages from @ eBay/ebayui-core-react@$(git rev-parse --short HEAD) 🚀\" -d storybook-static",
"test": "yarn jest",
"build": "yarn typecheck && yarn tsc",
"typecheck": "tsc --project tsconfig.typecheck.json",
"update-icons": "node ./scripts/update-icons",
"copy": "copyfiles package.json README.md lib; yarn copy:rest",
"copy:rest": "yarn copyfiles -u 1 'src/**/*.md' lib",
"prepublishOnly": "if [ -z \"$CI\" ]; then echo \"Please use CI, do not publish manually\"; exit 1; fi",
"prerelease": "npm version prerelease --preid rc && yarn clean && yarn build && yarn copy && CI=1 npm publish --tag rc lib/",
"prepare": "node scripts/husky-install || node ../scripts/husky-install"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git@github.com:eBay/ebayui-core-react.git"
},
"keywords": [
"React",
"Skin",
"EbayUI"
],
"author": "tmanyanov@ebay.com",
"license": "ISC",
"peerDependencies": {
"@ebay/skin": "^17.0.0",
"react": ">= 16.0.0",
"react-dom": ">= 16.0.0",
"shaka-player": "^4.3.2"
},
"dependencies": {
"classnames": "^2.2.6",
"makeup-expander": "^0.10.1",
"makeup-keyboard-trap": "^0.4.1",
"makeup-screenreader-trap": "^0.4.1",
"react-remove-scroll": "^2.2.0"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.0.0",
"@ebay/skin": "^17.0.0",
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@storybook/addon-a11y": "^7.6.12",
"@storybook/addon-essentials": "^7.4.6",
"@storybook/addon-storysource": "^7.6.12",
"@storybook/react": "^7.6.12",
"@storybook/react-webpack5": "^7.6.12",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^7",
"@testing-library/user-event": "^12",
"@types/classnames": "^2.2.11",
"@types/jest": "^29.5.12",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-loader": "^8.1.0",
"copyfiles": "^2.2.0",
"css-loader": "^5.0.1",
"del": "^5.1.0",
"eslint": "^7.15.0",
"eslint-config-ebay": "^0.1.5",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"gh-pages": "^6.1.1",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-pnp-resolver": "^1.2.3",
"lint-staged": "^10.5.3",
"node-require-context": "^1.0.0",
"react": "^18",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^18",
"shaka-player": "^4.3.2",
"storybook": "^7.5.1",
"style-loader": "^2.0.0",
"svgson": "^4.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^8.0.7",
"typescript": "4"
},
"resolutions": {
"@storybook/addon-actions": "~7.5.3",
"string-width": "4.2.3"
}
}