-
Notifications
You must be signed in to change notification settings - Fork 157
/
package.json
131 lines (131 loc) · 3.24 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "react-scroll-parallax",
"version": "3.4.5",
"description": "React hooks and components to create parallax scroll effects for banners, images or any other DOM elements.",
"keywords": [
"react",
"scroll",
"effects",
"parallax",
"banner",
"animation",
"hooks",
"component"
],
"homepage": "https://react-scroll-parallax.damnthat.tv",
"bugs": "https://github.com/jscottsmith/react-scroll-parallax/issues",
"repository": {
"type": "git",
"url": "https://github.com/jscottsmith/react-scroll-parallax"
},
"files": [
"dist",
"src"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"prettier": "prettier ./ --write",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"release": "np"
},
"jest": {
"modulePaths": [
"<rootDir>/src/"
],
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"coverageDirectory": "./coverage/",
"coveragePathIgnorePatterns": [
"/node_modules/",
"package.json",
"/stories/"
],
"collectCoverage": true,
"testURL": "http://localhost",
"setupFiles": [
"<rootDir>/src/setupTests.ts"
],
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.ts"
]
},
"peerDependencies": {
"react": "^16.8.0-0 || >=17.0.1 || ^18.0.0",
"react-dom": "^16.8.0-0 || >=17.0.1 || ^18.0.0"
},
"author": "J Scott Smith",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"module": "dist/react-scroll-parallax.esm.js",
"size-limit": [
{
"path": "dist/react-scroll-parallax.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-scroll-parallax.esm.js",
"limit": "10 KB"
}
],
"dependencies": {
"parallax-controller": "^1.7.1"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@size-limit/preset-small-lib": "^6.0.4",
"@storybook/addon-essentials": "^6.4.20",
"@storybook/addon-links": "^6.4.20",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.4.20",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.4.20",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.4",
"css-loader": "^5.0.0",
"husky": "^7.0.4",
"np": "^7.7.0",
"postcss": "^8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hooks-testing-library": "^0.6.0",
"react-is": "^17.0.2",
"react-test-renderer": "^17.0.1",
"sass": "^1.49.11",
"sass-loader": "^10.1.0",
"size-limit": "^6.0.4",
"style-loader": "^2.0.0",
"tailwindcss": "^2.2.19",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.6.3"
}
}