79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"name": "@rc-component/portal",
|
|
"version": "2.2.0",
|
|
"description": "React Portal Component",
|
|
"keywords": [
|
|
"react",
|
|
"react-component",
|
|
"react-portal"
|
|
],
|
|
"homepage": "https://github.com/react-component/portal",
|
|
"bugs": {
|
|
"url": "https://github.com/react-component/portal/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/react-component/portal.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "smith3816@gmail.com",
|
|
"main": "./lib/index",
|
|
"module": "./es/index",
|
|
"typings": "es/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"es",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"compile": "father build",
|
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
"docs:build": "dumi build",
|
|
"docs:deploy": "gh-pages -d docs-dist",
|
|
"lint": "eslint src/ --ext .tsx,.ts",
|
|
"lint:tsc": "tsc -p tsconfig.json --noEmit",
|
|
"now-build": "npm run docs:build",
|
|
"prepare": "dumi setup",
|
|
"prepublishOnly": "npm run compile && rc-np",
|
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
"start": "dumi dev",
|
|
"test": "npm run test:server && npm run test:coverage",
|
|
"test:client": "rc-test --testPathIgnorePatterns=ssr.test.tsx --testPathIgnorePatterns=ssr.test.tsx",
|
|
"test:coverage": "npm run test:client -- --coverage",
|
|
"test:server": "rc-test --env=node -- tests/ssr.test.tsx",
|
|
"watch": "father dev"
|
|
},
|
|
"dependencies": {
|
|
"@rc-component/util": "^1.2.1",
|
|
"clsx": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rc-component/father-plugin": "^2.0.2",
|
|
"@rc-component/np": "^1.0.3",
|
|
"@testing-library/jest-dom": "^6.9.0",
|
|
"@testing-library/react": "^13.0.0",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/node": "^20.9.0",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@umijs/fabric": "^4.0.0",
|
|
"dumi": "^2.0.0",
|
|
"eslint": "^8.0.0",
|
|
"father": "^4.0.0",
|
|
"gh-pages": "^6.1.1",
|
|
"glob": "^10.0.0",
|
|
"prettier": "^2.1.2",
|
|
"rc-test": "^7.1.2",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-dom": ">=18.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.x"
|
|
}
|
|
}
|