-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
110 lines (110 loc) · 3.21 KB
/
package.json
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
108
109
110
{
"name": "@integreat-app/react-sticky-headroom",
"version": "2.2.1",
"engines": {
"node": ">=18",
"npm": ">=10"
},
"license": "MIT",
"description": "ReactStickyHeadroom is a React Component for hiding the header when scrolling.",
"author": "Michael Markl <[email protected]>",
"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",
"styled-components",
"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",
"styled-components": "4.x.x || 5.x.x || 6.x.x"
},
"devDependencies": {
"@stylelint/postcss-css-in-js": "^0.38.0",
"@swc/core": "^1.3.100",
"@swc/jest": "^0.2.29",
"@swc/plugin-styled-components": "^1.5.105",
"@types/enzyme": "^3.10.15",
"@types/enzyme-adapter-react-16": "^1.0.8",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.7",
"@types/react": "16",
"@types/react-dom": "^18.2.13",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"browserslist": "^4.22.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"jest": "^27.5.1",
"jest-junit": "^13.0.0",
"jest-styled-components": "^7.0.8",
"raf": "^3.4.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"styled-components": "^6.1.2",
"stylelint": "^15.6.0",
"stylelint-config-recommended": "^12.0.0",
"stylelint-config-styled-components": "^0.1.1",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"webpack": "^5.70.0",
"webpack-cli": "^5.1.4"
}
}