forked from TerriaJS/TerriaMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
193 lines (193 loc) · 6.54 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"private": true,
"workspaces": {
"packages": [
"packages/terriajs",
"packages/cesium",
"packages/terriajs-server",
"packages/plugin-api",
"packages/plugin-sample"
],
"nohoist": [
"**/husky"
]
},
"name": "terriajs-map",
"version": "0.0.5",
"description": "Geospatial catalog explorer based on TerriaJS.",
"license": "Apache-2.0",
"engines": {
"node": ">= 14.0.0"
},
"repository": {
"type": "git",
"url": "http://github.com/TerriaJS/TerriaMap"
},
"dependencies": {
"@emotion/react": "~11.10.6",
"@emotion/styled": "~11.10.6",
"@faker-js/faker": "~7.6.0",
"@hookform/resolvers": "~3.1.0",
"@material-ui/core": "~4.12.4",
"@mui/icons-material": "~5.11.9",
"@mui/material": "~5.15.15",
"@mui/x-date-pickers": "~6.3.0",
"dayjs": "~1.11.7",
"dotenv": "~16.3.1",
"mobx": "^4.15.4",
"mobx-react": "^6.3.1",
"mobx-react-lite": "~3.0.0",
"mobx-utils": "^5.4.1",
"pm2": "~3.2.2",
"react-axios": "~2.0.6",
"react-beautiful-dnd": "~13.1.1",
"react-datepicker": "0.53.0",
"react-hook-form": "7.43.9",
"react-hook-form-mui": "~6.0.1",
"react-vis": "~1.11.12",
"terriajs-plugin-api": "0.0.1-alpha.6",
"terriajs-plugin-sample": "0.0.1-alpha.7",
"terriajs-server": "^3.3.4",
"yup": "~1.1.1"
},
"config": {
"awsProfile": "terria",
"awsS3PackagesPath": "s3://terria-apps/map",
"awsRegion": "ap-southeast-2",
"awsEc2InstanceType": "t2.small",
"awsEc2ImageId": "ami-0065540df76a93885",
"awsKeyName": "terria-kring",
"awsS3ServerConfigOverridePath": "s3://terria-apps/map/privateserverconfig-2016-08-31.json",
"awsS3ClientConfigOverridePath": "s3://terria-apps/map/privateclientconfig-2018-11-19.json",
"docker": {
"name": "data61/terria-terriamap",
"include": "wwwroot node_modules devserverconfig.json index.js package.json version.js"
}
},
"resolutions": {
"@types/react": "17.0.3",
"@types/lodash": "4.14.182"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.12.16",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.0.0",
"@turf/bearing": "~6.5.0",
"@turf/circle": "^6.5.0",
"@turf/destination": "~6.5.0",
"@turf/dissolve": "~6.5.0",
"@turf/distance": "~6.5.0",
"@turf/flatten": "~6.5.0",
"babel-loader": "^8.2.3",
"babel-plugin-jsx-control-statements": "^4.0.0",
"babel-plugin-styled-components": "^1.10.7",
"css-loader": "^2.1.0",
"ejs": "~2.5.2",
"eslint": "^7.20.0",
"eslint-plugin-jsx-control-statements": "^2.2.1",
"eslint-plugin-react": "^7.19.0",
"file-loader": "^3.0.1",
"fork-ts-checker-notifier-webpack-plugin": "^3.0.0",
"fork-ts-checker-webpack-plugin": "^5.0.7",
"fs-extra": "^7.0.1",
"gulp": "^4.0.0",
"husky": "^8.0.1",
"json5": "^2.1.0",
"minimist": "~1.2.5",
"node-notifier": "^5.1.2",
"node-sass": "^6.0.1",
"patch-package": "~6.4.7",
"plugin-error": "^1.0.1",
"postinstall-postinstall": "~2.1.0",
"prettier": "2.7.1",
"pretty-quick": "^1.10.0",
"prop-types": "^15.6.0",
"raw-loader": "^1.0.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"redbox-react": "~1.3.6",
"resolve-url-loader": "^3.0.1",
"sass-loader": "^10",
"semver": "~5.0.0",
"style-loader": "^0.23.1",
"svg-sprite-loader": "4.1.3",
"terriajs": "8.2.21",
"terriajs-cesium": "1.92.0-tile-error-provider-fix-2",
"terriajs-schema": "latest",
"ts-loader": "^5.3.3",
"typescript": "^3.9.2",
"urijs": "^1.18.12",
"url-loader": "^1.1.2",
"webpack": "~4.39.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.1.14",
"yargs": "~11.0.0"
},
"scripts": {
"prepare": "husky install",
"docker-build-local": "node ./deploy/docker/create-docker-context-for-node-components.js --build --push --tag auto --local",
"docker-build-prod": "node ./deploy/docker/create-docker-context-for-node-components.js --build --push --tag auto",
"docker-build-ci": "node ./deploy/docker/create-docker-context-for-node-components.js --build",
"start": "pm2 start ecosystem.config.js --update-env -- --config-file devserverconfig.json",
"restart": "pm2 restart ecosystem.config.js --update-env -- --config-file devserverconfig.json",
"stop": "pm2 stop ecosystem.config.js",
"pm2": "pm2 logs",
"pm2-kill": "pm2 kill",
"gulp": "gulp",
"patch": "patch-package terriajs",
"gulp:watch": "gulp watch",
"postinstall": "patch-package && echo 'Installation successful. What to do next:\\n yarn start # Starts the server on port 3001\\n gulp watch # Builds TerriaMap and dependencies, and rebuilds if files change.'",
"hot": "webpack-dev-server --inline --config buildprocess/webpack.config.hot.js --hot --host 0.0.0.0",
"deploy": "aws --profile $npm_package_config_awsProfile s3 ls && rm -rf node_modules && yarn install --frozen-lockfile && yarn deploy-without-reinstall",
"deploy-without-reinstall": "gulp clean && gulp release && yarn deploy-current",
"deploy-current": "yarn get-deploy-overrides && gulp make-package --serverConfigOverride ./privateserverconfig.json --clientConfigOverride ./wwwroot/privateconfig.json && cd deploy/aws && ./stack create && cd ../..",
"get-deploy-overrides": "aws s3 --profile $npm_package_config_awsProfile cp $npm_package_config_awsS3ServerConfigOverridePath ./privateserverconfig.json && aws s3 --profile $npm_package_config_awsProfile cp $npm_package_config_awsS3ClientConfigOverridePath ./wwwroot/privateconfig.json",
"prettier": "prettier --write \"**/*\"",
"pretty-quick": "pretty-quick",
"prettier-check": "prettier --check \"**/*\"",
"gulp-sync": "gulp sync-terriajs-dependencies"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"pancake": {
"auto-save": true,
"plugins": true,
"ignore": [],
"json": {
"enable": false,
"location": "pancake/",
"name": "pancake",
"content": {
"name": true,
"version": true,
"dependencies": true,
"path": true,
"settings": true
}
},
"css": {
"minified": true,
"modules": false,
"browsers": [
"last 2 versions",
"ie 8",
"ie 9",
"ie 10"
],
"location": "pancake/css/",
"name": "pancake.min.css"
},
"sass": {
"modules": false,
"location": "pancake/sass/",
"name": "pancake.scss"
},
"react": {
"location": "pancake/react/"
}
}
}