UNPKG

5.04 kBJSONView Raw
1{
2 "name": "@bentley/ui-components",
3 "version": "2.5.2",
4 "description": "iModel.js UI complex components",
5 "main": "lib/ui-components.js",
6 "typings": "lib/ui-components",
7 "imodeljsSharedLibrary": true,
8 "license": "MIT",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/imodeljs/imodeljs/tree/master/ui/components"
12 },
13 "scripts": {
14 "copy:assets": "cpx \"./src/**/*.*css\" ./lib && cpx \"./public/**/*\" ./lib/public",
15 "pseudolocalize": "betools pseudolocalize --englishDir ./public/locales/en --out ./lib/public/locales/en-PSEUDO",
16 "build": "npm run copy:assets && npm run pseudolocalize && tsc 1>&2",
17 "clean": "rimraf lib .rush/temp/package-deps*.json",
18 "cover": "nyc npm test",
19 "docs": "betools docs --includes=../../generated-docs/extract --json=../../generated-docs/ui/ui-components/file.json --tsIndexFile=./ui-components.ts --onlyJson",
20 "lint": "eslint ./src/**/*.{ts,tsx} 1>&2",
21 "extract-api": "betools extract-api --entry=ui-components",
22 "test": "mocha --opts ../mocha.opts \"./lib/test/**/*.test.js\"",
23 "test:watch": "npm test -- --reporter min --watch-extensions ts,tsx --watch"
24 },
25 "keywords": [
26 "Bentley",
27 "BIM",
28 "iModel"
29 ],
30 "author": {
31 "name": "Bentley Systems, Inc.",
32 "url": "http://www.bentley.com"
33 },
34 "peerDependencies": {
35 "@bentley/bentleyjs-core": "^2.5.2",
36 "@bentley/geometry-core": "^2.5.2",
37 "@bentley/imodeljs-i18n": "^2.5.2",
38 "@bentley/imodeljs-common": "^2.5.2",
39 "@bentley/imodeljs-frontend": "^2.5.2",
40 "@bentley/ui-abstract": "2.5.2",
41 "@bentley/ui-core": "^2.5.2",
42 "react": "^16.8.0",
43 "react-dom": "^16.8.0"
44 },
45 "//devDependencies": [
46 "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
47 "NOTE: All tools used by scripts in this package must be listed as devDependencies"
48 ],
49 "devDependencies": {
50 "@bentley/bentleyjs-core": "2.5.2",
51 "@bentley/build-tools": "2.5.2",
52 "@bentley/geometry-core": "2.5.2",
53 "@bentley/imodeljs-i18n": "2.5.2",
54 "@bentley/imodeljs-common": "2.5.2",
55 "@bentley/imodeljs-frontend": "2.5.2",
56 "@bentley/ui-abstract": "2.5.2",
57 "@bentley/ui-core": "2.5.2",
58 "@types/chai": "^4.1.4",
59 "@types/chai-as-promised": "^7",
60 "@types/chai-jest-snapshot": "^1.3.0",
61 "@types/chai-spies": "^1.0.0",
62 "@types/chai-string": "^1.4.1",
63 "@types/classnames": "^2.2.3",
64 "@types/enzyme": "3.9.3",
65 "@types/faker": "^4.1.0",
66 "@types/linkify-it": "~2.1.0",
67 "@types/lodash": "^4.14.0",
68 "@types/mocha": "^5.2.5",
69 "@types/react": "16.9.43",
70 "@types/react-highlight-words": "^0.11.1",
71 "@types/react-resize-detector": "^4.2.0",
72 "@types/react-data-grid": "4.0.2",
73 "@types/react-dom": "^16.8.0",
74 "@types/react-select": "^3.0.4",
75 "@types/react-virtualized": "^9.18.7",
76 "@types/react-virtualized-auto-sizer": "^1.0.0",
77 "@types/react-window": "^1.8.0",
78 "@types/testing-library__react-hooks": "^3.1.0",
79 "@types/sinon": "^9.0.0",
80 "@types/sinon-chai": "^3.2.0",
81 "chai": "^4.1.2",
82 "chai-as-promised": "^7",
83 "chai-jest-snapshot": "^2.0.0",
84 "chai-spies": "1.0.0",
85 "chai-string": "^1.5.0",
86 "cpx": "^1.5.0",
87 "enzyme": "^3.4.0",
88 "enzyme-adapter-react-16": "1.12.1",
89 "enzyme-to-json": "^3.3.4",
90 "eslint": "^6.8.0",
91 "faker": "^4.1.0",
92 "ignore-styles": "^5.0.1",
93 "jsdom": "^11.12.0",
94 "jsdom-global": "3.0.2",
95 "mocha": "^5.2.0",
96 "nyc": "^14.0.0",
97 "raf": "^3.4.0",
98 "@testing-library/react": "^8.0.1",
99 "@testing-library/react-hooks": "^3.2.1",
100 "react-test-renderer": "^16.13.1",
101 "rimraf": "^3.0.2",
102 "sinon": "^9.0.2",
103 "sinon-chai": "^3.2.0",
104 "ts-node": "^7.0.1",
105 "tsconfig-paths": "^3.3.2",
106 "typemoq": "^2.1.0",
107 "typescript": "~3.7.4",
108 "xmlhttprequest": "^1.8.0"
109 },
110 "//dependencies": [
111 "NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API",
112 "NOTE: imodeljs-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"
113 ],
114 "dependencies": {
115 "@bentley/icons-generic-webfont": "^1.0.15",
116 "callable-instance2": "1.0.0",
117 "classnames": "^2.2.5",
118 "eventemitter2": "^5.0.1",
119 "immer": "^6.0.3",
120 "immutable": "^3.8.2",
121 "inspire-tree": "^5.0.1",
122 "lodash": "^4.17.10",
123 "linkify-it": "~2.2.0",
124 "react-highlight-words": "^0.14.0",
125 "react-resize-detector": "^4.2.3",
126 "react-compound-slider": "^2.5.0",
127 "react-data-grid": "6.0.1",
128 "react-dnd": "^5.0.0",
129 "react-dnd-html5-backend": "^5.0.1",
130 "react-dnd-test-backend": "^5.0.1",
131 "react-select": "^3.0.4",
132 "react-virtualized": "^9.21.0",
133 "react-virtualized-auto-sizer": "^1.0.2",
134 "react-window": "^1.8.5",
135 "rxjs": "^6.5.2",
136 "ts-key-enum": "^2.0.0"
137 },
138 "nyc": {
139 "extends": "./node_modules/@bentley/build-tools/.nycrc",
140 "require": [
141 "ignore-styles",
142 "jsdom-global/register",
143 "source-map-support/register",
144 "ts-node/register"
145 ],
146 "check-coverage": true,
147 "statements": 98.3,
148 "branches": 95.4,
149 "functions": 98.4,
150 "lines": 98.3
151 },
152 "eslintConfig": {
153 "extends": "./node_modules/@bentley/ui-core/package.json"
154 }
155}