forked from aautio/react-modal-image
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.8 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.8 KB
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
{
"name": "@jaon/react-modal-image",
"version": "2.5.0",
"description": "Lightweight Lightbox React Component (Fork)",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"es",
"lib"
],
"scripts": {
"build-demo": "cd demo && webpack --mode production",
"start-demo": "cd demo && webpack-dev-server --open --mode development",
"build-component": "rm -rf lib es && MODULES=commonjs babel --config-file ./babel-build-config.js src --out-dir lib && MODULES=es6 babel --config-file ./babel-build-config.js src --out-dir es",
"build": "yarn build-component && yarn build-demo",
"site": "gh-pages -d demo/dist",
"clean": "rm -rf lib es demo/dist",
"start:static": "http-server demo/dist/ -s -p 8888",
"cypress:open": "cypress open",
"cypress:run": "cypress run --browser chrome",
"test": "start-server-and-test start:static http://localhost:8888 cypress:run"
},
"peerDependencies": {
"react": "16.x"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.0.4",
"cypress": "^3.4.1",
"gh-pages": "^1.2.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"start-server-and-test": "^1.9.1",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1"
},
"repository": {
"type": "git",
"url": "https://github.com/JaonL/react-modal-image"
},
"author": "Ari Autio <ari.autio@iki.fi>",
"license": "MIT",
"keywords": [
"react-component",
"lightbox",
"modal",
"image",
"react"
]
}