forked from jaredLunde/masonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·180 lines (180 loc) · 4.59 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "masonic",
"version": "3.4.0",
"homepage": "https://github.com/jaredLunde/masonic#readme",
"repository": "github:jaredLunde/masonic",
"bugs": "https://github.com/jaredLunde/masonic/issues",
"author": "Jared Lunde <jared.lunde@gmail.com> (https://jaredLunde.com)",
"license": "MIT",
"description": "An autosizing masonry component that only renders items currently visible in the window.",
"keywords": [
"react",
"reactjs",
"react component",
"virtual",
"list",
"masonry",
"masonry component",
"react masonry component",
"infinite",
"infinite list",
"infinite masonry",
"infinite scrolling",
"scrolling",
"virtualized",
"masonic",
"grid component",
"react grid",
"masonry grid",
"react masonry grid"
],
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"unpkg": "dist/umd/masonic.js",
"source": "src/index.tsx",
"types": "types/index.d.ts",
"files": [
"/dist",
"/src",
"/types"
],
"exports": {
".": {
"browser": "./dist/module/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/main/index.js",
"umd": "./dist/umd/masonic.js",
"source": "./src/index.tsx",
"types": "./types/index.d.ts",
"default": "./dist/main/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"sideEffects": false,
"scripts": {
"build": "lundle build",
"check-types": "lundle check-types",
"dev": "lundle build -f module,cjs -w",
"format": "prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"",
"lint": "eslint . --ext .ts,.tsx",
"prepublishOnly": "cli-confirm \"Did you run 'yarn release' first? (y/N)\"",
"prerelease": "npm run validate && npm run build",
"release": "git add . && standard-version -a",
"test": "jest",
"validate": "lundle check-types && npm run lint && jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lundle check-types && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"eslint",
"prettier --write"
],
"**/*.{md,yml,json}": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"eslintConfig": {
"extends": [
"lunde"
]
},
"eslintIgnore": [
"benchmarks",
"node_modules",
"coverage",
"dist",
"test",
"/types",
"*.config.js"
],
"jest": {
"moduleDirectories": [
"node_modules",
"src",
"test"
],
"testMatch": [
"<rootDir>/src/**/?(*.)test.{ts,tsx}"
],
"collectCoverageFrom": [
"**/src/**/*.{ts,tsx}"
],
"setupFilesAfterEnv": [
"./test/setup.js"
],
"snapshotResolver": "./test/resolve-snapshot.js",
"globals": {
"__DEV__": true
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": false
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@essentials/benchmark": "^1.0.6",
"@shopify/jest-dom-mocks": "^2.9.0",
"@testing-library/jest-dom": "latest",
"@testing-library/react": "latest",
"@testing-library/react-hooks": "latest",
"@testing-library/user-event": "latest",
"@types/jest": "latest",
"@types/raf-schd": "^4.0.0",
"@types/react": "latest",
"@types/react-dom": "latest",
"babel-jest": "latest",
"cli-confirm": "^1.0.1",
"cz-conventional-changelog": "3.2.0",
"eslint": "latest",
"eslint-config-lunde": "^0.2.1",
"husky": "latest",
"jest": "latest",
"lint-staged": "latest",
"lundle": "^0.4.9",
"node-fetch": "^2.6.0",
"prettier": "latest",
"rand-int": "^1.0.0",
"react": "latest",
"react-dom": "latest",
"react-test-renderer": "latest",
"standard-version": "^8.0.2",
"typescript": "latest"
},
"dependencies": {
"@essentials/memoize-one": "^1.1.0",
"@essentials/one-key-map": "^1.2.0",
"@essentials/request-timeout": "^1.3.0",
"@react-hook/event": "^1.2.2",
"@react-hook/latest": "^1.0.3",
"@react-hook/passive-layout-effect": "^1.2.0",
"@react-hook/throttle": "^2.2.0",
"@react-hook/window-scroll": "^1.3.0",
"@react-hook/window-size": "^3.0.6",
"raf-schd": "^4.0.2",
"resize-observer-polyfill": "^1.5.1",
"trie-memoize": "^1.2.0"
},
"peerDependencies": {
"react": ">=16.8"
}
}