-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
123 lines (123 loc) · 3.25 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
{
"name": "react-is-in-viewport",
"version": "1.2.1",
"description": "Component allows to check whether the component is in the viewport",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"test": "jest",
"dev": "NODE_ENV=development node ./server.js",
"prod": "webpack --config ./webpack/webpack.prod.js && NODE_ENV=production node ./server.js",
"lint": "eslint 'src/**/*.ts?(x)'",
"lint:fix": "eslint --fix 'src/**/*.ts?(x)'"
},
"files": [
"dist/**/*",
"typings"
],
"keywords": [
"viewport",
"screen",
"react",
"react-component",
"viewport detect",
"observer",
"react viewport",
"react in viewport",
"typescript",
"react typescript",
"mobile screen"
],
"author": "David Nguyen <[email protected]> ([email protected])",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-typescript": "^7.7.7",
"@types/enzyme": "^3.10.4",
"@types/jest": "^24.0.23",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/sinon": "^7.5.1",
"@types/throttle-debounce": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"babel-jest": "^24.9.0",
"body-parser": "^1.19.0",
"clean-webpack-plugin": "^3.0.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.4",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-config-react": "^1.1.7",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"express": "^4.17.1",
"file-loader": "^5.0.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.9.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.0",
"sinon": "^8.0.0",
"style-loader": "^1.0.0",
"ts-jest": "^24.2.0",
"ts-loader": "^6.0.4",
"typescript": "^3.7.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.8",
"webpack-dev-middleware": "^3.7.1",
"webpack-merge": "^4.2.2"
},
"peerDependencies": {
"react": ">=15",
"react-dom": ">=15"
},
"browserslist": [
"last 1 version",
"> 1%",
"maintained node versions",
"not dead"
],
"dependencies": {
"throttle-debounce": "^2.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/davidnguyen179/viewport.git"
},
"bugs": {
"url": "https://github.com/davidnguyen179/viewport/issues"
}
}