This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
forked from etn-ccis/blui-react-auth-shared
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 4.96 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@brightlayer-ui/react-auth-shared",
"description": "Re-usable react logic for Authentication and Registration within Eaton applications. For use with @brightlayer-ui/react-native-auth-workflow and @brightlayer-ui/react-auth-workflow.",
"version": "3.7.4",
"license": "BSD-3-Clause",
"author": {
"name": "Brightlayer UI",
"email": "[email protected]"
},
"homepage": "https://github.com/brightlayer-ui/react-auth-shared/tree/master/",
"repository": {
"type": "git",
"url": "https://github.com/brightlayer-ui/react-auth-shared/tree/master"
},
"keywords": [
"Brightlayer UI",
"React-Native-Auth-Workflow",
"React-Auth-Workflow",
"Eaton",
"React",
"React Native"
],
"prettier": "@brightlayer-ui/prettier-config",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"files": [
"lib",
"CHANGELOG.md",
"LICENSES.json",
"LICENSE.md",
"package.json"
],
"scripts": {
"install:dependencies": "yarn && yarn build",
"test": "jest --passWithNoTests",
"lint": "eslint \"**/**/*.{tsx,ts}\"",
"prettier": "prettier \"**/**.{tsx,ts,js,json,md}\" --write",
"prettier:check": "prettier \"**/**.{tsx,ts,js,json,md}\" --check",
"build": "bob build",
"publish:package": "set npm_config_yes=true && npx -p @brightlayer-ui/publish blui-publish",
"tag:package": "npx -p @brightlayer-ui/tag blui-tag",
"generate:licenses": "npm-license-crawler -onlyDirectDependencies -json LICENSES.json",
"validate": "yarn prettier && yarn lint && yarn typescript && yarn test",
"precommit": "yarn validate && yarn generate:licenses",
"typescript": "tsc --noEmit",
"coverage": "yarn test --coverage --watchAll=false"
},
"peerDependencies": {
"date-fns": "^2.14.0",
"i18next": "^20.0.0",
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-i18next": "^11.3.4"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/runtime": "^7.9.2",
"@brightlayer-ui/eslint-config": "^3.0.1",
"@brightlayer-ui/prettier-config": "latest",
"@react-native-community/bob": "^0.10.0",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.0",
"@types/node": "^14.0.0",
"@types/react-native": "^0.70.7",
"@types/react-test-renderer": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"babel-jest": "^26.0.0",
"codecov": "^3.8.2",
"date-fns": "^2.19.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^7.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"i18next": "^20.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.0.0",
"jest-enzyme": "^7.1.2",
"jest-junit": "^12.0.0",
"jsdom": "^16.2.2",
"metro-react-native-babel-preset": "^0.56.0",
"npm-license-crawler": "^0.2.1",
"prettier": "^2.0.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-i18next": "^11.3.4",
"react-test-renderer": "^17.0.0",
"typescript": "^4.8.4"
},
"jest": {
"coverageDirectory": "./coverage",
"collectCoverage": true,
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"verbose": true,
"setupFilesAfterEnv": [
"<rootDir>setup-tests.js"
],
"moduleNameMapper": {
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"modulePaths": [
"<rootDir>"
],
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
]
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
],
"files": [
"src/"
]
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn typescript && yarn test"
}
},
"jest-junit": {
"reporters": [
"jest-junit"
],
"output": "./junit.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"suiteNameTemplate": "{filepath}",
"usePathForSuiteName": "true"
}
}