@beanreact/permission
Version:
Easy to process permission of Component
115 lines (114 loc) • 3.69 kB
JSON
{
"name": "@beanreact/permission",
"version": "0.3.1",
"description": "Easy to process permission of Component",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"libraryName": "JSLib",
"license": "MIT",
"author": "Stephen Liu",
"repository": {
"type": "git",
"url": "https://github.com/stephenliu1944/beanreact-permission"
},
"homepage": "https://github.com/stephenliu1944/beanreact-permission",
"bugs": {
"url": "https://github.com/stephenliu1944/beanreact-permission/issues"
},
"keywords": [
"permission",
"react",
"role",
"privilege",
"access"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build:dev": "cross-env NODE_ENV=development rollup -c rollup.config.dev.js",
"build:prod": "cross-env NODE_ENV=production rollup -c rollup.config.prod.js",
"start": "cross-env NODE_ENV=development rollup -c rollup.config.dev.js -w",
"lint:js": "eslint -c .eslintrc.prod.json --fix",
"test": "jest",
"package": "cross-env BUILD_PATH=dist npm run build:prod",
"package:watch": "cross-env BUILD_PATH=dist NODE_ENV=production rollup -w -c rollup.config.prod.js",
"publish:prerelease": "npm run package && gulp version-prerelease && npm publish --access=public",
"publish:patch": "npm run package && gulp version-patch && npm publish --access=public",
"publish:minor": "npm run package && gulp version-minor && npm publish --access=public",
"publish:major": "npm run package && gulp version-major && npm publish --access=public",
"unpublish": "npm unpublish -f",
"git:push": "gulp git-push"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"src/**/*.js": [
"npm run lint:js",
"git add"
]
},
"ignore": [
"src/dev.js"
]
},
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.1",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-module-resolver": "^3.1.1",
"cross-env": "^5.2.0",
"eslint": "^5.8.0",
"gulp": "^4.0.0",
"gulp-bump": "^3.1.1",
"gulp-sftp": "^0.1.5",
"gulp-zip": "^4.2.0",
"husky": "^1.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rollup": "^1.1.2",
"rollup-plugin-alias": "^1.4.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-delete": "^0.1.2",
"rollup-plugin-eslint": "^5.0.0",
"rollup-plugin-generate-html-template": "1.1.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-serve": "^0.6.0",
"rollup-plugin-uglify": "^4.0.0"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"devEnvironments": {
"servers": {
"local": 8888
}
}
}