-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.87 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
{
"name": "@cantonjs/react-scroll-view",
"version": "0.4.2",
"description": "react scroll component using intersection observer API",
"repository": "cantonjs/react-scroll-view",
"scripts": {
"start": "cross-env REACT_DEMO=true webpack-dev-server",
"test": "cross-env BABEL_ENV=cjs jest",
"watch": "yarn test --watchAll",
"coverage": "yarn test --coverage",
"format": "prettier-eslint --write \"+(src|test)/**/*.js\"",
"rimraf": "rimraf ./dist ./lib ./es",
"mkdir": "mkdirp ./dist ./lib ./es",
"prebuild": "run-s rimraf mkdir",
"build:cjs": "cross-env BABEL_ENV=cjs babel src -d lib --ignore __tests__",
"build:es": "cross-env BABEL_ENV=es babel src -d es --ignore __tests__",
"build:umd": "cross-env NODE_ENV=production webpack",
"build:min": "cross-env NODE_ENV=production webpack --env.minify",
"build": "run-p build:*",
"preversion": "yarn test && yarn build"
},
"files": [
"README.md",
"LICENSE.md",
"lib",
"es",
"dist"
],
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"author": "Cap32",
"license": "MIT",
"keywords": [
"react",
"react-components",
"scroll",
"scrollview",
"intersection-observer",
"sticky"
],
"dependencies": {
"create-react-context": "^0.2.2",
"memoize-one": "^4.0.2",
"prop-types": "^15.5.7",
"warning": "^4.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^22.4.1",
"babel-loader": "^7.1.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"cross-env": "^3.1.3",
"css-loader": "^1.0.0",
"delay": "^3.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.1.0",
"eslint-config-cantonjs": "^2.0.0",
"eslint-config-standard": "^11.0.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.18.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-standard": "^3.1.0",
"get-my-ip": "^0.0.1",
"intersection-observer": "^0.5.0",
"jest": "^22.4.2",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.0.2",
"prettier-eslint-cli": "^4.7.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-test-renderer": "^16.4.1",
"rimraf": "^2.5.4",
"style-loader": "^0.21.0",
"webpack": "^4.8.3",
"webpack-cli": "^2.0.10",
"webpack-dev-server": "^3.1.4",
"yarn": "^1.6.0"
},
"jest": {
"modulePathIgnorePatterns": [
"node_modules",
"<rootDir>/lib/",
"<rootDir>/es/",
"<rootDir>/dist/"
]
}
}