forked from KyleAMathews/react-headroom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.98 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.98 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
{
"name": "@inkarnaterpg/react-headroom",
"description": "Hide your header until you need it. React.js port of headroom.js",
"version": "4.0.0",
"type": "module",
"dependencies": {
"prop-types": "^15.5.8",
"raf": "^3.3.0",
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-transform-class-properties": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@rollup/plugin-babel": "^6.1.0",
"@types/react": "^19.2.13",
"chai": "^3.5.0",
"copyfiles": "^2.4.1",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"globals": "^17.3.0",
"mocha": "^3.1.2",
"mocha-unfunk-reporter": "^0.4.0",
"pre-commit": "^1.0.5",
"prettier": "2.1.2",
"rimraf": "^6.1.2",
"rollup": "^4.57.1"
},
"directories": {
"example": "examples"
},
"homepage": "https://github.com/inkarnaterpg/react-headroom",
"keywords": [
"headroom",
"react",
"react-component"
],
"license": "MIT",
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"peerDependencies": {
"react": "^16.3.0 || ^17 || ^18"
},
"repository": {
"type": "git",
"url": "https://github.com/inkarnaterpg/react-headroom.git"
},
"scripts": {
"build": "rimraf dist && rollup -c && copyfiles -f types/index.d.ts dist",
"test-watch": "NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:babel-core/register -R mocha-unfunk-reporter",
"unit-test": "NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:babel-core/register -R mocha-unfunk-reporter",
"test": "npm run unit-test && npm run lint",
"watch": "./node_modules/.bin/webpack-dev-server --hot",
"publish-patch": "npm run build && npm version patch && npm publish; git push; git push --tags",
"lint": "eslint --ignore-pattern './dist/*'",
"lint:fix": "eslint --fix --ignore-pattern './dist/*'",
"format": "prettier --config .prettierrc --write 'src/**/*.{js,jsx}'"
}
}