@integreat-app/react-sticky-headroom 3.0.1 → 3.0.2
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 +28 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@integreat-app/react-sticky-headroom",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18",
|
|
6
6
|
"npm": ">=10"
|
|
@@ -22,10 +22,14 @@
|
|
|
22
22
|
"index.tsx"
|
|
23
23
|
],
|
|
24
24
|
"sideEffects": false,
|
|
25
|
+
"type": "module",
|
|
25
26
|
"exports": {
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./index.js",
|
|
29
|
+
"require": "./index.cjs",
|
|
30
|
+
"types": "./index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
29
33
|
},
|
|
30
34
|
"publishConfig": {
|
|
31
35
|
"access": "public"
|
|
@@ -39,20 +43,17 @@
|
|
|
39
43
|
"emotion",
|
|
40
44
|
"typescript"
|
|
41
45
|
],
|
|
42
|
-
"module": "./index.js",
|
|
43
46
|
"scripts": {
|
|
44
|
-
"build": "
|
|
45
|
-
"build:demo": "webpack --config tools/demo.webpack.config.
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"test:watch": "jest --config jest.config.json --watchAll",
|
|
49
|
-
"test:update": "jest --config jest.config.json -u",
|
|
47
|
+
"build": "tsx tools/build.ts",
|
|
48
|
+
"build:demo": "webpack --config tools/demo.webpack.config.js",
|
|
49
|
+
"format": "npx prettier . --write",
|
|
50
|
+
"format:check": "npx prettier . --check",
|
|
50
51
|
"lint": "npm run eslint && npm run stylelint",
|
|
51
52
|
"lint:fix": "eslint . --fix && npm run stylelint",
|
|
52
53
|
"eslint": "eslint .",
|
|
53
54
|
"stylelint": "stylelint './src/**/*.{ts,tsx}'",
|
|
54
55
|
"ts:check": "tsc",
|
|
55
|
-
"prepublishOnly": "npm run build && npm run build:demo && npm run
|
|
56
|
+
"prepublishOnly": "npm run build && npm run build:demo && npm run lint && npm run format:check && npm run ts:check"
|
|
56
57
|
},
|
|
57
58
|
"//": "browserslist only affects the build of the demo app, not the library itself.",
|
|
58
59
|
"browserslist": [
|
|
@@ -70,38 +71,31 @@
|
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@emotion/react": "^11.14.0",
|
|
72
73
|
"@emotion/styled": "^11.14.1",
|
|
73
|
-
"@swc/core": "^1.
|
|
74
|
-
"@swc/
|
|
75
|
-
"@swc/plugin-emotion": "^11.0.0",
|
|
76
|
-
"@types/jest": "^29.5.14",
|
|
74
|
+
"@swc/core": "^1.15.41",
|
|
75
|
+
"@swc/plugin-emotion": "^14.12.0",
|
|
77
76
|
"@types/node": "^22.16.5",
|
|
78
|
-
"@types/react-dom": "^19.
|
|
77
|
+
"@types/react-dom": "^19.2.3",
|
|
79
78
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
80
79
|
"@typescript-eslint/parser": "^8.38.0",
|
|
81
|
-
"browserslist": "^4.
|
|
80
|
+
"browserslist": "^4.28.2",
|
|
82
81
|
"eslint": "^8.57.1",
|
|
83
82
|
"eslint-config-prettier": "^10.1.8",
|
|
84
83
|
"eslint-config-standard": "^17.1.0",
|
|
85
84
|
"eslint-plugin-import": "^2.32.0",
|
|
86
|
-
"eslint-plugin-jest": "^28.14.0",
|
|
87
85
|
"eslint-plugin-node": "^11.1.0",
|
|
88
86
|
"eslint-plugin-promise": "^6.6.0",
|
|
89
87
|
"eslint-plugin-react": "^7.37.5",
|
|
90
|
-
"
|
|
91
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
92
|
-
"jest-junit": "^16.0.0",
|
|
93
|
-
"postcss": "^8.5.6",
|
|
88
|
+
"postcss": "^8.5.15",
|
|
94
89
|
"postcss-styled-syntax": "^0.7.1",
|
|
95
|
-
"prettier": "^3.
|
|
96
|
-
"
|
|
97
|
-
"react": "^19.
|
|
98
|
-
"
|
|
99
|
-
"stylelint": "^
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"webpack": "^
|
|
105
|
-
"webpack-cli": "^6.0.1"
|
|
90
|
+
"prettier": "^3.8.4",
|
|
91
|
+
"react": "^19.2.7",
|
|
92
|
+
"react-dom": "^19.2.7",
|
|
93
|
+
"stylelint": "^17.13.0",
|
|
94
|
+
"stylelint-config-recommended": "^18.0.0",
|
|
95
|
+
"swc-loader": "^0.2.7",
|
|
96
|
+
"tsx": "^4.22.4",
|
|
97
|
+
"typescript": "^6.0.3",
|
|
98
|
+
"webpack": "^5.107.2",
|
|
99
|
+
"webpack-cli": "^7.0.3"
|
|
106
100
|
}
|
|
107
101
|
}
|