-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
91 lines (91 loc) · 2.77 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
{
"name": "next-gallery",
"version": "2.1.1",
"description": "Next.js component for creating responsive image gallery",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"publishConfig": {
"source": "src/index.tsx",
"main": "dist/index.js"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist/",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fmkra/next-gallery.git"
},
"keywords": [
"nextjs",
"images",
"react"
],
"author": "Filip Krawczyk <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/fmkra/next-gallery/issues"
},
"scripts": {
"clean": "rm -rf dist",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "rollup -c",
"build": "pnpm run build:js && pnpm run build:types",
"lint": "eslint --ignore-path .gitignore --fix src",
"format": "prettier --write src",
"example:install": "cd example && pnpm install",
"example:dev": "cd example && pnpm run dev",
"example:build": "cd example && pnpm run build"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"tslib": "^2.6.2"
},
"peerDependencies": {
"next": ">= 13.1.1",
"react": ">= 17.0.2",
"react-dom": ">= 17.0.2"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.2",
"@types/node": "^20.4.5",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"autoprefixer": "^10.4.15",
"eslint": "^8.39.0",
"eslint-plugin-react": "^7.32.2",
"glob": "^10.3.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"rollup": "^3.23.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-postcss-modules": "^2.1.1",
"rollup-plugin-preserve-directives": "^0.2.0",
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.0.0 || >=18.0.0 || >=19.0.0 || >=20.0.0"
},
"lint-staged": {
"*.js": "npm run lint",
"*.{js,css,md*}": "npm run format"
}
}