-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
67 lines (67 loc) · 1.72 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
{
"name": "react-simple-infinite-scroll",
"description": "A brutally simple React infinite scroll component",
"version": "0.0.2",
"license": "MIT",
"author": "Jared Palmer <[email protected]>",
"repository": "jaredpalmer/react-simple-infinite-scroll",
"keywords": [
"react",
"infinite",
"infinite scroll",
"scroll"
],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"es6",
"lib",
"umd",
"index.d.ts"
],
"scripts": {
"test": "jest",
"clean": "rimraf lib umd es6",
"size": "cat umd/index.min.js | gzip | wc -c",
"build": "npm run clean && tsc --project tsconfig.json -m es6 --outDir es6 && webpack -p --config ./webpack.lib && webpack -p --config webpack.umd.js",
"prepublish": "npm run build"
},
"dependencies": {
"lodash.throttle": "^4.1.1"
},
"devDependencies": {
"@types/jest": "^19.2.3",
"@types/react": "^16.4.18",
"@types/react-dom": "^16.0.9",
"@types/react-test-renderer": "^15.5.0",
"@types/webpack": "^2.2.15",
"@types/webpack-env": "^1.13.0",
"jest": "^20.0.4",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-test-renderer": "^16.5.2",
"rimraf": "^2.6.1",
"ts-jest": "^20.0.5",
"ts-loader": "^2.1.0",
"tslint": "^5.3.2",
"tslint-react": "^3.0.0",
"typescript": "^2.3.4",
"webpack": "^2.6.1"
},
"peerDependencies": {
"react": "^15.0.0-0 || ^16.0.0-0",
"react-dom": "^15.0.0-0 || ^16.0.0-0"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/src/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}