-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·102 lines (102 loc) · 4.09 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
{
"name": "real-currents",
"description": "A showcase of experiments in Information Experience Design (IxD)",
"version": "1.0.0",
"author": "John Hall",
"license": "MIT",
"private": true,
"repository": "Real-Currents/www",
"main": "index.js",
"dependencies": {
"co-body": "^6.1.0",
"invoice-it": "git+https://github.com/Real-Currents/invoice-it.git#real/currents",
"koa": "^2.13.0",
"koa-body": "^4.2.0",
"koa-bodyparser": "^4.3.0",
"koa-send": "^5.0.1",
"koa-static": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-object-rest-spread": "^7.8.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.0",
"@material/typography": "^3.1.0",
"@sveltejs/gl": "git+https://github.com/Real-Currents/SvelteGL.git#real/currents",
"acorn": "^7.1.1",
"assets-webpack-plugin": "^5.1.2",
"aws-sdk": "^2.761.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.1.1",
"cross-env": "^5.2.0",
"css-loader": "^3.4.1",
"d3": "^6.2.0",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.18.1",
"exports-loader": "^0.7.0",
"fancy-log": "^1.3.2",
"file-loader": "^4.1.0",
"imports-loader": "^0.8.0",
"ioredis": "^4.17.3",
"mini-css-extract-plugin": "^0.9.0",
"node-fetch": "^2.6.1",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"plugin-error": "^1.0.1",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"rimraf": "^3.0.0",
"rollup": "^2.32.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-livereload": "^1.0.4",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.9.0",
"rollup-plugin-shader": "0.0.3",
"rollup-plugin-svelte": "^5.2.3",
"rollup-plugin-terser": "^7.0.2",
"rxjs": "^6.6.3",
"sass-loader": "^8.0.0",
"serialize-javascript": "^5.0.1",
"style-loader": "^1.0.0",
"svelte": "^3.19.1",
"svelte-material-ui": "^1.0.0",
"uglifyjs-webpack-plugin": "git+https://github.com/Real-Currents/uglifyjs-webpack-plugin.git#real/currents",
"url-loader": "^2.1.0",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.1.4",
"whatwg-fetch": "^3.0.0"
},
"resolutions": {
"natives": "1.1.6"
},
"scripts": {
"build": "npm run build:blogdown && npm run build:_rollup",
"build:preview": "npm run build:_preview && npm run build:_rollup",
"build:blogdown": "Rscript src/build.R",
"build:_preview": "Rscript src/build_preview.R",
"build:_rollup": "rollup -c",
"build:_webpack": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"install-extra:fedora": "sudo dnf install armadillo armadillo-devel pandoc gdal-devel geos-devel proj-devel mesa-libGLU mesa-libGLU-devel udunits2-devel",
"lint": "eslint src",
"live-preview": "run-p live-preview:**",
"live-preview:_webpack": "webpack --config webpack.dev.js -w",
"live-preview:blogdown": "npm run start -- ",
"postinstall": "export rprofile=\"$(echo $(R -f src/example.R | grep '/Rprofile') | grep -o '[A-Z|a-z|\\/][A-Z|a-z|0-9|\\:|\\/|\\.|\\_]*')\" && $(echo 'options(repos = list(CRAN=\"http://cran.rstudio.com/\"))' >> $rprofile) || sudo $(echo 'options(repos = list(CRAN=\"http://cran.rstudio.com/\"))' >> $rprofile) && Rscript -e 'update.packages(repos=\"http://cran.rstudio.com/\", ask=FALSE, checkBuilt=TRUE)'",
"prebuild": "rimraf dist",
"start": "node server",
"start:blogdown": "Rscript src/start.R; echo 'done'",
"start:dev": "bash src/stich-planar-terrain.sh && rollup -c -w"
}
}