-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
31 lines (31 loc) · 970 Bytes
/
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
{
"name": "permission-gate",
"version": "1.0.6",
"description": "A library for handling roles and permissions in large-scale React apps",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"repository": "https://github.com/w01fgang/react-permission-gate",
"author": "w01fgang<[email protected]>",
"license": "MIT",
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"postbuild": "cp ./src/index.js.flow ./lib/cjs/ && cp ./src/index.js.flow ./lib/esm/",
"prepublish": "yarn build"
},
"devDependencies": {
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^7.29.0",
"jest": "^27.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.6.3"
},
"files": [
"/lib"
]
}