{
  "name": "troyfe-component",
  "version": "1.0.1",
  "description": "创意组件库",
  "author": "wangmin",
  "private": false,
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "license": "MIT",
  "keywords": [
    "Component",
    "troy-component",
    "React"
  ],
  "files": [
    "dist"
  ],
  "dependencies": {
    "axios": "^0.21.1",
    "bpmn-js": "7.4.0",
    "bpmn-js-bpmnlint": "0.15.0",
    "bpmn-js-properties-panel": "0.37.6",
    "bpmnlint": "6.5.0",
    "bpmnlint-loader": "^0.1.5",
    "bpmnlint-pack-config": "^0.6.1",
    "camunda-bpmn-moddle": "4.5.0",
    "echarts": "^5.1.1",
    "echarts-for-react": "^3.0.1",
    "file-drops": "0.4.0",
    "fr-generator": "^2.6.0",
    "web-vitals": "^1.0.1"
  },
  "peerDependencies": {
    "antd": ">=4.0.0",
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
  },
  "scripts": {
    "dev": "yarn storybook",
    "start": "npm run storybook-start",
    "restart": "pm2 restart troyfe-component",
    "stop": "pm2 delete troyfe-component",
    "build": "npm run clear && npm run build-ts && npm run build-less",
    "build-storybook": "build-storybook -s public",
    "test": "craco test",
    "eject": "react-scripts eject",
    "clear": "rimraf ./dist",
    "lint": "eslint --ext js,ts,tsx src --max-warnings 10",
    "storybook": "start-storybook -p 6006 -s public",
    "storybook-start": "pm2 start ./server/index.js --name=troyfe-component",
    "build-ts": "tsc -p tsconfig.build.json",
    "build-less": "lessc ./src/styles/index.less ./dist/index.css",
    "prepublish": "npm run lint && npm run build"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint"
    }
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@craco/craco": "^6.1.1",
    "@storybook/addon-actions": "^6.1.21",
    "@storybook/addon-essentials": "^6.1.21",
    "@storybook/addon-info": "^5.3.21",
    "@storybook/addon-links": "^6.1.21",
    "@storybook/node-logger": "^6.1.21",
    "@storybook/preset-ant-design": "^0.0.2",
    "@storybook/preset-create-react-app": "^3.1.6",
    "@storybook/react": "^6.1.21",
    "@testing-library/jest-dom": "^5.11.4",
    "@testing-library/react": "^11.1.0",
    "@testing-library/user-event": "^12.1.10",
    "@types/jest": "^26.0.15",
    "@types/node": "^12.0.0",
    "@types/react": "^17.0.0",
    "@types/react-dom": "^17.0.0",
    "@types/storybook__addon-info": "^5.2.3",
    "antd": "^4.12.3",
    "babel-preset-stage-3": "^6.24.1",
    "classnames": "^2.3.1",
    "compression": "^1.7.4",
    "craco-antd": "^1.19.0",
    "express": "^4.17.1",
    "husky": "^5.1.3",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-scripts": "4.0.3",
    "rimraf": "^3.0.2",
    "typescript": "^4.1.2"
  }
}
