-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.04 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@integreat-app/react-sticky-headroom",
"version": "3.0.1",
"engines": {
"node": ">=18",
"npm": ">=10"
},
"license": "MIT",
"description": "ReactStickyHeadroom is a React Component for hiding the header when scrolling.",
"author": "Michael Markl <marklmichael98@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/integreat/react-sticky-headroom.git"
},
"files": [
"index.js",
"index.js.map",
"index.cjs",
"index.cjs.map",
"index.d.ts",
"index.d.ts.map",
"index.tsx"
],
"sideEffects": false,
"exports": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./index.d.ts"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"headroom",
"sticky",
"react",
"hide",
"header",
"emotion",
"typescript"
],
"module": "./index.js",
"scripts": {
"build": "ts-node tools/build.ts",
"build:demo": "webpack --config tools/demo.webpack.config.ts",
"test": "jest --config jest.config.json",
"test:coverage": "jest --config jest.config.json --coverage",
"test:watch": "jest --config jest.config.json --watchAll",
"test:update": "jest --config jest.config.json -u",
"lint": "npm run eslint && npm run stylelint",
"lint:fix": "eslint . --fix && npm run stylelint",
"eslint": "eslint .",
"stylelint": "stylelint './src/**/*.{ts,tsx}'",
"ts:check": "tsc",
"prepublishOnly": "npm run build && npm run build:demo && npm run test && npm run lint && npm run ts:check"
},
"//": "browserslist only affects the build of the demo app, not the library itself.",
"browserslist": [
"ie >= 11",
"edge >= 16",
"chrome >= 41",
"firefox >= 40",
"safari >= 6.2"
],
"peerDependencies": {
"react": "16.x.x || 17.x.x || 18.x.x || 19.x.x",
"@emotion/react": "11.x.x",
"@emotion/styled": "11.x.x"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@swc/core": "^1.13.2",
"@swc/jest": "^0.2.39",
"@swc/plugin-emotion": "^11.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.16.5",
"@types/react-dom": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"browserslist": "^4.25.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-react": "^7.37.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"jest-junit": "^16.0.0",
"postcss": "^8.5.6",
"postcss-styled-syntax": "^0.7.1",
"prettier": "^3.6.2",
"raf": "^3.4.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"stylelint": "^16.22.0",
"stylelint-config-recommended": "^16.0.0",
"swc-loader": "^0.2.6",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"webpack": "^5.100.2",
"webpack-cli": "^6.0.1"
}
}