UNPKG

2.09 kBJSONView Raw
1{
2 "name": "@firebase/util",
3 "version": "1.6.0",
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 "node": {
13 "import": "./dist/node-esm/index.node.esm.js",
14 "require": "./dist/index.node.cjs.js"
15 },
16 "esm5": "./dist/index.esm5.js",
17 "default": "./dist/index.esm2017.js"
18 },
19 "./package.json": "./package.json"
20 },
21 "files": [
22 "dist"
23 ],
24 "scripts": {
25 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
26 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
27 "build": "rollup -c && yarn api-report",
28 "build:deps": "lerna run --scope @firebase/util --include-dependencies build",
29 "dev": "rollup -c -w",
30 "prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
31 "test": "run-p lint test:all",
32 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
33 "test:all": "run-p test:browser test:node",
34 "test:browser": "karma start --single-run",
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"
38 },
39 "license": "Apache-2.0",
40 "dependencies": {
41 "tslib": "^2.1.0"
42 },
43 "devDependencies": {
44 "rollup": "2.57.0",
45 "rollup-plugin-typescript2": "0.30.0",
46 "typescript": "4.2.2"
47 },
48 "repository": {
49 "directory": "packages/util",
50 "type": "git",
51 "url": "https://github.com/firebase/firebase-js-sdk.git"
52 },
53 "bugs": {
54 "url": "https://github.com/firebase/firebase-js-sdk/issues"
55 },
56 "typings": "./dist/util-public.d.ts",
57 "nyc": {
58 "extension": [
59 ".ts"
60 ],
61 "reportDir": "./coverage/node"
62 }
63}