diff --git a/package.json b/package.json index c90204b..d7315d4 100644 --- a/package.json +++ b/package.json @@ -18,19 +18,19 @@ "dependencies": { "@pixi/graphics-extras": "^7.3.2", "@pixi/utils": "^7.3.2", - "@rollup/plugin-alias": "^5.1.0", "@stomp/stompjs": "^7.0.0", - "eslint": "^8.55.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.0.1", "mqtt": "^5.2.1", "pixi-viewport": "^5.0.1", "pixi.js": "^7.3.2" }, "devDependencies": { + "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-typescript": "^11.1.5", "@types/node": "^12.20.21", + "eslint": "^8.55.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.0.1", "prettier": "^3.1.1", "rollup": "^4.8.0", "rollup-plugin-dts": "^6.1.0", diff --git a/rollup.config.mjs b/rollup.config.mjs index fdb50e4..116f4eb 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,5 +1,4 @@ import typescript from '@rollup/plugin-typescript'; -import ts from 'typescript'; /** * @type {import('rollup').RollupOptions} @@ -21,7 +20,6 @@ const config = { logLevel: 'debug', plugins: [ typescript({ - // declaration: true, declarationDir: 'lib', include: ['src/**/*'], tsconfig: './tsconfig.json', diff --git a/tsconfig.json b/tsconfig.json index b0d8390..90e3c14 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "module": "ESNext", "target": "ESNext", "moduleResolution": "node", - "typeRoots": ["node_modules/@types"], + "typeRoots": ["node_modules/@types", "global.d.ts"], "strict": true, "forceConsistentCasingInFileNames": true, "isolatedModules": true,