Files
Younes ENNAJI 2bf87f7ae9 Remove unused paragonie/random_compat dependency and fix version bump script
- Remove paragonie/random_compat from composer.json require (PHP 5 polyfill, unnecessary on PHP 8.2+)
- Fix bin/bump to also update root package.json version (was only updating src/ files)
- Fix root package.json version from 2.1.5 to 2.5.1
2026-03-29 22:56:57 +01:00

102 lines
3.5 KiB
JSON

{
"name": "@flasher/php-flasher",
"type": "module",
"version": "2.5.1",
"description": "A powerful and flexible flash notification system for PHP applications",
"license": "MIT",
"author": "Younes ENNAJI <younes.ennaji.pro@gmail.com>",
"homepage": "https://php-flasher.io",
"repository": {
"type": "git",
"url": "https://github.com/php-flasher/php-flasher.git"
},
"bugs": {
"url": "https://github.com/php-flasher/php-flasher/issues"
},
"keywords": [
"flasher",
"notifications",
"php",
"symfony",
"laravel",
"toastr",
"sweetalert",
"noty",
"notyf"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"workspaces": [
"src/Prime/Resources",
"src/Noty/Prime/Resources",
"src/Notyf/Prime/Resources",
"src/SweetAlert/Prime/Resources",
"src/Toastr/Prime/Resources"
],
"scripts": {
"dev": "rollup -c",
"watch": "rollup -c -w",
"build": "cross-env NODE_ENV=production rollup -c",
"clean": "rimraf src/*/Prime/Resources/dist",
"link": "npm link --workspaces",
"ncu": "ncu -u && npm run ncu --workspaces",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"coverage": "npm run coverage:php && npm run coverage:js",
"coverage:php": "/opt/homebrew/opt/php@8.2/bin/php vendor/bin/phpunit --coverage-html coverage/phpunit/html",
"coverage:js": "vitest run --coverage",
"coverage:open": "open coverage/vitest/index.html && open coverage/phpunit/html/index.html"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^28.0.9",
"@rollup/plugin-eslint": "^9.2.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^22.19.15",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"all-contributors-cli": "^6.26.1",
"autoprefixer": "^10.4.27",
"browserslist": "^4.28.1",
"cross-env": "^7.0.3",
"cssnano": "^7.1.3",
"cssnano-preset-advanced": "^7.0.11",
"eslint": "^8.57.1",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.2",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.5",
"postcss": "^8.5.8",
"postcss-discard-comments": "^7.0.6",
"punycode": "^2.3.1",
"rimraf": "^6.1.3",
"rollup": "^4.60.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-progress": "^1.1.2",
"sass": "^1.98.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4",
"jsdom": "^26.1.0"
}
}