-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.84 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.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
{
"name": "@ibm-watson/discovery-react-components",
"version": "4.3.0",
"description": "Discovery components built with the React framework and IBM Carbon components",
"license": "Apache-2.0",
"author": "IBM Corp.",
"repository": "https://github.com/watson-developer-cloud/discovery-components",
"main": "dist/index.js",
"module": "dist/index.es.js",
"scripts": {
"prepack": "yarn run build",
"prepublish": "yarn run build",
"test": "cross-env SKIP_PREFLIGHT_CHECK=true CI=1 react-scripts test",
"test:coverage": "cross-env CI=1 SKIP_PREFLIGHT_CHECK=true react-scripts test --coverage",
"test:watch": "cross-env SKIP_PREFLIGHT_CHECK=true react-scripts test --watch",
"test:debug": "cross-env SKIP_PREFLIGHT_CHECK=true react-scripts --inspect-brk test --runInBand --no-cache",
"circular": "madge --circular src/*",
"build": "rollup -c",
"build:app": "yarn run storybook:build --quiet",
"eslint": "yarn run g:eslint --quiet '{src,.storybook}/**/*.{js,jsx,ts,tsx}'",
"lint": "yarn run circular && yarn run eslint",
"start": "rollup -c -w",
"storybook": "start-storybook --ci --port=9002",
"storybook:build": "build-storybook",
"storybook:build:release": "cross-env STORYBOOK_BUILD_MODE=production build-storybook -o ../../docs/storybook",
"analyze": "yarn run g:analyze 'dist/index.js'",
"preversion": "yarn run storybook:build:release",
"version": "git add ../../docs"
},
"files": [
"dist"
],
"dependencies": {
"@react-hook/size": "^2.1.2",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"debounce": "^1.2.1",
"dompurify": "^3.0.2",
"entities": "^4.5.0",
"htmlparser2": "^4.0.0",
"lodash": "^4.17.21",
"mustache": "^4.2.0",
"pdfjs-dist": "2.6.347",
"react-error-boundary": "^1.2.5",
"react-resize-detector": "^9.1.0",
"react-virtualized": "9.21.2",
"uuid": "^9.0.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.5",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-url": "^6.1.0",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-docs": "^6.5.12",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/core": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.12",
"@storybook/source-loader": "^6.5.12",
"@svgr/rollup": "^5.5.0",
"@types/marked": "^4",
"@types/uuid": "^8",
"canvas": "^2.9.3",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"madge": "^5.0.1",
"marked": "^4.0.10",
"react-scripts": "^5.0.1",
"rollup": "^2.57.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"sass-embedded": "^1.52.2",
"sass-loader": "^12.3.0",
"style-loader": "^1.3.0",
"web-streams-polyfill": "^3.2.1"
},
"peerDependencies": {
"@carbon/icons": ">= 10.5.0 < 11",
"@ibm-watson/discovery-styles": "4.x.x",
"carbon-components": ">= 10.46.0 < 11",
"carbon-components-react": ">= 7.46.0 < 8",
"core-js": "^2.6.12",
"ibm-watson": "^6.0.2",
"react": ">= 16.8.0 < 18",
"react-dom": ">= 16.8.0 < 18"
},
"engines": {
"node": ">=16"
},
"jsnext:main": "dist/index.es.js",
"publishConfig": {
"access": "public"
},
"jest": {
"resetMocks": false,
"displayName": "Disco React Components (Unit)",
"transformIgnorePatterns": [
"/!node_modules\\/react-virtualized/"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx}",
"!src/**/messages.{ts,js}",
"!src/**/types.{ts,js}",
"!src/**/typings.d.ts",
"!src/**/__fixtures__/**",
"!src/**/__stories__/**",
"!src/**/*.stories.*"
]
}
}