/
package.json
138 lines (138 loc) · 5.38 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
{
"name": "@firebase/auth",
"version": "0.20.7",
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/node/index.js",
"react-native": "dist/rn/index.js",
"browser": "dist/esm2017/index.js",
"module": "dist/esm2017/index.js",
"cordova": "dist/cordova/index.js",
"webworker": "dist/index.webworker.esm5.js",
"esm5": "dist/esm5/index.js",
"exports": {
".": {
"types": "./dist/auth-public.d.ts",
"node": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node-esm/index.js",
"require": "./dist/node/index.js"
},
"react-native": {
"types": "./dist/rn/index.rn.d.ts",
"default": "./dist/rn/index.js"
},
"cordova": {
"types": "./dist/cordova/index.cordova.d.ts",
"default": "./dist/cordova/index.js"
},
"webworker": {
"types": "./dist/index.webworker.d.ts",
"default": "./dist/index.webworker.esm5.js"
},
"esm5": "./dist/esm5/index.js",
"default": "./dist/esm2017/index.js"
},
"./cordova": {
"types": "./dist/cordova/index.cordova.d.ts",
"default": "./dist/cordova/index.js"
},
"./react-native": {
"types": "./dist/rn/index.rn.d.ts",
"default": "./dist/rn/index.js"
},
"./internal": {
"types": "./dist/internal/index.d.ts",
"node": {
"types": "./dist/node/internal/index.d.ts",
"import": "./dist/node-esm/internal.js",
"require": "./dist/node/internal.js"
},
"react-native": {
"types": "./dist/rn/internal/index.d.ts",
"default": "./dist/rn/internal.js"
},
"cordova": {
"types": "./dist/cordova/internal/index.d.ts",
"default": "./dist/cordova/internal.js"
},
"esm5": "./dist/esm5/internal.js",
"default": "./dist/esm2017/internal.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"cordova/package.json",
"internal/package.json",
"react-native/package.json"
],
"scripts": {
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"build": "rollup -c && yarn api-report",
"build:deps": "lerna run --scope @firebase/auth --include-dependencies build",
"build:release": "yarn build && yarn typings:public",
"build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
"dev": "rollup -c -w",
"test": "run-p lint test:all",
"test:all": "run-p test:browser:unit test:node:unit test:integration",
"test:integration": "firebase emulators:exec --project emulatedproject --only auth \"run-s test:browser:integration:local test:node:integration:local test:webdriver\"",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:integration:local": "run-s test:node:integration:local test:browser:integration:local test:webdriver",
"test:browser": "karma start --single-run --local",
"test:browser:unit": "karma start --single-run --unit",
"test:browser:integration": "karma start --single-run --integration",
"test:browser:integration:local": "karma start --single-run --integration --local",
"test:browser:debug": "karma start --auto-watch",
"test:browser:unit:debug": "karma start --auto-watch --unit",
"test:cordova": "karma start --single-run --cordova",
"test:cordova:debug": "karma start --auto-watch --cordova",
"test:node": "run-s test:node:unit test:node:integration:local",
"test:node:unit": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts",
"test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration",
"test:node:integration:local": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration --local",
"test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver",
"api-report": "api-extractor run --local --verbose",
"doc": "api-documenter markdown --input temp --output docs",
"build:doc": "yarn build && yarn doc",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
},
"peerDependencies": {
"@firebase/app": "0.x"
},
"dependencies": {
"@firebase/component": "0.5.17",
"@firebase/logger": "0.3.3",
"@firebase/util": "1.6.3",
"node-fetch": "2.6.7",
"selenium-webdriver": "4.1.2",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.7.33",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-strip": "2.1.0",
"chromedriver": "98.0.1",
"rollup": "2.72.1",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.2.2"
},
"repository": {
"directory": "packages/auth",
"type": "git",
"url": "https://github.com/firebase/firebase-js-sdk.git"
},
"bugs": {
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"typings": "dist/auth.d.ts",
"nyc": {
"extension": [
".ts"
],
"reportDir": "./coverage/node"
}
}