nsn-enum
Version:
NSN枚举组件
62 lines (61 loc) • 1.48 kB
JSON
{
"name": "nsn-enum",
"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 && ./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"
},
"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": {
"@umijs/fabric": "^2.3.1",
"eslint": "^6.8.0",
"father": "^2.29.5",
"husky": "^4.2.5",
"lint-staged": "^10.5.0",
"prettier": "^2.0.5",
"typescript": "^3.9.7"
}
}