Skip to content

Commit

Permalink
minor changes pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGermuska committed Oct 2, 2023
1 parent 1256649 commit c0eae5b
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 69 deletions.
112 changes: 56 additions & 56 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
{
"name": "StoryMapJS",
"version": "0.9.0",
"description": "This README is a work in progress. Please see QUICKSTART.md for the current development onboarding process.",
"private": "true",
"directories": {
"test": "tests"
},
"dependencies": {
"adm-zip": "^0.5.4",
"leaflet": "^0.7.2",
"mini-css-extract-plugin": "^1.3.9",
"prompt": "^1.1.0",
"simple-git": "^2.36.1",
"trash-cli": "^4.0.0",
"uglify-js": "^2.8.29"
},
"devDependencies": {
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.0.1",
"file-loader": "^6.2.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.5.0",
"json-loader": "^0.5.7",
"jstrace": "^0.3.0",
"less": "^3.13.0",
"less-loader": "^7.1.0",
"npm-run-all": "^4.1.5",
"run-all": "^1.0.1",
"run-s": "0.0.0",
"style-loader": "^2.0.0",
"trash": "^7.1.0",
"webpack": "^5.11.0",
"webpack-cli": "^4.7.0",
"webpack-merge": "^4.2.2"
},
"scripts": {
"build": "webpack --config webpack.prd.js && node tasks/compile_less.js",
"clean": "trash dist",
"test": "echo \"Error: no test specified\" && exit 1",
"dist": "npm-run-all -s clean build",
"stage": "npm run dist && node tasks/stage.js",
"stage_latest": "npm run dist && node tasks/stage.js latest",
"stage_dev": "npm run dist && node tasks/stage.js dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NUKnightLab/StoryMapJS.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/NUKnightLab/StoryMapJS/issues"
},
"homepage": "https://github.com/NUKnightLab/StoryMapJS#readme"
"name": "StoryMapJS",
"version": "0.9.0",
"description": "This README is a work in progress. Please see QUICKSTART.md for the current development onboarding process.",
"private": "true",
"directories": {
"test": "tests"
},
"dependencies": {
"adm-zip": "^0.5.4",
"leaflet": "^0.7.2",
"mini-css-extract-plugin": "^1.3.9",
"prompt": "^1.1.0",
"simple-git": "^2.36.1",
"trash-cli": "^4.0.0",
"uglify-js": "^2.8.29"
},
"devDependencies": {
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.0.1",
"file-loader": "^6.2.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.5.0",
"json-loader": "^0.5.7",
"jstrace": "^0.3.0",
"less": "^3.13.0",
"less-loader": "^7.1.0",
"npm-run-all": "^4.1.5",
"run-all": "^1.0.1",
"run-s": "0.0.0",
"style-loader": "^2.0.0",
"trash": "^7.1.0",
"webpack": "^5.11.0",
"webpack-cli": "^4.7.0",
"webpack-merge": "^4.2.2"
},
"scripts": {
"build": "webpack --config webpack.prd.js && node tasks/compile_less.js",
"clean": "trash dist",
"test": "echo \"Error: no test specified\" && exit 1",
"dist": "npm-run-all -s clean build && cp dist/js/storymap.js dist/js/storymap-min.js",
"stage": "npm run dist && node tasks/stage.js",
"stage_latest": "npm run dist && node tasks/stage.js latest",
"stage_dev": "npm run dist && node tasks/stage.js dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NUKnightLab/StoryMapJS.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/NUKnightLab/StoryMapJS/issues"
},
"homepage": "https://github.com/NUKnightLab/StoryMapJS#readme"
}
2 changes: 1 addition & 1 deletion src/js/storymap/StoryMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class StoryMap {
// interaction
dragging: true,
trackResize: true,
map_type: "stamen:toner-lite", // as Stamen transitions to Stadia, this is not a good default, but is it premature to change?
map_type: "osm:standard",
attribution: "",
map_mini: true,
map_subdomains: "",
Expand Down
1 change: 0 additions & 1 deletion src/template/football.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@
}
}
],
"map_type": "stamen:terrain",
"call_to_action_text": "",
"map_as_image": false,
"map_subdomains": ""
Expand Down
11 changes: 0 additions & 11 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ module.exports = {
library: "KLStoryMap" // https://webpack.js.org/configuration/output/#outputlibrary
},
plugins: [
//new CopyPlugin([{
// from: "./source/js/language/locale/*.json",
// to: path.join(output_path, "js/locale"),
// flatten: true
//}]),
new CopyPlugin({
patterns: [
{ from: './src/embed/*.html',
Expand All @@ -31,12 +26,6 @@ module.exports = {
to: path.join(output_path, 'js/locale/[name].[ext]') }
]
}),
new CopyPlugin({
patterns: [{
from: path.join(output_path, 'js/storymap.js'),
to: path.join(output_path, 'js/storymap-min.js')
}]
}),
new CleanWebpackPlugin({
cleanStaleWebpackAssets: true
}),
Expand Down

0 comments on commit c0eae5b

Please sign in to comment.