This repository was archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
138 lines (138 loc) · 5.2 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "simple-viewer-app",
"description": "Simple Viewer App",
"license": "MIT",
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"os": [
"win32",
"linux",
"darwin"
],
"engines": {
"node": ">=10.11.0 <13.0"
},
"version": "0.0.0",
"private": true,
"scripts": {
"build": "npm run build:backend & npm run build:frontend",
"build:frontend": "npm run pseudolocalize && cross-env GENERATE_SOURCEMAP=false USE_FAST_SASS=true react-scripts build",
"build:backend": "tsc -p tsconfig.backend.json",
"clean": "rimraf lib build .rush",
"electron": "cross-env NODE_ENV=development electron lib/backend/electronmain.js",
"electron:webserver": "cross-env USE_FAST_SASS=true BROWSER=none USE_FULL_SOURCEMAP=true react-scripts start",
"lint": "eslint --config package.json --no-eslintrc ./src/**/*.{ts,tsx} 1>&2",
"pseudolocalize": "betools pseudolocalize --englishDir ./public/locales/en --out ./lib/public/locales/en-PSEUDO",
"start": "npm run start:servers",
"start:webserver": "npm run pseudolocalize && cross-env USE_FULL_SOURCEMAPS=true USE_FAST_SASS=true react-scripts start",
"start:backend": "node lib/backend/webmain.js",
"start:servers": "run-p \"start:webserver\" \"start:backend\"",
"test": "npm run test:unit",
"test:unit": "cross-env TS_NODE_PROJECT=tsconfig.backend.json mocha --opts ./test/utils/mocha.opts \"./test/unit/**/*.test.ts*\"",
"test:integration": "npm run test:electron && npm run test:e2e",
"test:e2e": "start-server-and-test test:e2e:start-app http://localhost:3000 test:e2e:test-app",
"test:e2e:start-app": "cross-env BROWSER=none run-p \"start:webserver\" \"start:backend\"",
"test:e2e:test-app": "cross-env TS_NODE_PROJECT=tsconfig.backend.json mocha --opts ./test/utils/mocha.opts \"test/end-to-end/**/*.test.ts*\"",
"test:electron": "start-server-and-test test:e2e:start-app http://localhost:3000 test:electron-test",
"test:electron-test": "cross-env NODE_ENV=development TS_NODE_PROJECT=tsconfig.backend.json mocha --opts ./test/utils/mocha.opts \"test/electron/**/*.test.ts*\""
},
"dependencies": {
"@bentley/bentleyjs-core": "^2.11.0",
"@bentley/context-registry-client": "^2.11.0",
"@bentley/electron-manager": "^2.11.0",
"@bentley/express-server": "^2.11.0",
"@bentley/frontend-authorization-client": "^2.11.0",
"@bentley/geometry-core": "^2.11.0",
"@bentley/icons-generic-webfont": "^1.0.0",
"@bentley/imodelhub-client": "^2.11.0",
"@bentley/imodeljs-backend": "^2.11.0",
"@bentley/backend-itwin-client": "^2.11.0",
"@bentley/imodeljs-common": "^2.11.0",
"@bentley/imodeljs-frontend": "^2.11.0",
"@bentley/imodeljs-i18n": "^2.11.0",
"@bentley/imodeljs-quantity": "^2.11.0",
"@bentley/itwin-client": "^2.11.0",
"@bentley/presentation-backend": "^2.11.0",
"@bentley/presentation-common": "^2.11.0",
"@bentley/presentation-components": "^2.11.0",
"@bentley/presentation-frontend": "^2.11.0",
"@bentley/presentation-testing": "^2.11.0",
"@bentley/rbac-client": "^2.11.0",
"@bentley/ui-abstract": "^2.11.0",
"@bentley/ui-components": "^2.11.0",
"@bentley/ui-core": "^2.11.0",
"@bentley/telemetry-client": "^2.11.0",
"bunyan": "^1.8.12",
"react": "^16.13.0",
"react-dom": "^16.13.0"
},
"devDependencies": {
"@bentley/build-tools": "^2.11.0",
"@bentley/ecschema-metadata": "^2.11.0",
"@bentley/orbitgt-core": "^2.11.0",
"@bentley/product-settings-client": "^2.11.0",
"@bentley/react-scripts": "3.4.1",
"@bentley/webgl-compatibility": "^2.11.0",
"@testing-library/react": "^8.0.4",
"@testing-library/dom": "^5.5.0",
"@types/body-parser": "^1.17.0",
"@types/bunyan": "^1.8",
"@types/chai": "^4.1.7",
"@types/chai-jest-snapshot": "^1.3.0",
"@types/express": "^4.16.0",
"@types/jsdom": "^12.2.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.5.7",
"@types/puppeteer": "^1.10.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/webdriverio": "^4.13.0",
"chai": "^4.2.0",
"chai-jest-snapshot": "2.0.0",
"chromedriver": "^75.0.0",
"cross-env": "^5.1.4",
"electron": "^8.2.1",
"electron-chromedriver": "^8.0.0",
"ignore-styles": "^5.0.1",
"immutable": "3.8.2",
"jsdom": "^13.0.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"node-sass": "^4.0.0",
"puppeteer": "chrome-84",
"rimraf": "^2.6.2",
"sinon": "^7.2.0",
"spectron": "^10.0.0",
"start-server-and-test": "^1.7.11",
"eslint": "^6.8.0",
"tslint-react-hooks": "^2.2.1",
"ts-node": "^7.0.1",
"typemoq": "^2.1.0",
"typescript": "~3.7.4",
"webpack": "4.42.0",
"xmlhttprequest": "^1.8.0"
},
"browserslist": [
"electron 6.0.0",
"last 4 chrome version",
"last 4 firefox version",
"last 4 safari version",
"last 4 ios version",
"last 4 ChromeAndroid version",
"last 4 edge version",
"not dead",
"not <0.2%"
],
"eslintConfig": {
"extends": "./node_modules/@bentley/build-tools/.eslintrc.js",
"parserOptions": {
"project": [
"tsconfig.json",
"tsconfig.backend.json"
]
}
}
}