forked from imodeljs/imodeljs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 4.37 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": "ninezone-sample-app",
"description": "9-Zone Sample 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": "buildIModelJsModule && ncp ./lib/webresources/index.html ./lib/webresources/signin-callback.html",
"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\"",
"start": "npm run start:servers",
"electron": "electron lib/backend/main.js",
"clean": "rimraf lib .rush",
"lint": "tslint -p . 1>&2",
"test": "",
"test:integration": ""
},
"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"
},
{
"source": "./src/**/*.js",
"dest": "./lib"
}
],
"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.14.0",
"@bentley/config-loader": "1.14.0",
"@bentley/geometry-core": "1.14.0",
"@bentley/electron-manager": "1.14.0",
"@bentley/express-server": "1.14.0",
"@bentley/icons-generic-webfont": "^0.0.22",
"@bentley/imodeljs-backend": "1.14.0",
"@bentley/imodeljs-clients": "1.14.0",
"@bentley/imodeljs-clients-backend": "1.14.0",
"@bentley/imodeljs-common": "1.14.0",
"@bentley/imodeljs-frontend": "1.14.0",
"@bentley/imodeljs-i18n": "1.14.0",
"@bentley/imodeljs-quantity": "1.14.0",
"@bentley/imodeljs-webserver": "1.14.0",
"@bentley/presentation-backend": "1.14.0",
"@bentley/presentation-common": "1.14.0",
"@bentley/presentation-components": "1.14.0",
"@bentley/presentation-frontend": "1.14.0",
"@bentley/ui-abstract": "1.14.0",
"@bentley/ui-components": "1.14.0",
"@bentley/ui-core": "1.14.0",
"@bentley/ui-framework": "1.14.0",
"@bentley/ui-ninezone": "1.14.0",
"body-parser": "^1.18.3",
"bunyan": "^1.8.12",
"electron-devtools-installer": "^2.2.3",
"env-cmd": "^8.0.2",
"express": "^4.16.3",
"inspire-tree": "^5.0.1",
"lodash": "^4.17.10",
"react": "^16.8.0",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.8.0",
"react-redux": "^5.1.0",
"react-resize-detector": "^3.4.0",
"redux": "^4.0.0",
"svg-sprite-loader": "^3.8.0"
},
"devDependencies": {
"@bentley/build-tools": "1.14.0",
"@bentley/webpack-tools": "1.14.0",
"@types/body-parser": "^1.17.0",
"@types/bunyan": "^1.8",
"@types/electron-devtools-installer": "^2.2.0",
"@types/express": "^4.16.0",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@types/react-redux": "^6.0.14",
"@types/react-resize-detector": "^3.1.0",
"electron": "^6.1.5",
"electron-chromedriver": "^4.0.0",
"file-loader": "1.1.11",
"ncp": "^2.0.0",
"nodemon": "^1.18.4",
"npm-run-all": "^4.1.5",
"react-test-renderer": "^16.4.2",
"rimraf": "^2.6.2",
"source-map-loader": "^0.2.3",
"spectron": "^8.0.0",
"strip-json-comments-cli": "^1.0.1",
"tslint": "^5.16.0",
"typescript": "^3.5.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.0"
},
"homepage": "http://localhost:3000/",
"proxy": "http://localhost:5000"
}