Skip to content

Commit

Permalink
Remove node_modules leaving only @vocdoni/sdk installed
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Nov 14, 2024
1 parent b9be408 commit a93bf75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,3 @@ namespace :decidim_surveys_patch do
end
end
end

Rake::Task["assets:precompile"].enhance do
FileUtils.remove_dir("node_modules", true)
end
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"extends @decidim/browserslist-config"
],
"scripts": {
"heroku-postbuild": "rm -rf node_modules && npm install @vocdoni/sdk --no-save",
"lint": "eslint -c .eslintrc.json --ext .js app/packs/src",
"lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/src --fix",
"stylelint": "stylelint \"{decidim-census_sms/,decidim-dataviz/,decidim-ephemeral_participation/,decidim-stats/,decidim-valid_auth/,}app/packs/stylesheets/**/*.scss\"",
Expand Down

0 comments on commit a93bf75

Please sign in to comment.