UNPKG

use-modal-service

Version:
90 lines (89 loc) 2.32 kB
{ "name": "use-modal-service", "version": "1.1.1", "description": "antd modal service", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "start": "npm run dev", "dev": "dumi dev", "build": "father build", "build:watch": "father dev", "docs:build": "dumi build", "docs:preview": "dumi preview", "prepare": "husky install && dumi setup", "doctor": "father doctor", "lint": "npm run lint:es && npm run lint:css", "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"", "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", "prepublishOnly": "father doctor && npm run build", "test": "jest", "cov": "jest --coverage" }, "authors": [ "chenjiyuan.super@gmail.com" ], "repository": { "type": "git", "url": "https://github.com/lemonied/use-modal-service" }, "homepage": "https://lemonied.github.io/use-modal-service", "keywords": [ "component", "components", "react", "react-component", "modal", "modal-service", "antd-modal" ], "license": "MIT", "files": [ "dist" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "sideEffects": false, "peerDependencies": { "antd": "^3.0.0 || ^4.0.0 || ^5.0.0", "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "dependencies": { "@lemonied/use-portal": "^0.0.2" }, "devDependencies": { "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@testing-library/jest-dom": "^6.4.5", "@types/jest": "^29.5.12", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@umijs/lint": "^4.0.0", "antd": "^5.17.4", "dumi": "^2.3.6", "eslint": "^8.23.0", "eslint-plugin-react-hooks": "^4.6.2", "father": "^4.1.0", "husky": "^8.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.0.0", "prettier-plugin-packagejson": "^2.2.18", "react": "^18.0.0", "react-dom": "^18.0.0", "stylelint": "^14.9.1", "ts-jest": "^29.1.4", "ts-node": "^10.9.2", "typescript": "^5.4.5" } }