UNPKG

nsn-util

Version:

NSN工具辅助组件

83 lines (82 loc) 2.22 kB
{ "name": "nsn-util", "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 && rm -rf ./es/locales && rm -rf ./lib/locales && ./pkg-set", "lint": "npm run lint-eslint", "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", "prettier": "prettier -c --write \"**/**\"", "check-types": "tsc", "tmp": "umi g tmp" }, "husky": { "hooks": { "pre-commit": "npm run lint-staged" } }, "lint-staged": { "**/*.{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/jwt-decode": "^2.2.1", "@types/lodash": "^4.14.162", "@types/react": "^16.9.53", "@umijs/fabric": "^2.3.1", "@umijs/plugin-initial-state": "^2.2.1", "@umijs/plugin-locale": "^0.4.5", "antd": "^4.7.3", "eslint": "^6.8.0", "father": "^2.29.5", "husky": "^4.2.5", "lint-staged": "^10.5.0", "prettier": "^2.1.2", "typescript": "^3.9.7" }, "dependencies": { "@ant-design/icons": "^4.2.2", "jwt-decode": "^2.2.0", "lodash": "^4.17.19", "nsn-const": "^1.0.20210118", "nsn-locale": "^1.0.20210118", "nsn-model-type": "^1.0.20210118", "umi": "^3.2.24" } }