@firebase/util 1.4.3 → 1.5.0-canary.3198d58dc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm2017.js +157 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +167 -2
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +168 -0
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.d.ts +1 -0
- package/dist/node-esm/index.d.ts +1 -0
- package/dist/node-esm/index.node.d.ts +1 -0
- package/dist/node-esm/index.node.esm.js +157 -1
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/errors.d.ts +1 -1
- package/dist/node-esm/src/indexeddb.d.ts +66 -0
- package/dist/src/errors.d.ts +1 -1
- package/dist/src/indexeddb.d.ts +66 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/dist/util-public.d.ts +852 -0
- package/dist/util.d.ts +911 -0
- package/package.json +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/util",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-canary.3198d58dc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -24,14 +24,17 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
26
26
|
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
27
|
-
"build": "rollup -c",
|
|
27
|
+
"build": "rollup -c && yarn api-report",
|
|
28
28
|
"build:deps": "lerna run --scope @firebase/util --include-dependencies build",
|
|
29
29
|
"dev": "rollup -c -w",
|
|
30
|
+
"prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
|
|
30
31
|
"test": "run-p lint test:all",
|
|
31
32
|
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
|
32
33
|
"test:all": "run-p test:browser test:node",
|
|
33
34
|
"test:browser": "karma start --single-run",
|
|
34
|
-
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js"
|
|
35
|
+
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
|
|
36
|
+
"api-report": "api-extractor run --local --verbose",
|
|
37
|
+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/util-public.d.ts"
|
|
35
38
|
},
|
|
36
39
|
"license": "Apache-2.0",
|
|
37
40
|
"dependencies": {
|
|
@@ -50,11 +53,11 @@
|
|
|
50
53
|
"bugs": {
|
|
51
54
|
"url": "https://github.com/firebase/firebase-js-sdk/issues"
|
|
52
55
|
},
|
|
53
|
-
"typings": "dist/
|
|
56
|
+
"typings": "./dist/util-public.d.ts",
|
|
54
57
|
"nyc": {
|
|
55
58
|
"extension": [
|
|
56
59
|
".ts"
|
|
57
60
|
],
|
|
58
61
|
"reportDir": "./coverage/node"
|
|
59
62
|
}
|
|
60
|
-
}
|
|
63
|
+
}
|