-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
97 lines (97 loc) · 3.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@brainhubeu/react-permissible",
"version": "1.9.16",
"description": "Permission management component for React",
"engines": {
"npm": ">=6.14.5"
},
"scripts": {
"lint": "esw webpack.config.* src tools test --color",
"lint:types": "esw 'types/*.{ts,tsx}' 'types/tests/*.{ts,tsx}' --ext ts,tsx --color --format codeframe --config ./types/.eslintrc",
"lint:types:watch": "npm run --silent lint:types -- --watch",
"lint:types:fix": "npm run --silent lint:types -- --fix",
"clean-dist": "rm -rf ./lib && mkdir lib",
"prebuild": "npm run clean-dist",
"build": "node tools/build.js",
"test": "mocha tools/testSetup.js \"./test/**/*.js\"",
"test:coverage": "NODE_PATH=example babel-node ./node_modules/.bin/isparta cover _mocha -- --require ./tools/testSetup.js \"./test/**/*.js\" && open coverage/lcov-report/index.html",
"test:coverage:ci": "NODE_PATH=example babel-node ./node_modules/.bin/isparta cover _mocha --report lcovonly -- --require ./tools/testSetup.js \"./test/**/*.js\"",
"test:typescript": "cd ./types/tests && npm install-test --no-audit",
"precommit": "npm run lint && npm run lint:types"
},
"author": "Krystian Kościelniak",
"license": "MIT",
"dependencies": {
"gatsby-plugin-google-analytics": "2.3.2",
"lodash.difference": "^4.5.0",
"lodash.intersection": "^4.4.0"
},
"devDependencies": {
"autoprefixer": "^9.8.4",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-react-display-name": "^2.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-enzyme": "^1.0.0-beta.1",
"chalk": "^4.1.0",
"coveralls": "^3.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.3.1",
"eslint-config-brainhub": "^1.13.0",
"eslint-plugin-typescript": "^0.14.0",
"eslint-watch": "^7.0.0",
"html-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"isparta": "^4.1.1",
"jsdom": "^16.2.2",
"mocha": "^8.0.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"typescript": "^3.9.6",
"typescript-eslint-parser": "^21.0.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.43.0"
},
"peerDependencies": {
"react": ">0.14.0 || >15.0.0",
"react-dom": ">0.14.0 || >15.0.0"
},
"keywords": [
"react",
"react-permissions",
"permissions",
"permission-manager",
"props",
"callback",
"users",
"authentication",
"optional-props",
"authorization",
"access-control"
],
"repository": {
"type": "git",
"url": "https://github.com/brainhubeu/react-permissible"
},
"main": "./lib/react-permissible.js",
"types": "./types/react-permissible.d.ts"
}