You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@
7
7
"access": "public"
8
8
},
9
9
"scripts": {
10
-
"build": "npm run check_icons && npm run build_icons",
11
-
"build_icons": "node ./scripts/build_icons.js",
12
-
"check_icons": "node ./scripts/check_icons.js",
13
-
"serve": "node serve.js"
10
+
"build": "npm run check_icons && npm run build_icons && npm run write_dist_meta",
11
+
"build_icons": "node scripts/build_icons.js",
12
+
"check_icons": "node scripts/check_icons.js",
13
+
"serve": "node serve.js",
14
+
"write_dist_meta": "cp LICENSE dist/LICENSE && node -p \"'Pinhead Map Icons version ' + require('./package.json').version + ' by Wayside Mapping. For more info and recent releases visit: https://github.com/waysidemapping/pinhead'\" > dist/README"
0 commit comments