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