customizable-toast-notification 3.15.0 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customizable-toast-notification",
3
- "version": "3.15.0",
3
+ "version": "3.17.0",
4
4
  "description": "A lightweight, zero-dependency toast notification library with CTA support for modern JavaScript applications with production-grade reliability and comprehensive system mechanisms",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -15,6 +15,7 @@
15
15
  "require": "./dist/index.cjs",
16
16
  "default": "./dist/index.umd.js"
17
17
  },
18
+ "./index.css": "./dist/index.css",
18
19
  "./package.json": "./package.json"
19
20
  },
20
21
  "engines": {
@@ -35,14 +36,17 @@
35
36
  "scripts": {
36
37
  "dist:clean": "rm -rf dist",
37
38
  "build:js": "rollup -c",
39
+ "build:css": "node esbuild-css.mjs",
40
+ "build": "npm run build:js && npm run build:css",
38
41
  "build:types:emit": "tsc -p tsconfig.types.json",
39
42
  "build:types:bundle": "rollup -c rollup.dts.config.mjs",
40
43
  "build:types": "npm run build:types:emit && npm run build:types:bundle",
41
- "zone-build": "npm run dist:clean && npm run build:js && npm run build:types && du -h dist/*",
42
- "build": "rollup -c",
44
+ "zone-build": "npm run dist:clean && npm run build && npm run build:types && du -h dist/*",
43
45
  "test:builds": "node scripts/test-build.cjs",
44
46
  "test": "npm run ci:test",
45
47
  "ci:test": "node tests/logic/logic-verification.test.mjs",
48
+ "test:all": "npm run lint && npm run ci:test && npm run test:builds && npm run test:e2e && npm run test:coverage",
49
+ "test:coverage": "c8 --config c8.config.json node tests/logic/logic-verification.test.mjs",
46
50
  "lint": "eslint src",
47
51
  "test:e2e": "playwright test",
48
52
  "test:e2e:ui": "playwright test --ui",
@@ -114,14 +118,18 @@
114
118
  "dist/index.cjs",
115
119
  "dist/index.cjs.map",
116
120
  "dist/index.d.ts",
121
+ "dist/index.css",
122
+ "dist/index.css.map",
123
+ "dist/index.css.d.ts",
117
124
  "README.md",
118
125
  "LICENSE",
119
126
  "CHANGELOG.md"
120
127
  ],
121
128
  "devDependencies": {
122
- "@babel/core": "^7.29.7",
123
- "@babel/preset-env": "^7.29.7",
129
+ "@babel/core": "^8.0.6",
130
+ "@babel/preset-env": "^8.0.0",
124
131
  "@commitlint/cli": "^21.2.1",
132
+ "c8": "^10.1.3",
125
133
  "@commitlint/config-conventional": "^21.2.0",
126
134
  "@eslint/js": "^10.0.1",
127
135
  "@playwright/test": "1.63.0",
@@ -132,6 +140,7 @@
132
140
  "@rollup/plugin-terser": "^1.0.0",
133
141
  "@semantic-release/changelog": "^7.0.0",
134
142
  "@semantic-release/git": "^11.0.1",
143
+ "esbuild": "^0.28.2",
135
144
  "eslint": "^10.8.0",
136
145
  "globals": "^17.9.0",
137
146
  "husky": "^9.1.7",
@@ -142,6 +151,16 @@
142
151
  "semantic-release": "^25.0.9",
143
152
  "typescript": "^5.9.2"
144
153
  },
154
+ "overrides": {
155
+ "handlebars": "^4.7.10",
156
+ "source-map-js": "^1.2.2",
157
+ "serialize-javascript": "^7.1.2",
158
+ "brace-expansion": "^5.0.12",
159
+ "http-cache-semantics": "^4.3.0",
160
+ "ip-address": "^10.7.3",
161
+ "postcss-selector-parser": "^7.1.6",
162
+ "undici": "^6.29.0"
163
+ },
145
164
  "repository": {
146
165
  "type": "git",
147
166
  "url": "git+https://github.com/sammy-cool/customizable-toast-notification.git"