-
Notifications
You must be signed in to change notification settings - Fork 875
/
package.json
64 lines (64 loc) · 2.47 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
{
"name": "@firebase/functions-compat",
"version": "0.0.900",
"description": "",
"private": true,
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.node.cjs.js",
"browser": "dist/index.esm5.js",
"module": "dist/index.esm5.js",
"esm2017": "dist/index.esm2017.js",
"files": [
"dist"
],
"license": "Apache-2.0",
"peerDependencies": {
"@firebase/app-compat": "0.x"
},
"devDependencies": {
"@firebase/app-compat": "0.0.900",
"rollup": "2.35.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.29.0",
"typescript": "4.2.2"
},
"repository": {
"directory": "packages-exp/functions-compat",
"type": "git",
"url": "https://github.com/firebase/firebase-js-sdk.git"
},
"bugs": {
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"scripts": {
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"build": "rollup -c",
"build:deps": "lerna run --scope @firebase/functions-compat --include-dependencies build",
"build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
"dev": "rollup -c -w",
"test": "run-p lint test:all",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:all": "run-p test:browser test:node",
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
"test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p test:node",
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../functions-exp/dist/functions-exp-public.d.ts -o dist/src/index.d.ts -a -r Functions:types.FirebaseFunctions -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/functions"
},
"typings": "dist/src/index.d.ts",
"dependencies": {
"@firebase/component": "0.4.1",
"@firebase/functions-exp": "0.0.900",
"@firebase/functions-types": "0.4.0",
"@firebase/messaging-types": "0.5.0",
"@firebase/util": "1.0.0",
"tslib": "^2.1.0"
},
"nyc": {
"extension": [
".ts"
],
"reportDir": "./coverage/node"
}
}