-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.49 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
{
"name": "use-scroller",
"version": "1.2.0",
"author": "silvi lila",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"src"
],
"keywords": [
"react",
"hook",
"scroll"
],
"repository": {
"type": "git",
"url": "https://github.com/silvi97lila/use-scroller.git"
},
"scripts": {
"build": "yarn clean && yarn build:esm && yarn build:cjs",
"build:watch": "yarn build --watch",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"clean": "rm -rf ./dist",
"test": "jest",
"lint": "lint ./src/*",
"release": "yarn build && yarn changeset version && yarn changeset publish",
"changeset": "changeset"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@changesets/cli": "^2.26.0",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.28.0",
"eslint-plugin-react": "^7.31.11",
"jest": "^29.3.1",
"prettier": "2.8.0",
"typescript": "^4.9.3"
}
}