|
1 | 1 | { |
2 | 2 | "name": "laravel-echo", |
3 | | - "version": "1.19.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "Laravel Echo library for beautiful Pusher and Socket.IO integration", |
5 | 5 | "keywords": [ |
6 | 6 | "laravel", |
|
16 | 16 | "author": { |
17 | 17 | "name": "Taylor Otwell" |
18 | 18 | }, |
| 19 | + "type": "module", |
19 | 20 | "main": "dist/echo.common.js", |
20 | 21 | "module": "dist/echo.js", |
21 | 22 | "types": "dist/echo.d.ts", |
22 | 23 | "scripts": { |
23 | 24 | "build": "npm run compile && npm run declarations", |
24 | | - "compile": "./node_modules/.bin/rollup -c", |
25 | | - "declarations": "./node_modules/.bin/tsc --emitDeclarationOnly", |
26 | | - "lint": "eslint --ext .js,.ts ./src ./tests", |
| 25 | + "compile": "rollup -c", |
| 26 | + "declarations": "tsc --emitDeclarationOnly", |
| 27 | + "lint": "eslint --config eslint.config.mjs", |
27 | 28 | "prepublish": "npm run build", |
28 | 29 | "release": "npm run test && standard-version && git push --follow-tags && npm publish", |
29 | 30 | "test": "jest" |
30 | 31 | }, |
31 | 32 | "devDependencies": { |
32 | | - "@babel/plugin-proposal-decorators": "^7.17.2", |
33 | | - "@babel/plugin-proposal-export-namespace-from": "^7.16.7", |
34 | | - "@babel/plugin-proposal-function-sent": "^7.16.7", |
35 | | - "@babel/plugin-proposal-numeric-separator": "^7.16.7", |
36 | | - "@babel/plugin-proposal-throw-expressions": "^7.16.7", |
37 | | - "@babel/plugin-transform-object-assign": "^7.16.7", |
38 | | - "@babel/preset-env": "^7.16.11", |
39 | | - "@rollup/plugin-babel": "^5.3.1", |
40 | | - "@types/jest": "^27.4.1", |
41 | | - "@types/node": "^18.11.9", |
42 | | - "@typescript-eslint/eslint-plugin": "^5.14.0", |
43 | | - "@typescript-eslint/parser": "^5.14.0", |
44 | | - "eslint": "^8.11.0", |
45 | | - "jest": "^27.5.1", |
46 | | - "rollup": "^2.70.1", |
47 | | - "rollup-plugin-typescript2": "^0.31.2", |
| 33 | + "@babel/core": "^7.26.7", |
| 34 | + "@babel/plugin-proposal-decorators": "^7.25.9", |
| 35 | + "@babel/plugin-proposal-function-sent": "^7.25.9", |
| 36 | + "@babel/plugin-proposal-throw-expressions": "^7.25.9", |
| 37 | + "@babel/plugin-transform-export-namespace-from": "^7.25.9", |
| 38 | + "@babel/plugin-transform-numeric-separator": "^7.25.9", |
| 39 | + "@babel/plugin-transform-object-assign": "^7.25.9", |
| 40 | + "@babel/preset-env": "^7.26.7", |
| 41 | + "@rollup/plugin-babel": "^6.0.0", |
| 42 | + "@rollup/plugin-node-resolve": "^16.0.0", |
| 43 | + "@rollup/plugin-typescript": "^12.1.2", |
| 44 | + "@types/jest": "^29.5", |
| 45 | + "@types/node": "^20.0.0", |
| 46 | + "@typescript-eslint/eslint-plugin": "^8.21.0", |
| 47 | + "@typescript-eslint/parser": "^8.21.0", |
| 48 | + "eslint": "^9.0.0", |
| 49 | + "jest": "^29.7.0", |
| 50 | + "pusher-js": "^8.0", |
| 51 | + "rollup": "^3.0.0", |
| 52 | + "socket.io-client": "^4.0", |
48 | 53 | "standard-version": "^9.3.2", |
49 | | - "ts-jest": "^27.1.3", |
50 | | - "tslib": "^2.3.1", |
51 | | - "typescript": "^4.6.2" |
| 54 | + "ts-jest": "^29.2.5", |
| 55 | + "typescript": "^5.7.0" |
52 | 56 | }, |
53 | 57 | "engines": { |
54 | | - "node": ">=10" |
| 58 | + "node": ">=20" |
| 59 | + }, |
| 60 | + "exports": { |
| 61 | + ".": { |
| 62 | + "import": "./dist/echo.js", |
| 63 | + "require": "./dist/echo.common.js", |
| 64 | + "types": "./dist/echo.d.ts" |
| 65 | + }, |
| 66 | + "./iife": "./dist/echo.iife.js" |
| 67 | + }, |
| 68 | + "overrides": { |
| 69 | + "glob": "^9.0.0" |
| 70 | + }, |
| 71 | + "dependencies": { |
| 72 | + "tslib": "^2.8.1" |
55 | 73 | } |
56 | 74 | } |
0 commit comments