This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
147 lines (147 loc) · 4.74 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
139
140
141
142
143
144
145
146
147
{
"name": "@bentley/simple-viewer-app",
"description": "Simple Viewer App",
"license": "MIT",
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"os": [
"win32",
"linux"
],
"version": "0.0.0",
"private": true,
"scripts": {
"build": "buildIModelJsModule",
"start:webserver": "node ./node_modules/@bentley/imodeljs-webserver/lib/WebServer.js --port=3000 --resources=./lib/webresources/",
"start:backend": "node lib/backend/main.js",
"start:servers": "env-cmd ./lib/webresources/config.json run-p \"start:webserver\" \"start:backend\"",
"electron": "electron lib/backend/main.js",
"clean": "rimraf lib",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e",
"test:unit": "mocha --opts ./test/unit/mocha.opts \"test/unit/**/*.test.ts*\"",
"test:integration": "mocha --opts ./test/integration/mocha.opts \"test/integration/**/*.test.ts*\"",
"test:e2e": "start-server-and-test test:e2e:start-app http-get://localhost:3000 test:e2e:test-app",
"test:e2e:start-app": "env-cmd ./lib/webresources/config.json run-p \"start:webserver\" \"start:backend\"",
"test:e2e:test-app": "mocha --opts ./test/end-to-end/mocha.opts \"test/end-to-end/**/*.test.ts*\"",
"test:electron": "mocha --opts ./test/electron/mocha.opts \"test/electron/**/*.test.ts*\""
},
"iModelJs": {
"buildModule": {
"type": "application",
"sourceResources": [
{
"source": "./src/**/*.scss",
"dest": "./lib"
},
{
"source": "./src/**/*.css",
"dest": "./lib"
},
{
"source": "./public/**/*",
"dest": "./lib/webresources"
},
{
"source": "./src/frontend/plugins/public/**/*",
"dest": "./lib/webresources"
}
],
"webpack": {
"dest": "./lib/webresources",
"entry": "./lib/frontend/index.js",
"bundleName": "main",
"styleSheets": true,
"htmlTemplate": "./src/frontend/index.html"
},
"makeConfig": {
"dest": "./lib/webresources/config.json",
"sources": [
{
"file": "process.env",
"filter": "^(i|I)(m|M)(j|J)(s|S)_"
},
{
"file": "./src/common/config.json",
"filter": "^(i|I)(m|M)(j|J)(s|S)_"
}
]
}
}
},
"dependencies": {
"@bentley/bentleyjs-core": "1.4.0",
"@bentley/config-loader": "1.4.0",
"@bentley/electron-manager": "1.4.0",
"@bentley/express-server": "1.4.0",
"@bentley/geometry-core": "1.4.0",
"@bentley/icons-generic-webfont": "^0.0.31",
"@bentley/imodeljs-backend": "1.4.0",
"@bentley/imodeljs-clients": "1.4.0",
"@bentley/imodeljs-clients-backend": "1.4.0",
"@bentley/imodeljs-common": "1.4.0",
"@bentley/imodeljs-frontend": "1.4.0",
"@bentley/imodeljs-i18n": "1.4.0",
"@bentley/imodeljs-quantity": "1.4.0",
"@bentley/imodeljs-webserver": "1.4.0",
"@bentley/presentation-backend": "1.4.0",
"@bentley/presentation-common": "1.4.0",
"@bentley/presentation-components": "1.4.0",
"@bentley/presentation-frontend": "1.4.0",
"@bentley/presentation-testing": "1.4.0",
"@bentley/ui-components": "1.4.0",
"@bentley/ui-core": "1.4.0",
"body-parser": "^1.18",
"bunyan": "^1.8.12",
"chai-jest-snapshot": "^2.0.0",
"express": "^4",
"inspire-tree": "^5.0.1",
"lodash": "^4.17.10",
"react": "^16.4.2",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.4.2",
"react-redux": "^5.0.7",
"redux": "^4.0.0"
},
"devDependencies": {
"@bentley/build-tools": "1.4.0",
"@bentley/webpack-tools": "1.4.0",
"@types/body-parser": "^1.17",
"@types/bunyan": "^1.8",
"@types/chai": "^4.1.7",
"@types/express": "^4",
"@types/jsdom": "^12.2.0",
"@types/mocha": "^5.2.5",
"@types/puppeteer": "^1.10.0",
"@types/react": "^16.4.14",
"@types/react-dom": "16.0.7",
"chai": "^4.2.0",
"chromedriver": "^2.34.1",
"electron": "^4.0.1",
"electron-chromedriver": "^3.0.0",
"env-cmd": "^8.0.2",
"ignore-styles": "^5.0.1",
"jsdom": "^13.0.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"nodemon": "^1.18.4",
"npm-run-all": "^4.1.3",
"puppeteer": "^1.10.0",
"react-testing-library": "^5.3.2",
"rimraf": "^2.6.2",
"sinon": "^7.2.0",
"spectron": "^5.0.0",
"start-server-and-test": "^1.7.11",
"strip-json-comments-cli": "^1.0.1",
"ts-node": "^7.0.1",
"typemoq": "^2.1.0",
"typescript": "^3.5.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.0",
"xmlhttprequest": "^1.8.0"
},
"homepage": "http://localhost:3000/",
"proxy": "http://localhost:5000"
}