UNPKG

2.13 kBJSONView Raw
1{
2 "name": "@firebase/util",
3 "version": "1.6.2",
4 "description": "",
5 "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6 "main": "dist/index.node.cjs.js",
7 "browser": "dist/index.esm2017.js",
8 "module": "dist/index.esm2017.js",
9 "esm5": "dist/index.esm5.js",
10 "exports": {
11 ".": {
12 "types": "./dist/util-public.d.ts",
13 "node": {
14 "import": "./dist/node-esm/index.node.esm.js",
15 "require": "./dist/index.node.cjs.js"
16 },
17 "esm5": "./dist/index.esm5.js",
18 "default": "./dist/index.esm2017.js"
19 },
20 "./package.json": "./package.json"
21 },
22 "files": [
23 "dist"
24 ],
25 "scripts": {
26 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
27 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
28 "build": "rollup -c && yarn api-report",
29 "build:deps": "lerna run --scope @firebase/util --include-dependencies build",
30 "dev": "rollup -c -w",
31 "prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
32 "test": "run-p lint test:all",
33 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
34 "test:all": "run-p test:browser test:node",
35 "test:browser": "karma start --single-run",
36 "test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
37 "api-report": "api-extractor run --local --verbose",
38 "typings:public": "node ../../scripts/build/use_typings.js ./dist/util-public.d.ts"
39 },
40 "license": "Apache-2.0",
41 "dependencies": {
42 "tslib": "^2.1.0"
43 },
44 "devDependencies": {
45 "rollup": "2.72.1",
46 "rollup-plugin-typescript2": "0.31.2",
47 "typescript": "4.2.2"
48 },
49 "repository": {
50 "directory": "packages/util",
51 "type": "git",
52 "url": "https://github.com/firebase/firebase-js-sdk.git"
53 },
54 "bugs": {
55 "url": "https://github.com/firebase/firebase-js-sdk/issues"
56 },
57 "typings": "./dist/util-public.d.ts",
58 "nyc": {
59 "extension": [
60 ".ts"
61 ],
62 "reportDir": "./coverage/node"
63 }
64}