141 lines
3.9 KiB
JSON
141 lines
3.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"react-image-lightbox@5.1.1",
|
|
"/Users/nuwan/Code/jam-cloud/jam-ui"
|
|
]
|
|
],
|
|
"_from": "react-image-lightbox@5.1.1",
|
|
"_id": "react-image-lightbox@5.1.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-GprldD8AqpRb2hsOdns3sI7Xeo9hJlcybDxuli4RB+ml1J/GaFaUuRkT/7IrTLv2+4vkR74ahz2LD0HOUHI7wA==",
|
|
"_location": "/react-image-lightbox",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "react-image-lightbox@5.1.1",
|
|
"name": "react-image-lightbox",
|
|
"escapedName": "react-image-lightbox",
|
|
"rawSpec": "5.1.1",
|
|
"saveSpec": null,
|
|
"fetchSpec": "5.1.1"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/react-image-lightbox/-/react-image-lightbox-5.1.1.tgz",
|
|
"_spec": "5.1.1",
|
|
"_where": "/Users/nuwan/Code/jam-cloud/jam-ui",
|
|
"authors": [
|
|
"Chris Fritz"
|
|
],
|
|
"browserslist": [
|
|
"IE >= 11",
|
|
"last 2 versions",
|
|
"> 1%"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/frontend-collective/react-image-lightbox/issues"
|
|
},
|
|
"dependencies": {
|
|
"prop-types": "^15.6.2",
|
|
"react-modal": "^3.8.1"
|
|
},
|
|
"description": "A lightbox component for React.js",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/preset-env": "^7.3.1",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"autoprefixer": "^9.4.7",
|
|
"babel-jest": "^24.0.0",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"enzyme": "^3.8.0",
|
|
"enzyme-adapter-react-16": "^1.8.0",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"eslint": "^5.13.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"gh-pages": "^2.0.1",
|
|
"jest": "^24.0.0",
|
|
"jest-enzyme": "^7.0.1",
|
|
"parcel-bundler": "^1.11.0",
|
|
"prettier": "^1.16.4",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^1.1.2",
|
|
"rollup-plugin-babel": "^4.3.2",
|
|
"rollup-plugin-commonjs": "^9.2.0",
|
|
"rollup-plugin-node-resolve": "^4.0.0",
|
|
"rollup-plugin-postcss": "^2.0.3",
|
|
"standard-version": "^7.0.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"index.d.ts",
|
|
"style.css",
|
|
"style.css.map"
|
|
],
|
|
"homepage": "https://frontend-collective.github.io/react-image-lightbox",
|
|
"jest": {
|
|
"setupFilesAfterEnv": [
|
|
"./node_modules/jest-enzyme/lib/index.js"
|
|
],
|
|
"setupFiles": [
|
|
"./test-config/shim.js",
|
|
"./test-config/test-setup.js"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
|
|
},
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"react-component",
|
|
"image",
|
|
"lightbox"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/index.cjs.js",
|
|
"module": "dist/index.es.js",
|
|
"name": "react-image-lightbox",
|
|
"peerDependencies": {
|
|
"react": "^16.x",
|
|
"react-dom": "^16.x"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/frontend-collective/react-image-lightbox.git"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"build:demo": "parcel build examples/cats/index.html --out-dir build --public-url ./",
|
|
"clean": "rimraf dist style.css style.css.map",
|
|
"clean:demo": "rimraf build",
|
|
"deploy": "npm run build:demo && gh-pages -d build",
|
|
"lint": "eslint .",
|
|
"prepublishOnly": "npm run lint && npm run test && npm run build",
|
|
"prettier": "prettier --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"",
|
|
"release": "standard-version",
|
|
"start": "parcel examples/cats/index.html",
|
|
"test": "jest",
|
|
"test:watch": "jest --watchAll"
|
|
},
|
|
"typings": "index.d.ts",
|
|
"version": "5.1.1"
|
|
}
|