Files
cyberduck/package.json
2026-03-10 10:31:37 +01:00

108 lines
3.1 KiB
JSON

{
"name": "cyberduck",
"private": false,
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://git.maze.io/maze/cyberduck.git"
},
"bugs": {
"url": "https://git.maze.io/maze/cyberduck/-/issues"
},
"homepage": "https://git.maze.io/maze/cyberduck#readme",
"type": "module",
"main": "dist/cyberduck.cjs.js",
"module": "dist/cyberduck.es.js",
"types": "dist/types/index.d.ts",
"style": "dist/cyberduck.css",
"sideEffects": [
"dist/cyberduck.css",
"src/styles/**"
],
"files": [
"dist",
"src/styles"
],
"exports": {
".": {
"import": "./dist/cyberduck.es.js",
"require": "./dist/cyberduck.cjs.js",
"default": "./dist/cyberduck.es.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json",
"./styles": "./src/styles/cyberduck.scss",
"./styles/*": "./src/styles/*",
"./css": "./dist/cyberduck.css",
"./*": {
"import": "./dist/cyberduck.es.js",
"require": "./dist/cyberduck.cjs.js",
"types": "./dist/*.d.ts"
}
},
"scripts": {
"dev": "vite",
"build": "node ./scripts/build-if-needed.cjs",
"prepack": "npm run build",
"prepare": "npm run build",
"lint": "eslint .",
"lint:css": "stylelint \"src/**/*.{scss,css,sass}\"",
"format:css": "prettier --write \"src/**/*.{scss,css,sass}\"",
"styles:build": "sass --no-source-map --style=compressed --load-path=node_modules src:dist",
"styles:check": "sass --no-source-map --update --load-path=node_modules src:dist",
"styles:dev": "sass --watch --no-source-map --load-path=node_modules src:dist",
"preview": "vite preview"
},
"peerDependencies": {
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@mui/icons-material": "^7.0.0",
"@mui/material": "^7.0.0",
"bootstrap": "^5.0.0",
"react": "^19.0.0",
"react-bootstrap": "^2.0.0",
"react-dom": "^19.0.0 || ^18.0.0",
"react-router": "^7.0.0",
"react-router-dom": "^7.0.0"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@eslint/js": "^9.39.1",
"@mui/icons-material": "^7.0.0",
"@mui/material": "^7.0.0",
"@types/node": "^25.3.5",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"bootstrap": "^5.3.8",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"lint-staged": "^16.3.2",
"postcss-scss": "^4.0.9",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-bootstrap": "^2.10.10",
"react-dom": "^19.2.4",
"react-router": "^7.13.1",
"react-router-dom": "^7.13.1",
"sass": "^1.97.3",
"stylelint": "^17.4.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-order": "^7.0.1",
"stylelint-scss": "^7.0.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.1",
"vite": "^7.3.1"
},
"lint-staged": {
"src/**/*.{scss,css,sass}": [
"prettier --write",
"stylelint --fix",
"git add"
]
}
}