{
  "name": "nsn-comp",
  "version": "1.0.20210118",
  "description": "NSN核心组件",
  "keywords": [
    "nsn",
    "核心模块",
    "组件"
  ],
  "homepage": "http://www.nsn.com",
  "bugs": {
    "url": "http://www.nsn.com/issues"
  },
  "license": "MIT",
  "author": "markermail@163.com",
  "main": "lib/index.js",
  "module": "es/index.js",
  "typings": "es/index.d.ts",
  "files": [
    "/lib",
    "/es",
    "/dist"
  ],
  "scripts": {
    "build": "father build && npm run rms && npm run tsp && ./pkg-set",
    "rms": "rm -rf ./es/models && rm -rf ./lib/models && rm -rf ./es/locales && rm -rf ./lib/locales",
    "lint": "npm run lint-eslint && npm run lint:style",
    "lint-eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty",
    "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./**/src && npm run lint:style",
    "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
    "prettier": "prettier -c --write \"**/**\"",
    "check-types": "tsc",
    "tmp": "umi g tmp",
    "tsp": "node ./.tspath.js"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint-staged"
    }
  },
  "lint-staged": {
    "**/*.less": "stylelint --syntax less",
    "**/*.{js,jsx,tsx,ts,less,md,json}": [
      "prettier --write",
      "git add"
    ],
    "**/*.{js,jsx}": "npm run lint-staged:js",
    "**/*.{js,ts,tsx}": "npm run lint-staged:js"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 10"
  ],
  "devDependencies": {
    "@babel/core": "^7.12.3",
    "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
    "@babel/preset-env": "^7.12.1",
    "@babel/preset-react": "^7.12.1",
    "@babel/preset-typescript": "^7.12.1",
    "@types/classnames": "^2.2.9",
    "@types/enzyme": "^3.10.3",
    "@types/history": "^4.7.6",
    "@types/jwt-decode": "^2.2.1",
    "@types/node": "^13.13.29",
    "@types/qs": "^6.9.3",
    "@types/react": "^16.9.53",
    "@types/react-dom": "^16.9.8",
    "@types/react-responsive": "^8.0.2",
    "@umijs/babel-preset-umi": "^3.2.24",
    "@umijs/fabric": "^2.3.1",
    "@umijs/plugin-dva": "^0.6.5",
    "@umijs/plugin-initial-state": "^2.2.1",
    "@umijs/plugin-locale": "^0.4.5",
    "@umijs/plugin-model": "^2.5.5",
    "babel-plugin-import": "^1.13.1",
    "cross-env": "^7.0.2",
    "css-loader": "^3.6.0",
    "dumi": "^1.0.33",
    "enzyme": "^3.10.0",
    "enzyme-to-json": "^3.6.1",
    "eslint": "^6.8.0",
    "father": "^2.29.5",
    "husky": "^4.2.5",
    "jsdom-global": "^3.0.2",
    "less": "^3.12.2",
    "less-loader": "^6.2.0",
    "lint-staged": "^10.5.0",
    "np": "^6.3.2",
    "prettier": "^2.1.2",
    "pretty-quick": "^2.0.1",
    "react-github-btn": "^1.1.1",
    "style-loader": "^1.3.0",
    "stylelint": "^13.6.1",
    "typescript": "^3.9.7",
    "umi": "^3.2.24",
    "umi-plugin-githubpages": "^2.0.1",
    "umi-request": "^1.3.5",
    "umi-types": "^0.5.14"
  },
  "dependencies": {
    "@ant-design/icons": "^4.2.1",
    "@ant-design/pro-layout": "^6.5.9",
    "@ant-design/pro-table": "^2.9.12",
    "antd": "^4.7.3",
    "classnames": "^2.2.6",
    "dva": "^2.4.1",
    "hash.js": "^1.1.7",
    "history": "^4.10.1",
    "iframe-resizer-react": "^1.0.4",
    "jwt-decode": "^2.2.0",
    "lodash": "^4.17.19",
    "moment": "^2.29.1",
    "nsn-util": "^1.0.20210118",
    "omit.js": "^1.0.2",
    "path-to-regexp": "^6.2.0",
    "qs": "^6.9.4",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "slash2": "^2.0.0",
    "use-json-comparison": "^1.0.5",
    "use-media-antd-query": "1.0.1",
    "use-merge-value": "^1.0.2"
  }
}
