|
7 | 7 | "url": "https://github.com/researchgate/react-intersection-list/issues"
|
8 | 8 | },
|
9 | 9 | "dependencies": {
|
10 |
| - "@researchgate/react-intersection-observer": "^0.2.0", |
| 10 | + "@researchgate/react-intersection-observer": "^0.3.0", |
11 | 11 | "prop-types": "^15.5.10",
|
12 | 12 | "rimraf": "^2.6.1",
|
13 | 13 | "warning": "^3.0.0"
|
|
39 | 39 | "validate-commit-msg": "^2.14.0",
|
40 | 40 | "whatwg-fetch": "^2.0.3"
|
41 | 41 | },
|
42 |
| - "files": [ |
43 |
| - "lib" |
44 |
| - ], |
| 42 | + "files": ["lib"], |
45 | 43 | "homepage": "https://github.com/researchgate/react-intersection-list#readme",
|
46 |
| - "keywords": [ |
47 |
| - "Intersection", |
48 |
| - "Observer", |
49 |
| - "react", |
50 |
| - "component", |
51 |
| - "list", |
52 |
| - "infinite", |
53 |
| - "scrollable", |
54 |
| - "researchgate" |
55 |
| - ], |
| 44 | + "keywords": ["Intersection", "Observer", "react", "component", "list", "infinite", "scrollable", "researchgate"], |
56 | 45 | "license": "MIT",
|
57 | 46 | "lint-staged": {
|
58 |
| - "{src,docs/docs}/**/*.js": [ |
59 |
| - "eslint --fix", |
60 |
| - "git add" |
61 |
| - ] |
| 47 | + "{src,docs/docs}/**/*.js": ["eslint --fix", "git add"] |
62 | 48 | },
|
63 | 49 | "main": "lib/js/index.js",
|
64 | 50 | "module": "lib/es/index.js",
|
|
72 | 58 | },
|
73 | 59 | "jest": {
|
74 | 60 | "rootDir": "src",
|
75 |
| - "testMatch": [ |
76 |
| - "**/__tests__/**/*.spec.js" |
77 |
| - ] |
| 61 | + "testMatch": ["**/__tests__/**/*.spec.js"] |
78 | 62 | },
|
79 | 63 | "scripts": {
|
80 | 64 | "build": "npm run build:js && npm run build:es",
|
81 |
| - "build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files", |
82 |
| - "build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files", |
| 65 | + "build:js": |
| 66 | + "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files", |
| 67 | + "build:es": |
| 68 | + "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files", |
83 | 69 | "build:storybook": "build-storybook --output-dir docs",
|
84 | 70 | "create-github-release": "conventional-github-releaser -p angular",
|
85 | 71 | "clear": "rimraf ./lib",
|
|
0 commit comments