-
Notifications
You must be signed in to change notification settings - Fork 290
/
package.json
140 lines (140 loc) · 4.75 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
{
"name": "next-firebase-auth",
"version": "1.3.0",
"description": "Simple Firebase authentication for all Next.js rendering strategies",
"keywords": [
"Next",
"Next.js",
"Firebase",
"authentication",
"ssr",
"token"
],
"browser": "build/index.browser.js",
"main": "build/index.node.js",
"types": "build/index.d.ts",
"bin": {
"codemod": "./build/codemod/codemod.js"
},
"repository": "[email protected]:gladly-team/next-firebase-auth.git",
"author": "Gladly Team",
"license": "MIT",
"scripts": {
"build": "npm-run-all -s build:clean build:src build:types-declaration",
"build:clean": "rm -rf ./build",
"build:src": "NODE_ENV=production webpack",
"build:types-declaration": "dts-bundle-generator ./src/index.server.ts --out-file ./build/index.d.ts",
"lint": "tsc --noEmit && eslint ./",
"bundlesize": "npm-run-all -s build bundlesize:no-build",
"bundlesize:no-build": "bundlesize",
"bundlesize:comment": "Uninstalled bundlesize for now because of https://github.com/siddharthkp/bundlesize/pull/370",
"test": "npm-run-all -s install-example-deps lint test:coverage",
"test:run": "jest --env=jsdom",
"test:coverage": "yarn run test:run --coverage",
"test:watch": "yarn run test:run --watch",
"install-example-deps": "cd example && yarn",
"dev:publish": "npm-run-all -s build dev:yalc-publish-push",
"dev:yalc-publish-push": "yalc publish --push",
"analyze-bundle": "WEBPACK_ANALYZE_BUNDLE=true yarn run build",
"publish:experimental": "npm-run-all -s test build publish:experimental:version publish:experimental:release",
"publish:experimental:release": "npm publish --tag experimental",
"publish:experimental:version": "npm version $(echo $(echo $npm_package_version | cut -d \"-\" -f 1)-experimental.$(git rev-parse --short HEAD))"
},
"scriptsComments": {
"publish:experimental": "Be sure to run with npm, not yarn."
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@babel/preset-react": "^7.23.3",
"@testing-library/react": "^14.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@types/cookies": "^0.7.10",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/jest": "^29.5.11",
"@types/keygrip": "^1.0.6",
"@types/set-cookie-parser": "^2.4.7",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"babel-jest": "^29.6.1",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.35.0",
"datwd": "^0.2.0",
"dts-bundle-generator": "^9.2.1",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "^10.0.0",
"firebase-admin": "~11.4.0",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"jscodeshift": "^0.15.0",
"lodash": "^4.17.21",
"mockdate": "^3.0.2",
"moment": "^2.30.1",
"next": "~13.3.0",
"next-test-api-route-handler": "^3.1.6",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"regenerator-runtime": "^0.14.1",
"set-cookie-parser": "^2.5.0",
"source-map-loader": "^4.0.2",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "^5.3.3",
"webpack": "^5.73.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"yargs": "^17.7.2"
},
"devDependenciesComments": {
"firebase-admin": "v11.5.0 breaks Jest tests. Unknown why. Problem: `jest.requireActual('firebase-admin/auth')`",
"next": "v13.4.x breaks tests. Unknown why. May need to wait for updates to next-test-api-route-handler."
},
"peerDependencies": {
"firebase": ">=9.0.0 <12",
"firebase-admin": ">=10.0.0 <12",
"next": ">=9.5.0 <16",
"react": ">=16.8.0 <19",
"react-dom": ">=16.8.0 <19"
},
"peerDependenciesMeta": {
"firebase": {
"optional": true
},
"next": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.23.7",
"cookies": "^0.8.0",
"hoist-non-react-statics": "^3.3.2"
},
"files": [
"/build"
]
}