1 | {
|
2 | "name": "@rc-component/portal",
|
3 | "version": "1.0.1",
|
4 | "description": "React Portal Component",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-portal"
|
9 | ],
|
10 | "homepage": "https://github.com/react-component/portal",
|
11 | "bugs": {
|
12 | "url": "https://github.com/react-component/portal/issues"
|
13 | },
|
14 | "repository": {
|
15 | "type": "git",
|
16 | "url": "https://github.com/react-component/portal.git"
|
17 | },
|
18 | "license": "MIT",
|
19 | "author": "smith3816@gmail.com",
|
20 | "main": "./lib/index",
|
21 | "module": "./es/index",
|
22 | "typings": "es/index.d.ts",
|
23 | "files": [
|
24 | "lib",
|
25 | "es",
|
26 | "dist"
|
27 | ],
|
28 | "scripts": {
|
29 | "compile": "father build",
|
30 | "deploy": "npm run docs:build && npm run docs:deploy",
|
31 | "docs:build": "dumi build",
|
32 | "docs:deploy": "gh-pages -d docs-dist",
|
33 | "lint": "eslint src/ --ext .tsx,.ts",
|
34 | "lint:tsc": "tsc -p tsconfig.json --noEmit",
|
35 | "now-build": "npm run docs:build",
|
36 | "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
|
37 | "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
38 | "start": "dumi dev",
|
39 | "test": "npm run test:client && npm run test:server",
|
40 | "test:client": "umi-test --testPathIgnorePatterns=ssr.test.tsx --testPathIgnorePatterns=ssr.test.tsx",
|
41 | "test:coverage": "npm run test:client --coverage",
|
42 | "test:server": "umi-test --env=node -- tests/ssr.test.tsx",
|
43 | "watch": "father dev"
|
44 | },
|
45 | "dependencies": {
|
46 | "@babel/runtime": "^7.18.0",
|
47 | "classnames": "^2.3.2",
|
48 | "rc-util": "^5.16.0"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@rc-component/father-plugin": "^1.0.0",
|
52 | "@testing-library/jest-dom": "^5.16.4",
|
53 | "@testing-library/react": "^13.0.0",
|
54 | "@types/jest": "^26.0.20",
|
55 | "@types/react": "^18.0.0",
|
56 | "@types/react-dom": "^18.0.0",
|
57 | "@umijs/fabric": "^2.5.2",
|
58 | "dumi": "^1.1.0",
|
59 | "eslint": "^7.18.0",
|
60 | "father": "^4.0.0-rc.8",
|
61 | "gh-pages": "^3.1.0",
|
62 | "np": "^5.0.3",
|
63 | "prettier": "^2.1.2",
|
64 | "react": "^18.0.0",
|
65 | "react-dom": "^18.0.0",
|
66 | "typescript": "^4.6.3",
|
67 | "umi-test": "^1.9.7"
|
68 | },
|
69 | "peerDependencies": {
|
70 | "react": ">=16.9.0",
|
71 | "react-dom": ">=16.9.0"
|
72 | },
|
73 | "engines": {
|
74 | "node": ">=8.x"
|
75 | }
|
76 | }
|