-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.45 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
{
"name": "ephemeral",
"version": "1.0.0",
"description": "",
"directories": {
"test": "tests"
},
"engines": {
"node": "10"
},
"scripts": {
"dev": "PORT=8080 npm-run-all clean setup build:copy-assets build:copy-root dev:webpack",
"dev:watch": "npm-run-all --parallel dev:watch-elm dev:webpack",
"dev:webpack": "webpack-dev-server --port $PORT --disable-host-check",
"dev:watch-elm": "chokidar 'src/**/*.elm' -c 'elm make src/Main.elm --output dist/js/elm.js --debug' --initial",
"prod": "npm-run-all build serve-prod",
"prod-debug": "npm-run-all build-debug serve-prod",
"serve-prod": "npx serve dist/",
"now-build": "NODE_ENV=production npm run build",
"now-dev": "npm run prod",
"build": "NODE_ENV=production npm-run-all clean setup build:copy-assets build:copy-root build:elm build:uglify build:webpack",
"build-debug": "NODE_ENV=production npm-run-all clean setup build:copy-assets build:copy-root build:elm-debug build:uglify build:webpack",
"build:webpack": "webpack",
"build:elm": "elm make --optimize src/Main.elm --output=dist/js/elm.js",
"build:elm-debug": "elm make --debug src/Main.elm --output=dist/js/elm.js",
"build:uglify": "uglifyjs dist/js/elm.js --compress 'pure_funcs=\"F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9\",pure_getters=true,keep_fargs=false,unsafe_comps=true,unsafe=true' | uglifyjs --mangle --output=dist/js/elm.js",
"build:copy-assets": "cp assets -r dist",
"build:copy-root": "cp assets/favicon.ico dist && cp assets/robots.txt dist",
"setup": "mkdir dist",
"clean": "rimraf dist",
"release": "npm-run-all deploy alias",
"deploy": "npx now",
"alias": "npx now alias",
"test": "elm-test"
},
"bundlesize": [
{
"path": "./dist/elm.js",
"maxSize": "50 kB",
"compression": "gzip"
}
],
"browserslist": [
"defaults"
],
"author": "Fotis Papadogeorgopoulos <fotis@fpapado.com>",
"license": "MPL-2.0",
"devDependencies": {
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^12.0.12",
"autoprefixer": "^9.6.1",
"chokidar-cli": "^1.2.2",
"critters-webpack-plugin": "^2.4.0",
"css-loader": "^3.0.0",
"cssnano": "^4.1.10",
"elm": "^0.19.0-no-deps",
"elm-hot-webpack-loader": "^1.0.2",
"elm-test": "0.19.0-rev6",
"elm-verify-examples": "^4.0.0",
"elm-webpack-loader": "^5.0.0",
"file-loader": "^4.0.0",
"fork-ts-checker-notifier-webpack-plugin": "^1.0.2",
"fork-ts-checker-webpack-plugin": "^1.3.7",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.7.0",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"prettier": "^1.18.2",
"size-plugin": "^1.2.0",
"style-loader": "^0.23.1",
"ts-loader": "^6.0.4",
"typescript": "^3.5.2",
"uglify-es": "^3.3.9",
"url-loader": "^2.0.1",
"webpack": "^4.35.3",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2",
"workbox-webpack-plugin": "^4.3.1"
},
"dependencies": {
"@types/leaflet": "^1.4.4",
"@types/leaflet.markercluster": "^1.4.0",
"@types/nanoid": "^2.0.0",
"idb": "^4.0.3",
"idb-keyval": "^3.2.0",
"leaflet": "^1.5.1",
"leaflet.featuregroup.subgroup": "^1.0.2",
"leaflet.markercluster": "^1.4.1",
"lodash.debounce": "^4.0.8",
"nanoid": "^2.0.3",
"pretty-bytes": "^5.2.0",
"script-ext-html-webpack-plugin": "^2.1.3"
}
}