-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
50 lines (50 loc) · 1.46 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
{
"name": "react-modal-image",
"version": "2.6.0",
"description": "Lightweight Lightbox React Component",
"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": "npm run build-component && npm run build-demo",
"clean": "rm -rf lib es demo/dist",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
},
"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": "^11.0.0",
"cypress": "^10.7.0",
"html-loader": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"react": "^18",
"react-dom": "^18",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.1"
},
"repository": {
"type": "git",
"url": "https://github.com/aautio/react-modal-image"
},
"author": "Ari Autio <[email protected]>",
"license": "MIT",
"keywords": [
"react-component",
"lightbox",
"modal",
"image",
"react"
]
}