Skip to content

Commit 69d0960

Browse files
committed
Update many packages; Remove a few packages
1 parent b5b71b8 commit 69d0960

File tree

1 file changed

+39
-46
lines changed

1 file changed

+39
-46
lines changed

package.json

Lines changed: 39 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,80 +15,73 @@
1515
"srcts/types/**/*.d.ts"
1616
],
1717
"engines": {
18-
"node": ">= 14",
19-
"yarn": ">= 1.22"
18+
"node": ">= 18",
19+
"npm": ">= 10"
2020
},
2121
"dependencies": {
22-
"@types/bootstrap": "3.4.0",
23-
"@types/bootstrap-datepicker": "0.0.14",
24-
"@types/datatables.net": "^1.10.19",
25-
"@types/ion-rangeslider": "2.3.0",
26-
"@types/jquery": "3.5.14",
27-
"@types/selectize": "0.12.34",
28-
"lit": "^3.0.0"
22+
"@types/bootstrap": "5.2.10",
23+
"@types/bootstrap-datepicker": "1.10.0",
24+
"@types/datatables.net": "^1.10.28",
25+
"@types/ion-rangeslider": "2.3.5",
26+
"@types/jquery": "3.5.32",
27+
"@types/selectize": "0.12.39",
28+
"lit": "^3.2.1"
2929
},
3030
"devDependencies": {
31-
"@deanc/esbuild-plugin-postcss": "^1.0.2",
3231
"@selectize/selectize": "https://github.com/selectize/selectize.js.git#e3f2e0b4aa251375bc21b5fcd8ca7d374a921f08",
33-
"@testing-library/dom": "^7.31.0",
34-
"@testing-library/jest-dom": "^5.12.0",
35-
"@testing-library/user-event": "^13.1.9",
32+
"@testing-library/dom": "^10.4.0",
33+
"@testing-library/jest-dom": "^6.6.3",
34+
"@testing-library/user-event": "^14.6.1",
3635
"@types/highlightjs": "^9.12.1",
3736
"@types/jest": "^26.0.23",
3837
"@types/jqueryui": "1.12.16",
3938
"@types/lodash": "^4.14.170",
4039
"@types/node": "^18.14.2",
4140
"@types/showdown": "^1.9.3",
42-
"@typescript-eslint/eslint-plugin": "^5.38.1",
43-
"@typescript-eslint/parser": "^5.38.1",
41+
"@typescript-eslint/eslint-plugin": "^8.23.0",
42+
"@typescript-eslint/parser": "^8.23.0",
4443
"autoprefixer": "^10.2.6",
4544
"browserslist": "^4.19.1",
46-
"caniuse-lite": "^1.0.30001312",
47-
"core-js": "^3.13.0",
48-
"esbuild": "^0.15.10",
45+
"esbuild": ">=0.20.0",
4946
"esbuild-plugin-globals": "^0.1.1",
50-
"esbuild-plugin-sass": "^1.0.1",
51-
"eslint": "^8.24.0",
52-
"eslint-config-prettier": "^8.5.0",
53-
"eslint-plugin-jest": "^27.0.4",
54-
"eslint-plugin-jest-dom": "^4.0.2",
55-
"eslint-plugin-prettier": "^4.2.1",
56-
"eslint-plugin-unicorn": "^43.0.2",
47+
"esbuild-sass-plugin": "^3.3.1",
48+
"eslint": "^9.19.0",
49+
"eslint-config-prettier": "^10.0.1",
50+
"eslint-plugin-jest": "^28.11.0",
51+
"eslint-plugin-jest-dom": "^5.5.0",
52+
"eslint-plugin-prettier": "^5.2.3",
53+
"eslint-plugin-unicorn": "^56.0.1",
5754
"fs-readdir-recursive": "^1.1.0",
58-
"jest": "^26.6.3",
55+
"jest": "^29.7.0",
5956
"jquery": "^3.6.0",
6057
"lodash": "^4.17.21",
61-
"madge": "^4.0.2",
58+
"@types/madge": "^5.0.3",
59+
"madge": "^8.0.0",
6260
"node-gyp": "^8.1.0",
63-
"phantomjs-prebuilt": "^2.1.16",
64-
"postcss": "^8.3.5",
65-
"prettier": "^2.7.1",
66-
"prettier-plugin-organize-imports": "^3.2.4",
61+
"postcss": "^8.5.1",
62+
"prettier": "^3.4.2",
63+
"prettier-plugin-organize-imports": "^4.1.0",
6764
"readcontrol": "^1.0.0",
6865
"replace": "^1.2.1",
69-
"ts-jest": "^26",
70-
"ts-node": "^10.9.1",
71-
"type-coverage": "^2.22.0",
72-
"typescript": "^4.8.4",
73-
"util-inspect": "https://github.com/deecewan/browser-util-inspect#c0b4350df4378ffd743e8c36dd3898ce3992823e"
66+
"ts-jest": "^29.2.5",
67+
"ts-node": "^10.9.2",
68+
"type-coverage": "^2.29.7",
69+
"typescript": "^5.7.3"
7470
},
7571
"scripts": {
76-
"prepare": "node --eval \"1+1; // help yarn users not install the whole repo; https://github.com/yarnpkg/yarn/issues/2822#issuecomment-847360267\"",
77-
"watch": "yarn run build_shiny --watch",
78-
"build": "yarn run build_shiny && yarn run bundle_extras && yarn run bundle_external_libs",
79-
"build_shiny": "yarn run checks && yarn run bundle_shiny",
72+
"watch": "npm run build_shiny --watch",
73+
"build": "npm run build_shiny && npm run bundle_extras && npm run bundle_external_libs",
74+
"build_shiny": "npm run checks && npm run bundle_shiny",
8075
"bundle_shiny": "ts-node srcts/build/shiny.ts",
8176
"bundle_external_libs": "ts-node srcts/build/external_libs.ts",
8277
"bundle_extras": "ts-node srcts/build/extras.ts",
8378
"test": "jest --coverage",
84-
"test_phantom": "echo '\n\t!! Must manually stop phantomjs test !!\n\n' && yarn bundle_shiny && phantomjs --debug=yes ../inst/www/shared/shiny.js",
85-
"checks": "yarn run lint && yarn run build_types && yarn run coverage && yarn run circular",
86-
"lint": "node --eval \"console.log('linting code...')\" && eslint --fix --ext .ts srcts/src",
79+
"checks": "npm run lint && npm run build_types && npm run coverage && npm run circular",
80+
"lint": "node --eval \"console.log('linting code...')\" && eslint 'srcts/src/**/*.ts' --fix",
8781
"build_types": "tsc -p tsconfig.json",
88-
"coverage_detailed": "yarn type-check --detail",
82+
"coverage_detailed": "npx type-check --detail",
8983
"coverage": "type-coverage -p tsconfig.json --at-least 90",
90-
"circular": "madge --circular --extensions ts srcts/src",
91-
"circular_image": "madge --circular --extensions ts --image madge.svg srcts/src"
84+
"circular": "npx dpdm --transform ./srcts/src/index.ts"
9285
},
9386
"prettier": {
9487
"plugins": [

0 commit comments

Comments
 (0)