-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
124 lines (124 loc) · 4.52 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
{
"name": "@ackee/petrus",
"version": "7.0.3",
"description": "A tool for handling token-based authentication in React/Redux/Redux-Saga applications",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"prettier": "prettier --config ./prettier.config.cjs --write './src/**/*.{js,jsx,ts,tsx}'",
"build:lib": "rm -rf ./lib && cross-env BABEL_ENV=lib babel src --out-dir lib --extensions \".ts,.js,.tsx,.jsx\"",
"build:es": "rm -rf ./es && cross-env BABEL_ENV=es babel src --out-dir es --extensions \".ts,.js,.tsx,.jsx\"",
"build:es:types": "tsc -p tsconfig.types.es.json && tsc-alias -p tsconfig.types.es.json",
"build:lib:types": "tsc -p tsconfig.types.lib.json && tsc-alias -p tsconfig.types.lib.json",
"build:types": "yarn build:es:types & yarn build:lib:types",
"build": "yarn build:es && yarn build:lib && yarn build:types",
"prepare": "yarn build",
"start": "yarn build && onchange 'src/**/*.{ts,tsx}' -- yarn push",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"size:es": "package-size ./es --no-cache",
"size:lib": "package-size ./lib --no-cache",
"size": "yarn size:es && yarn size:lib",
"test": "jest --watch",
"test:ci": "jest --passWithNoTests",
"changelog": "gitmoji-changelog",
"version": "yarn changelog && code --wait CHANGELOG.md && git add CHANGELOG.md",
"release": "git fetch origin && yarn version",
"type-check": "tsc --noEmit",
"type-check:watch": "yarn type-check -- --watch",
"docs:clear": "rm -rf petrus.wiki/**/*.md .nojekyll petrus.wiki/media",
"docs": "yarn docs:clear && typedoc --tsconfig tsconfig.json"
},
"contributors": [
"Marek Janča <marek.janca@ackee.cz>",
"Lukáš Horák <lukas.horak@ackee.cz>",
"Jiří Čermák <jiri.cermak@ackee.cz>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AckeeCZ/petrus"
},
"dependencies": {
"@ackee/redux-utils": "^4.1.2",
"@reduxjs/toolkit": "^1.8.1",
"idb": "5.0.4"
},
"peerDependencies": {
"core-js": "3",
"react": "16 - 18",
"react-redux": "7 - 8",
"redux": "4",
"redux-saga": "1"
},
"devDependencies": {
"@ackee/browserslist-config": "^3.0.0",
"@ackee/eslint-config": "^4.0.0",
"@babel/cli": "7.17.10",
"@babel/core": "7.18.0",
"@babel/preset-env": "7.18.0",
"@babel/preset-react": "7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@types/jest": "^29.2.4",
"@types/node": "^14.18.18",
"@types/react": "^18.0.9",
"@types/react-redux": "^7.1.24",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"babel-plugin-custom-import-path-transform": "^1.0.3",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-imports": "2.0.0",
"babel-preset-react-app": "^10.0.1",
"core-js": "^3.22.8",
"cross-env": "7.0.3",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-jest": "^26.2.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-testing-library": "^5.5.0",
"gitmoji-changelog": "^2.3.0",
"husky": "4.2.5",
"jest": "^29.3.1",
"lint-staged": "10.2.9",
"onchange": "7.1.0",
"package-size": "2.x",
"prettier": "2.6.2",
"prettier-config-ackee": "0.x",
"react": "18.1.0",
"react-redux": "8.0.2",
"redux": "4.x",
"redux-saga": "1.x",
"ts-jest": "^29.0.3",
"tsc-alias": "^1.6.7",
"typedoc": "^0.22.17",
"typedoc-github-wiki-theme": "^1.0.1",
"typedoc-plugin-markdown": "^3.12.1",
"typescript": "4.6.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,md}": [
"prettier --config ./prettier.config.cjs --write"
]
},
"publishConfig": {
"access": "public"
},
"browserslist": [
"extends @ackee/browserslist-config"
],
"files": [
"lib",
"es",
"docs"
]
}