-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
92 lines (92 loc) · 3.43 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
{
"name": "react-scrollbar-size",
"private": true,
"version": "5.0.0",
"description": "React hook to calculate the size of browser scrollbars",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "npm-run-all build:babel build:declaration build:copy-files",
"build:babel": "babel ./src --env-name build --extensions .ts,.tsx --out-dir ./dist",
"build:copy-files": "babel-node --extensions .ts ./scripts/copy-files.ts",
"build:declaration": "tsc --project tsconfig.build.json --outDir ./dist",
"clean": "npm run clean:build",
"clean:build": "rimraf dist",
"example": "parcel --config ./example/.parcelrc --lazy --open --dist-dir example_dist ./example/index.html",
"lint": "eslint . --ext cjs,mjs,js,ts,tsx --cache && echo \"eslint: no lint errors\"",
"lint:fix": "eslint . --ext cjs,mjs,js,ts,tsx --fix --cache && echo \"eslint: no lint errors\"",
"lint:nocache": "eslint . --ext cjs,mjs,js,ts,tsx && echo \"eslint: no lint errors\"",
"lint:clear": "rimraf ./.eslintcache",
"prebuild": "npm run clean:build",
"prettier": "prettier . --ignore-unknown --check",
"prettier:fix": "prettier . --ignore-unknown --write",
"style:fix": "npm-run-all prettier:fix lint:fix",
"test": "npm-run-all --parallel typecheck prettier lint && npm run test:coverage:summary",
"test:unit": "jest",
"test:coverage": "jest --collectCoverage --coverageReporters text",
"test:coverage:html": "jest --collectCoverage --coverageReporters html",
"test:coverage:summary": "jest --collectCoverage --coverageReporters text-summary",
"typecheck": "tsc --noEmit && echo \"tsc: no typecheck errors\"",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shawnmcknight/react-scrollbar-size.git"
},
"keywords": [
"react",
"scrollbar"
],
"author": "Shawn McKnight",
"license": "MIT",
"bugs": {
"url": "https://github.com/shawnmcknight/react-scrollbar-size/issues"
},
"homepage": "https://github.com/shawnmcknight/react-scrollbar-size#readme",
"engines": {
"node": ">=14.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.1 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "7.22.10",
"@babel/core": "7.22.10",
"@babel/node": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-react": "7.22.5",
"@babel/preset-typescript": "7.22.5",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "13.4.0",
"@types/fs-extra": "9.0.13",
"@types/node": "18.17.6",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"cross-env": "7.0.3",
"eslint": "8.47.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "26.9.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "5.11.1",
"fs-extra": "10.1.0",
"husky": "8.0.3",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"lint-staged": "13.3.0",
"normalize.css": "8.0.1",
"npm-run-all": "4.1.5",
"parcel": "2.9.3",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "3.0.2",
"typescript": "4.9.5"
}
}