Skip to content

Commit 0924df7

Browse files
committed
package.json optimization
1 parent f6c177b commit 0924df7

2 files changed

Lines changed: 4744 additions & 6907 deletions

File tree

package.json

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
{
22
"name": "DMPRoadmap",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "DMPRoadmap javascript dependencies",
55
"main": "null",
6+
"engines": {
7+
"node": ">=22.0.0"
8+
},
69
"scripts": {
7-
"lint": "yarn run eslint --ext .js app/javascript/**/*.js",
10+
"lint": "eslint --ext .js app/javascript/**/*.js",
11+
"lint:fix": "eslint --ext .js app/javascript/**/*.js --fix",
812
"test": "karma start spec/karma/unit.js",
913
"build": "webpack --config ./config/webpack/webpack.config.js",
10-
"build:css": "sass ./app/assets/stylesheets/application.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules"
14+
"build:css": "sass ./app/assets/stylesheets/application.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules",
15+
"build:css:watch": "sass --watch --poll ./app/assets/stylesheets/application.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules"
1116
},
1217
"babel": {
1318
"presets": [
@@ -30,49 +35,44 @@
3035
},
3136
"homepage": "https://github.com/DMPRoadmap/roadmap#readme",
3237
"dependencies": {
33-
"@babel/core": "^7.20.12",
34-
"@babel/plugin-proposal-class-properties": "^7.18.6",
35-
"@babel/plugin-proposal-private-methods": "^7.18.6",
36-
"@babel/plugin-transform-runtime": "^7.19.6",
37-
"@babel/preset-env": "^7.20.2",
3838
"@fortawesome/fontawesome-free": "^6.4.0",
39-
"@hotwired/turbo-rails": "^7.1.3",
39+
"@hotwired/turbo-rails": "^8.0.16",
4040
"@popperjs/core": "^2.11.6",
41-
"@rails/actioncable": "~7.1",
42-
"@rails/activestorage": "~7.1",
41+
"@rails/actioncable": "~8.0.200",
42+
"@rails/activestorage": "~8.0.200",
4343
"@rails/ujs": "~7.1",
44-
"babel-loader": "^9.1.2",
45-
"babel-plugin-macros": "^3.1.0",
4644
"bootstrap": "^5.3.3",
4745
"bootstrap-select": "^1.13.18",
48-
"chart.js": "^3.8.0",
46+
"chart.js": "^4.5.0",
4947
"core-js": "^3.6.5",
50-
"eslint": "^8.18.0",
51-
"eslint-config-airbnb-base": "^15.0.0",
52-
"eslint-plugin-import": "^2.26.0",
53-
"eslint-webpack-plugin": "^2.6.0",
5448
"jquery": "^3.5.1",
5549
"jquery-ui": "^1.12.1",
5650
"jquery-ui-sass": "^0.0.1",
5751
"js-cookie": "^3.0.1",
58-
"number-to-text": "^0.3.8",
59-
"rails-erb-loader": "^5.5.2",
60-
"regenerator-runtime": "^0.13.5",
61-
"sass": "^1.57.1",
52+
"number-to-text": "^0.4.1",
53+
"regenerator-runtime": "^0.14.1",
6254
"timeago.js": "^4.0.2",
63-
"tinymce": "^7.2.0",
64-
"webpack": "^5.75.0",
65-
"webpack-cli": "^5.0.1"
55+
"tinymce": "^7.2.0"
6656
},
6757
"devDependencies": {
58+
"@babel/core": "^7.20.12",
59+
"@babel/plugin-proposal-class-properties": "^7.18.6",
6860
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
61+
"@babel/plugin-proposal-private-methods": "^7.18.6",
6962
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
70-
"eslint": "^8.18.0",
71-
"eslint-config-airbnb-base": "^15.0.0",
72-
"eslint-plugin-import": "^2.26.0",
73-
"eslint-webpack-plugin": "^2.6.0",
74-
"jasmine": "^4.2.1",
75-
"jasmine-core": "^4.2.0",
63+
"@babel/plugin-transform-runtime": "^7.19.6",
64+
"@babel/preset-env": "^7.20.2",
65+
"@eslint/eslintrc": "3.3.1",
66+
"@eslint/js": "9.30.1",
67+
"babel-loader": "^10.0.0",
68+
"babel-plugin-macros": "^3.1.0",
69+
"eslint": "9.30.1",
70+
"eslint-config-airbnb-base": "15.0.0",
71+
"eslint-plugin-import": "2.32.0",
72+
"eslint-webpack-plugin": "^5.0.2",
73+
"globals": "16.3.0",
74+
"jasmine": "^5.8.0",
75+
"jasmine-core": "^5.8.0",
7676
"karma": "^6.3.14",
7777
"karma-babel-preprocessor": "^8.0.1",
7878
"karma-chrome-launcher": "^3.1.0",
@@ -81,9 +81,10 @@
8181
"karma-jasmine": "^5.1.0",
8282
"karma-jquery": "^0.2.4",
8383
"karma-json-fixtures-preprocessor": "^0.0.6",
84-
"karma-webpack": "^5.0.0"
85-
},
86-
"resolutions": {
87-
"webpack": "^5.75.0"
84+
"karma-webpack": "^5.0.0",
85+
"rails-erb-loader": "^5.5.2",
86+
"sass": "^1.57.1",
87+
"webpack": "^5.75.0",
88+
"webpack-cli": "^6.0.1"
8889
}
8990
}

0 commit comments

Comments
 (0)