forked from TerriaJS/TerriaMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 4.64 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
{
"name": "@magda/preview-map",
"version": "1.1.2",
"description": "Geospatial preview based on TerriaJS.",
"license": "Apache-2.0",
"engines": {
"node": ">= 5.1.0",
"npm": ">= 3.0.0"
},
"repository": {
"type": "git",
"url": "http://github.com/TerriaJS/TerriaMap"
},
"dependencies": {
"terriajs-server": "^2.7.4"
},
"config": {
"awsProfile": "terria",
"awsS3PackagesPath": "s3://terria-apps/map",
"awsRegion": "ap-southeast-2",
"awsEc2InstanceType": "t2.medium",
"awsEc2ImageId": "ami-2a644649",
"awsKeyName": "terria-kring",
"awsS3ServerConfigOverridePath": "s3://terria-apps/map/privateserverconfig-2016-08-31.json",
"awsS3ClientConfigOverridePath": "s3://terria-apps/map/privateclientconfig-2016-08-31.json",
"docker": {
"name": "data61/magda-preview-map",
"include": "wwwroot node_modules Dockerfile index.js package.json version.js"
}
},
"devDependencies": {
"@magda/ci-utils": "^1.0.5",
"@magda/docker-utils": "^0.0.60-alpha.10",
"babel-core": "^6.7.4",
"babel-eslint": "^7.0.0",
"babel-loader": "^7.0.0",
"babel-plugin-jsx-control-statements": "^3.2.8",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.5.0",
"css-loader": "^0.28.0",
"ejs": "^2.5.2",
"eslint": "^4.9.0",
"eslint-plugin-jsx-control-statements": "^2.2.0",
"eslint-plugin-react": "^7.2.1",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.5",
"fs-extra": "^4.0.0",
"generate-terriajs-schema": "^1.3.0",
"gulp": "^3.9.1",
"gulp-util": "^3.0.7",
"json5": "^0.5.0",
"natives": "1.1.6",
"node-notifier": "^5.1.2",
"node-sass": "^4.0.0",
"prop-types": "^15.6.0",
"raw-loader": "^0.5.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"redbox-react": "^1.3.6",
"resolve-url-loader": "^2.0.2",
"sass-loader": "^6.0.3",
"semver": "^5.0.0",
"style-loader": "^0.19.1",
"svg-sprite-loader": "^3.4.0",
"terriajs": "6.1.1",
"terriajs-catalog-editor": "^0.2.0",
"terriajs-cesium": "1.48.0",
"terriajs-schema": "latest",
"urijs": "^1.18.12",
"url-loader": "^0.5.7",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.2",
"yargs": "^12.0.5"
},
"scripts": {
"start": "bash node_modules/terriajs-server/run_server.sh --config-file devserverconfig.json",
"stop": "bash node_modules/terriajs-server/stop_server.sh",
"gulp": "gulp",
"postinstall": "echo 'Installation with NPM successful. What to do next:\\n npm start # Starts the server on port 3001\\n gulp watch # Builds NationalMap 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": "rm -rf node_modules && yarn install && yarn run deploy-without-reinstall",
"deploy-without-reinstall": "gulp clean && gulp release && yarn run deploy-current",
"deploy-current": "yarn 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",
"docker-build-local": "create-docker-context-for-node-component --build --push --tag auto --local",
"docker-build-prod": "create-docker-context-for-node-component --build --push --tag auto",
"retag-and-push": "retag-and-push",
"compile": "gulp release",
"build": "yarn run gulp release",
"dev": "yarn start && gulp watch",
"helm-docs": "docker run --rm -v \"$(pwd):/helm-docs\" -u $(id -u) jnorwood/helm-docs:v1.11.0 -t ./README.md.gotmpl -o ../../../README.md",
"update-all-charts": "helm dep up ./deploy/helm/magda-preview-map",
"add-all-chart-version-changes": "git ls-files -m | grep Chart.yaml | xargs git add && git ls-files -m | grep Chart.lock | xargs git add",
"add-all-helm-docs-changes": "yarn helm-docs && git ls-files -m | grep -i readme.md | xargs git add",
"version": "yarn update-helm-chart-version && yarn update-all-charts && yarn add-all-chart-version-changes && yarn add-all-helm-docs-changes",
"helm-lint": "helm lint deploy/helm/magda-preview-map -f deploy/helm/test-deploy.yaml"
},
"magda": {
"language": "javascript",
"categories": {
"map": true
}
},
"versionUpdateExclude": [
"terria",
"terriamap"
]
}