-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 4.2 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 4.2 KB
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
{
"name": "indikatoren",
"version": "1.0.0",
"author": "Marcel Colomb - marcel.colomb@bs.ch",
"description": "Indikatorenportal Statistisches Amt Basel-Stadt",
"dependencies": {
"@statabs/statabs-filter": "2.1.1",
"bootstrap": "4.3.1",
"bootstrap-multiselect": "0.9.13-1",
"highcharts": "9.1.2",
"jquery": "^3.5.1",
"os-browserify": "^0.3.0",
"proj4": "2.4.3",
"seedrandom": "2.4.3"
},
"devDependencies": {
"casperjs": "1.1.4",
"clone": "2.1.2",
"copy-node-modules": "1.0.3",
"crlf": "1.1.1",
"csv": "^5.3.1",
"eol": "0.9.1",
"forever": "^3.0.4",
"fs-extra": "5.0.0",
"gh-pages-travis": "1.0.4",
"glob": "7.1.1",
"hash-files": "1.1.1",
"highcharts-export-server": "^2.1.0",
"http-live-server": "1.2.0",
"jsdom": "9.12.0",
"jsondiffpatch": "0.2.5",
"rimraf": "2.6.2",
"serialize-javascript": "^5.0.1",
"svgo": "^1.2.2"
},
"engines": {
"node": ">=8.10.0"
},
"scripts": {
"reinstall": "rm -rf node_cache && rm -rf node_modules && rm -f package-lock.json && mkdir node_modules && npm install && LC_ALL=C",
"build:database": "node build/createJsonDatabase",
"build:find_changed_charts": "echo 'Comparing checksums of current files with those created after last build...' && node build/findChangedCharts.js",
"build:partial_databases": "node build/createKennzahlensetJsonFiles.js",
"build:copy_data_per_set": "node build/copyDataPerSet.js",
"build:charts": "node build/createChartConfigs",
"build:images": "node build/exportChartImages",
"build:images_viewbox": "node build/addSvgViewbox.js",
"build:create_umwelt_charts": "node_modules/casperjs/bin/casperjs build/createUmweltberichtConfigs.js",
"build:clean_umwelt_charts": "node build/cleanUmweltberichtConfigs.js",
"build:init_print_charts": "node build/createMissingPrintChartsFromMetadata.js",
"build:optimize_images": "echo 'Optimizing svg images...' && node build/optimizeImages.js && echo '...done optimizing images!'",
"build:optimize_all_images": "echo 'Optimizing svg images...' && svgo --pretty --multipass -f images/portal/ && svgo --pretty --multipass -f images/indikatorenset/ && echo '...done optimizing images!'",
"build:save_checksums": "echo 'Saving checksums of newly built charts...' && node build/saveChecksums.js",
"build:copy_modules": "echo 'Copying required node_modules to assets/js/modules...' && copy-node-modules . assets/js -v && rm -rf assets/js/modules && mv assets/js/node_modules assets/js/modules",
"build": "LC_ALL=C && npm run build:database && npm run build:find_changed_charts && npm run build:partial_databases && npm run build:charts && npm run build:images && npm run build:images_viewbox && npm run build:optimize_images && npm run build:save_checksums && npm run build:copy_modules && npm run build:copy_data_per_set",
"rebuild": "LC_ALL=C && echo 'Deleting metadat/all/hashesAfterBuild.json in order to trigger build of all charts...' && rm metadata/all/hashesAfterBuild.json & echo 'Running npm run build...' && npm run build",
"build:update_dependencies": "reinstall && npm prune --production=false && npm update --dev",
"deployNewCharts": "LC_ALL=C && node build/copyFilesFromTemp.js",
"test": "echo \"No test specified\" && exit 0",
"local-server": "node ./node_modules/http-live-server/live-server --port=8084",
"deploy:gh-pages": "gh-pages-travis",
"deploy:ftp": "echo \"Fake uploading to FTP server...\" && exit 0",
"deploy": "npm run deploy:gh-pages && npm run deploy:ftp && pwd",
"set-environment-variables": "export HIGHCHARTS_VERSION=8.2.2 && export ACCEPT_HIGHCHARTS_LICENSE=YES && export HIGHCHARTS_USE_STYLED=NO && export HIGHCHARTS_USE_MAPS=YES && LC_ALL=C",
"preinstall": "export ACCEPT_HIGHCHARTS_LICENSE=1 && export HIGHCHARTS_USE_STYLED=NO && export HIGHCHARTS_VERSION=8.2.2 && LC_ALL=C",
"deployBuildPush": "npm run deployNewCharts && npm run build && git add . && git commit -m 'Live Schalten' && git push"
},
"repository": {
"type": "git",
"url": "https://github.com/statabs/indikatoren"
},
"bugs": {
"url": "https://github.com/statabs/indikatoren/issues"
},
"homepage": "http://www.statistik.bs.ch/zahlen/indikatoren/"
}