-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
121 lines (121 loc) · 3.52 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "lightbox-react",
"version": "0.3.8",
"description": "Lightbox for React components or images",
"scripts": {
"build": "npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail",
"build:demo": "npm run clean:demo && cross-env NODE_ENV=production TARGET=demo webpack --bail",
"clean": "rimraf dist style.css style.css.map",
"clean:demo": "rimraf build",
"start": "cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot",
"lint": "eslint .",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"test": "jest",
"test:watch": "jest --watchAll",
"deploy": "npm run build:demo && gh-pages -d build"
},
"main": "dist/main.js",
"typings": "index.d.ts",
"files": [
"dist",
"index.d.ts",
"style.css",
"style.css.map"
],
"repository": {
"type": "git",
"url": "/~https://github.com/treyhuffine/lightbox-react.git"
},
"homepage": "http://treyhuffine.com/lightbox-react",
"bugs": "/~https://github.com/treyhuffine/lightbox-react/issues",
"authors": [
"Trey Huffine",
"Chris Fritz <forked>"
],
"license": "MIT",
"jest": {
"testURL": "http://localhost",
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"setupFiles": [
"./test-config/shim.js",
"./test-config/test-setup.js"
],
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules"
],
"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"
]
},
"browserslist": [
"IE >= 11",
"last 2 versions",
"> 1%"
],
"dependencies": {
"is-react": "^1.3.2",
"prop-types": "^15.6.1",
"react-modal": "^3.4.4"
},
"peerDependencies": {
"react": "^15.5.0 || ^16.0.0",
"react-dom": "^15.5.0 || ^16.0.0"
},
"devDependencies": {
"autoprefixer": "^8.4.1",
"babel-cli": "^6.10.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-exponentiation-operator": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.11.1",
"coveralls": "^3.0.1",
"cross-env": "^5.1.4",
"css-loader": "^0.28.11",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"gh-pages": "^1.1.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^22.4.3",
"jest-enzyme": "^6.0.0",
"postcss-loader": "^2.1.5",
"prettier": "^1.12.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-hot-loader": "^4.1.2",
"rimraf": "^2.5.3",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-node-externals": "^1.7.2"
},
"keywords": [
"react",
"react-component",
"video",
"image",
"component",
"lightbox"
]
}