-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
38 lines (38 loc) · 1.39 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
{
"name": "cheeaun-earth",
"version": "3.0.0",
"author": "Lim Chee Aun",
"license": "MIT",
"scripts": {
"start": "parcel index.html --port 2345 --no-autoinstall --no-hmr",
"build": "parcel build index.html",
"_mapsicon": "if [ ! -d \"node_modules/mapsicon\" ]; then napa djaiss/mapsicon; fi",
"mapsicon": "if cd node_modules/mapsicon; then git pull; else git clone https://github.com/djaiss/mapsicon.git node_modules/mapsicon; fi # https://stackoverflow.com/a/40316490",
"checkins": "npm run foursquare && npm run geojson",
"foursquare": "node scripts/get-checkins.mjs",
"geojson": "node scripts/geojson-checkins.js",
"countries": "npm run mapsicon && npm run countries-svg && npm run optimize-svg && npm run simplify-svg && npm run optimize-svg",
"countries-svg": "node scripts/generate-countries-svg.js",
"simplify-svg": "node scripts/simplify-svg.js",
"optimize-svg": "svgo -f data/countries/ -p 0"
},
"copyStaticFiles": [
"static",
{
"from": "data/countries/*",
"to": "dist/data/countries"
}
],
"browserslist": ">0.2%, not dead, not ie 11, not chrome < 51, not safari < 10, not android < 51",
"devDependencies": {
"dotenv": "~16.0.1",
"got": "~12.1.0",
"paper": "~0.12.15",
"parcel": "~2.6.1",
"parcel-reporter-copy-file-v2": "~1.0.1",
"svgo": "~2.8.0"
},
"dependencies": {
"mapbox-gl": "2.9.0"
}
}