|
1 | 1 | {
|
2 | 2 | "name": "@researchgate/react-intersection-list",
|
3 | 3 | "description": "React List Component using the Intersection Observer API",
|
4 |
| - "version": "0.1.0", |
| 4 | + "version": "0.1.1", |
5 | 5 | "author": "Luis Merino <[email protected]>",
|
6 | 6 | "bugs": {
|
7 | 7 | "url": "https://github.com/researchgate/react-intersection-list/issues"
|
|
39 | 39 | "validate-commit-msg": "^2.14.0",
|
40 | 40 | "whatwg-fetch": "^2.0.3"
|
41 | 41 | },
|
42 |
| - "files": ["lib"], |
| 42 | + "files": [ |
| 43 | + "lib" |
| 44 | + ], |
43 | 45 | "homepage": "https://github.com/researchgate/react-intersection-list#readme",
|
44 | 46 | "keywords": [
|
45 | 47 | "Intersection",
|
|
53 | 55 | ],
|
54 | 56 | "license": "MIT",
|
55 | 57 | "lint-staged": {
|
56 |
| - "{src,docs/docs}/**/*.js": ["eslint --fix", "git add"] |
| 58 | + "{src,docs/docs}/**/*.js": [ |
| 59 | + "eslint --fix", |
| 60 | + "git add" |
| 61 | + ] |
57 | 62 | },
|
58 | 63 | "main": "lib/js/index.js",
|
59 | 64 | "module": "lib/es/index.js",
|
|
67 | 72 | },
|
68 | 73 | "jest": {
|
69 | 74 | "rootDir": "src",
|
70 |
| - "testMatch": ["**/__tests__/**/*.spec.js"] |
| 75 | + "testMatch": [ |
| 76 | + "**/__tests__/**/*.spec.js" |
| 77 | + ] |
71 | 78 | },
|
72 | 79 | "scripts": {
|
73 | 80 | "build": "npm run build:js && npm run build:es",
|
74 |
| - "build:js": |
75 |
| - "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files", |
76 |
| - "build:es": |
77 |
| - "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files", |
| 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", |
78 | 83 | "build:storybook": "build-storybook --output-dir docs",
|
79 | 84 | "create-github-release": "conventional-github-releaser -p angular",
|
80 | 85 | "clear": "rimraf ./lib",
|
|
0 commit comments