Skip to content

Commit 075bf0f

Browse files
committed
Remove unused modules from package.json
1 parent 9195abd commit 075bf0f

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tourguidejs",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"src": "src/Tour.ts",
55
"main": "tourguide.js",
66
"module": "tourguide.esm.js",
@@ -49,11 +49,13 @@
4949
"@rollup/plugin-commonjs": "^19.0.2",
5050
"@rollup/plugin-node-resolve": "^13.3.0",
5151
"@rollup/plugin-replace": "^2.4.2",
52+
"@rollup/plugin-terser": "^0.4.4",
5253
"@types/jest": "^29.5.14",
5354
"@types/mocha": "^10.0.10",
5455
"@types/node": "^22.13.4",
5556
"@typescript-eslint/eslint-plugin": "^5.62.0",
5657
"@typescript-eslint/parser": "^5.62.0",
58+
"babel-preset-es2015": "^6.24.1",
5759
"eslint": "^8.48.0",
5860
"eslint-config-standard": "^12.0.0",
5961
"eslint-plugin-import": "^2.28.1",
@@ -64,14 +66,8 @@
6466
"jest-environment-jsdom": "^29.7.0",
6567
"jsdom": "^26.0.0",
6668
"rollup": "^2.79.1",
67-
"rollup-plugin-eslint": "^5.1.0",
6869
"rollup-plugin-filesize": "^9.1.2",
69-
"rollup-plugin-includepaths": "^0.2.4",
70-
"rollup-plugin-node-globals": "^1.4.0",
7170
"rollup-plugin-sass": "^1.12.20",
72-
"rollup-plugin-sizes": "^0.4.2",
73-
"rollup-plugin-terser": "^7.0.2",
74-
"rollup-plugin-typescript2": "^0.34.1",
7571
"sass": "^1.66.1",
7672
"ts-jest": "^29.2.5",
7773
"tsdoc-markdown": "^1.1.1"

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import commonjs from "@rollup/plugin-commonjs";
44
import resolve from "@rollup/plugin-node-resolve";
55
import replace from "@rollup/plugin-replace";
66
import sass from "rollup-plugin-sass";
7-
import { terser } from "rollup-plugin-terser";
7+
import terser from "@rollup/plugin-terser";
88
import pkg from "./package.json";
99

1010
const isDev = Boolean(process.argv.find((arg) => arg === "--configDev"));
@@ -60,7 +60,7 @@ export default [{
6060
}, {
6161
input: pkg.main,
6262
output: {
63-
format: "esm",
63+
format: "cjs",
6464
file: pkg.main.replace(".js", ".min.js")
6565
},
6666
plugins: [terser()]

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
"include": [
2626
"src",
2727
"@types"
28-
, "tests/Tour.test.ts", "tests/step/PopoverStep.test.ts", "tests/handler/ActionHandler.test.ts", "tests/decorator/ContentDecorator.test.ts", "tests/cachemanager/InMemoryCacheManager.test.ts" ]
28+
]
2929
}

0 commit comments

Comments
 (0)