-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.66 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.66 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
{
"name": "@ibm-watson/discovery-react-components",
"version": "1.4.0-beta.8",
"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": {
"audit": "audit-ci --moderate",
"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": "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": "source-map-explorer 'dist/index.js'",
"prepublish": "yarn run build",
"preversion": "yarn run storybook:build:release",
"version": "git add ../../docs"
},
"files": [
"dist"
],
"peerDependencies": {
"@carbon/icons": ">= 10.5.0 < 11",
"@ibm-watson/discovery-styles": "1.x.x",
"carbon-components": ">= 10.6.0 < 11",
"carbon-components-react": ">= 7.6.0 < 8",
"ibm-watson": "^6.0.2",
"react": ">= 16.8.0 < 17",
"react-dom": ">= 16.8.0 < 17"
},
"engines": {
"node": ">=8",
"npm": ">=5"
},
"jsnext:main": "dist/index.es.js",
"publishConfig": {
"access": "public"
},
"dependencies": {
"classnames": "^2.2.6",
"debounce": "^1.2.0",
"dompurify": "^2.0.17",
"entities": "^2.0.0",
"htmlparser2": "^4.0.0",
"lodash": "^4.17.21",
"mustache": "^3.1.0",
"pdfjs-dist": "^2.9.359",
"react-error-boundary": "^1.2.5",
"react-resize-detector": "^4.2.1",
"react-virtualized": "9.21.1"
},
"jest": {
"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.*"
]
},
"devDependencies": {
"css-loader": "^3.4.2",
"sass-loader": "^8.0.2"
}
}