-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
107 lines (107 loc) · 3.13 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
{
"name": "react-lazy-images",
"description": "React utilities for lazy image loading",
"version": "1.1.0",
"source": "src/index.tsx",
"module": "dist/react-lazy-images.es.js",
"main": "dist/react-lazy-images.js",
"umd:main": "dist/react-lazy-images.umd.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "npm-run-all bundle:prod storybook",
"dev:ts": "tsc --watch --pretty",
"clean": "rimraf dist/",
"build": "npm-run-all clean bundle:prod copy-defs size",
"bundle:prod": "microbundle build",
"bundle:watch": "microbundle watch",
"copy-defs": "tsc --skipLibCheck && cp -r ts-build/*.d.ts dist/",
"storybook": "start-storybook -p 8080",
"storybook:build": "npm run bundle:prod && build-storybook -c .storybook -o .out",
"storybook:deploy": "storybook-to-ghpages --existing-output-dir=.out",
"test": "npm run build",
"size": "bundlesize",
"release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"bundlesize": [
{
"path": "dist/react-lazy-images.js",
"maxSize": "3kb"
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint",
"git add"
],
"*.{js,ts,tsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"files": [
"src",
"dist"
],
"keywords": [
"react",
"lazy",
"image",
"intersection",
"viewport"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fpapado/react-lazy-images.git"
},
"author": "Fotis Papadogeorgopoulos",
"license": "MIT",
"bugs": {
"url": "https://github.com/fpapado/react-lazy-images/issues"
},
"homepage": "https://github.com/fpapado/react-lazy-images#readme",
"dependencies": {
"react-intersection-observer": "^9.4.0",
"unionize": "^2.1.2"
},
"peerDependencies": {
"react": "^15 || ^16 || ^17 || ^18",
"react-dom": "^15 || ^16 || ^17 || ^18"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-alpha.14",
"@storybook/addon-info": "4.0.0-alpha.14",
"@storybook/addon-options": "4.0.0-alpha.14",
"@storybook/addons": "4.0.0-alpha.14",
"@storybook/react": "4.0.0-alpha.14",
"@storybook/storybook-deployer": "^2.3.0",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/storybook__addon-actions": "^3.0.3",
"@types/storybook__addon-info": "^3.2.3",
"@types/storybook__react": "^3.0.8",
"@typescript-eslint/parser": "^5.36.2",
"awesome-typescript-loader": "^5.2",
"babel-core": "^6.26.3",
"bundlesize": "^0.18.1",
"eslint": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"husky": "^1.0.0-rc.13",
"lint-staged": "^7.2.0",
"microbundle": "0.5.1",
"npm-run-all": "^4.1.3",
"prettier": "^1.13.7",
"react": "^18.2.0",
"react-docgen-typescript": "^1.6.2",
"react-docgen-typescript-loader": "^2.1.1",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-dom": "^18.2.0",
"require-from-string": "^2.0.2",
"tachyons": "^4.10.0",
"typescript": "^4.8.2"
}
}