@postnord/pn-marketweb-components 4.3.0 → 4.3.1
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 +13 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postnord/pn-marketweb-components",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "PostNord Market Websites Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,11 +20,14 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"start": "npm run dev",
|
|
22
22
|
"dev": "npm run stats:ts && npm run stats && concurrently \"npm run stencil:watch\" \"npm run storybook\"",
|
|
23
|
-
"build": "npm run stencil:build && npm run post:build",
|
|
23
|
+
"build": "npm run test && npm run stencil:build && npm run post:build",
|
|
24
24
|
"stencil:build": "cross-env stencil build --docs-custom",
|
|
25
25
|
"stencil:watch": "cross-env stencil build --watch",
|
|
26
|
-
"test": "stencil
|
|
27
|
-
"test:watch": "stencil
|
|
26
|
+
"test": "stencil-test",
|
|
27
|
+
"test:watch": "stencil-test --watch",
|
|
28
|
+
"test:spec": "stencil-test --project spec",
|
|
29
|
+
"test:unit": "stencil-test --project unit",
|
|
30
|
+
"test:coverage": "stencil-test --coverage",
|
|
28
31
|
"stencil": "cross-env STENCIL_ENV=dev stencil build --dev --watch --serve --docs-custom",
|
|
29
32
|
"storybook": "storybook dev -p 6008",
|
|
30
33
|
"build-storybook": "storybook build",
|
|
@@ -34,7 +37,7 @@
|
|
|
34
37
|
"stats:ts": "tsc --module NodeNext --moduleResolution NodeNext ./scripts/generateStats.ts",
|
|
35
38
|
"generate": "plop",
|
|
36
39
|
"docs.data": "stencil build --docs-json dist/docs.json",
|
|
37
|
-
"pack": "npm run build &&
|
|
40
|
+
"pack": "npm run build && cd dist && npm pack"
|
|
38
41
|
},
|
|
39
42
|
"devDependencies": {
|
|
40
43
|
"@babel/core": "7.24.7",
|
|
@@ -42,6 +45,7 @@
|
|
|
42
45
|
"@postnord/web-components": "^7.14.0",
|
|
43
46
|
"@stencil/sass": "3.0.12",
|
|
44
47
|
"@stencil/store": "2.0.16",
|
|
48
|
+
"@stencil/vitest": "^1.11.4",
|
|
45
49
|
"@storybook/addon-a11y": "^8.6.17",
|
|
46
50
|
"@storybook/addon-actions": "^8.6.17",
|
|
47
51
|
"@storybook/addon-essentials": "^8.6.17",
|
|
@@ -52,6 +56,7 @@
|
|
|
52
56
|
"@storybook/web-components-vite": "^8.6.17",
|
|
53
57
|
"@types/chart.js": "^2.9.41",
|
|
54
58
|
"@types/jest": "^30.0.0",
|
|
59
|
+
"@types/jsdom": "^28.0.1",
|
|
55
60
|
"@types/node": "^22.0.0",
|
|
56
61
|
"@types/react": "^18.0.0",
|
|
57
62
|
"@webcomponents/custom-elements": "^1.5.0",
|
|
@@ -62,6 +67,7 @@
|
|
|
62
67
|
"cross-env": "7.0.3",
|
|
63
68
|
"fast-glob": "^3.3.2",
|
|
64
69
|
"fs-extra": "11.2.0",
|
|
70
|
+
"jsdom": "^29.0.2",
|
|
65
71
|
"plop": "4.0.1",
|
|
66
72
|
"pn-design-assets": "^2.2.0",
|
|
67
73
|
"puppeteer": "^24.15.0",
|
|
@@ -71,7 +77,8 @@
|
|
|
71
77
|
"typescript": "^5.9.3",
|
|
72
78
|
"uuid": "^9.0.0",
|
|
73
79
|
"vite": "^6.4.1",
|
|
74
|
-
"vite-tsconfig-paths": "^5.1.4"
|
|
80
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
81
|
+
"vitest": "^4.1.4"
|
|
75
82
|
},
|
|
76
83
|
"license": "MIT",
|
|
77
84
|
"dependencies": {
|