dev-vortex/fireback

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "@dev-vortex/fireback",
    "version": "0.0.0-development",
    "description": "Firebase backend service",
    "keywords": [
        "Firebase",
        "backend",
        "api",
        "service",
        "typescript"
    ],
    "author": "Joao Correia <joao@correia.pw> (https://joao.correia.pw)",
    "license": "ISC",
    "repository": {
        "type": "git",
        "url": "https://github.com/dev-vortex/fireback.git"
    },
    "main": "./dist/index",
    "types": "./dist/types/index.d.ts",
    "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
    "typings": "dist/index",
    "files": [
        "dist"
    ],
    "scripts": {
        "build": "yarn build:clean && yarn build:bundle && yarn build:types && yarn build:paths",
        "build:simple": "yarn build:clean && tsc && yarn build:types && yarn build:paths",
        "build:clean": "rimraf dist/*",
        "build:bundle": "rollup -c",
        "build:types": "copyfiles -u 1 \"src/types/*.d.ts\" dist",
        "build:paths": "tscpaths -p tsconfig.json -s ./src -o ./dist",
        "test": "TS_NODE_FILES=true mocha",
        "test:watch": "TS_NODE_FILES=true mocha -w",
        "coverage": "TS_NODE_FILES=true nyc -r lcov -e .ts -x \"*.test.ts\" yarn test",
        "prepare": "npm run build",
        "commit": "cz",
        "lint": "eslint . --ext .ts",
        "release": "semantic-release",
        "semantic-release": "semantic-release"
    },
    "dependencies": {
        "camelcase": "^6.3.0",
        "get-caller-file": "^2.0.5",
        "glob": "^8.0.1"
    },
    "devDependencies": {
        "@rollup/plugin-commonjs": "^22.0.0",
        "@rollup/plugin-json": "^4.1.0",
        "@rollup/plugin-node-resolve": "^13.3.0",
        "@rollup/plugin-replace": "^4.0.0",
        "@rollup/plugin-typescript": "^8.3.2",
        "@types/chai": "^4.2.21",
        "@types/mocha": "^9.1.0",
        "@types/node": "^16.4.0",
        "@types/sinon": "^10.0.11",
        "@typescript-eslint/eslint-plugin": "^4.25.0",
        "@typescript-eslint/parser": "^4.25.0",
        "chai": "^4.3.4",
        "commitizen": "^4.2.4",
        "copyfiles": "^2.4.1",
        "cz-conventional-changelog": "3.3.0",
        "eslint": "^7.27.0",
        "eslint-plugin-prettier": "^3.4.0",
        "firebase-admin": "^11.4.0",
        "firebase-functions": "^4.1.1",
        "firebase-functions-test": "^3.0.0",
        "mocha": "^9.2.1",
        "nyc": "^15.1.0",
        "prettier": "^2.3.0",
        "rimraf": "^3.0.2",
        "rollup": "^2.72.1",
        "rollup-plugin-uglify": "^6.0.4",
        "semantic-release": "^17.4.3",
        "sinon": "^13.0.1",
        "terser": "^5.13.1",
        "ts-node": "^10.1.0",
        "tsconfig-paths": "^3.10.1",
        "tscpaths": "^0.0.9",
        "typescript": "^4.2.4"
    },
    "config": {
        "commitizen": {
            "path": "./node_modules/cz-conventional-changelog"
        }
    },
    "publishConfig": {
        "access": "public"
    },
    "mocha": {
        "diff": true,
        "reporter": "spec",
        "spec": "tests/**/*.test.ts",
        "require": [
            "ts-node/register",
            "tsconfig-paths/register"
        ],
        "watch-files": [
            "src/**/*",
            "tests/**/*"
        ]
    },
    "nyc": {
        "include": "src",
        "exclude": "**/*.test.js"
    },
    "unpkg": "dist/index.js",
    "jsdelivr": "dist/index.js"
}