forked from TerriaJS/TerriaMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.97 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
{
"name": "terriajs-map",
"version": "0.0.1",
"description": "Geospatial catalog explorer based on TerriaJS.",
"license": "Apache-2.0",
"engines": {
"node": ">= 8.0.0"
},
"repository": {
"type": "git",
"url": "http://github.com/TerriaJS/TerriaMap"
},
"dependencies": {
"pm2": "^3.2.2",
"terriajs-server": "^3.0.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"
}
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-jsx-control-statements": "^4.0.0",
"css-loader": "^2.1.0",
"ejs": "^2.5.2",
"eslint": "^5.14.1",
"eslint-plugin-jsx-control-statements": "^2.2.1",
"eslint-plugin-react": "^7.12.4",
"file-loader": "^3.0.1",
"fs-extra": "^7.0.1",
"generate-terriajs-schema": "^1.4.0",
"gulp": "^4.0.0",
"husky": "^2.2.0",
"json5": "^2.1.0",
"node-notifier": "^5.1.2",
"node-sass": "^4.11.0",
"plugin-error": "^1.0.1",
"prettier": "1.17.0",
"pretty-quick": "^1.10.0",
"prop-types": "^15.6.0",
"raw-loader": "^1.0.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"redbox-react": "^1.3.6",
"resolve-url-loader": "^3.0.1",
"sass-loader": "^7.1.0",
"semver": "^5.0.0",
"style-loader": "^0.23.1",
"svg-sprite-loader": "4.1.3",
"terriajs": "7.11.3",
"terriajs-catalog-editor": "^0.2.0",
"terriajs-cesium": "1.66.0",
"terriajs-schema": "latest",
"urijs": "^1.18.12",
"url-loader": "^1.1.2",
"webpack": "^4.29.5",
"webpack-cli": "^3.2.2",
"webpack-dev-server": "^3.1.14",
"yargs": "^11.0.0"
},
"scripts": {
"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",
"stop": "pm2 stop ecosystem.config.js",
"pm2": "pm2",
"gulp": "gulp",
"postinstall": "echo 'Installation successful. What to do next:\\n npm 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 && npm ci && npm run deploy-without-reinstall",
"deploy-without-reinstall": "gulp clean && gulp release && npm run deploy-current",
"deploy-current": "npm run 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 \"**/*\""
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}