-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
126 lines (126 loc) · 4.59 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "simple-cached-firestore",
"description": "Firestore wrapper with simplified API and optional caching built in",
"version": "4.0.0",
"author": "Eric Hacke",
"bugs": {
"url": "https://github.com/ehacke/simple-cached-firestore/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@types/bluebird": "^3.5.36",
"@types/flat": "^5.0.2",
"@types/ioredis": "^4.28.3",
"@types/lodash": "^4.14.178",
"@types/luxon": "^2.0.7",
"@types/node": "^16.11.12",
"@types/redlock": "^4.0.3",
"@types/traverse": "^0.6.32",
"bluebird": "^3.7.2",
"bunyan": "^1.8.15",
"bunyan-prettystream": "0.1.3",
"class-transformer": "^0.5.1",
"clean-deep": "^3.4.0",
"err": "^2.1.12",
"fast-json-stable-stringify": "^2.1.0",
"flat": "^5.0.2",
"http-status": "^1.5.0",
"lodash-es": "^4.17.21",
"luxon": "^2.1.1",
"traverse": "^0.6.6"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@gapizza/commitlint-config": "^2.0.0",
"@gapizza/eslint-config-ts": "^4.0.0",
"@gapizza/prettier-config": "^2.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/getenv": "^1.0.0",
"@types/lodash-es": "^4.17.5",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"c8": "^7.10.0",
"chai": "^4.3.4",
"class-validator": "^0.13.2",
"commitizen": "^4.2.4",
"commitlint": "^15.0.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^10.0.0",
"eslint": "^8.4.1",
"firebase-admin": "10.0.0",
"fixpack": "^4.0.0",
"getenv": "^1.0.0",
"husky": "^7.0.4",
"ioredis": "^4.28.2",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"prettier": "^2.5.1",
"prettier-eslint-cli": "^5.0.1",
"sinon": "^12.0.1",
"ts-essentials": "9.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.2",
"validated-base": "^1.2.1"
},
"files": [
"dist/**/*.{js,ts,tsbuildinfo,json}",
"docs/**/*.*"
],
"homepage": "https://github.com/ehacke/simple-cached-firestore#readme",
"keywords": [
"cached",
"firebase",
"firestore",
"google"
],
"license": "MIT",
"lint-staged": {
"package.json": [
"fixpack"
],
"*.{js,cjs,ts}": [
"eslint --fix"
]
},
"main": "dist/src/index.js",
"peerDependencies": {
"@gapizza/redis": "^2.0.0",
"firebase-admin": "^10.0.0",
"ts-essentials": "^9.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ehacke/simple-cached-firestore.git"
},
"scripts": {
"beta": "npm run update:packageVersion && ./scripts/publish-beta.sh",
"build": "rm -rf ./dist && tsc -p tsconfig.build.json && cp package.json dist/package.json && sed -i 's/\"files\":/\"_files\":/' dist/package.json",
"commit": "git-cz",
"docker:down": "COMPOSE_PROJECT_NAME=local docker-compose down --remove-orphans",
"docker:restart": "npm run docker:down && npm run docker:up",
"docker:up": "COMPOSE_PROJECT_NAME=local docker-compose up -d",
"integration": "c8 mocha --recursive -r source-map-support/register -r ts-node/register -r tsconfig-paths/register --use_strict --exit \"tests/**/*.it.+(ts|js)\"",
"lint": "fixpack && prettier-eslint --write && eslint --fix \"**/*.{js,ts}\"",
"lint:ci": "eslint \"**/*.{js,ts}\"",
"major": "npm run update:packageVersion && npm version --git-tag-version false major && npm publish && npm run tag",
"minor": "npm run update:packageVersion && npm version --git-tag-version false minor && npm publish && npm run tag",
"patch": "npm run update:packageVersion && npm version --git-tag-version false patch && npm publish && npm run tag",
"postpublish": "git push",
"prepare": "fixpack && husky install",
"prepublishOnly": "npm run build",
"tag": "git stash && git tag v\"$(npm view simple-cached-firestore version)\" && git push origin --tags",
"test": "npm run docker:up && npm run test:all && npm run lint",
"test:all": "c8 mocha --recursive --use_strict --exit \"tests/**/*.+(unit|it).+(ts|js)\"",
"test:ci": "c8 mocha --recursive -r source-map-support/register -r ts-node/register -r tsconfig-paths/register --use_strict --exit \"tests/**/*.+(unit|it).+(ts|js)\"",
"unit": "c8 mocha --recursive --use_strict --exit \"tests/**/*.unit.+(ts|js)\"",
"update:packageVersion": "cat package.json | jq \".version = \\\"$(npm view simple-cached-firestore version)\\\"\" > package.json"
},
"type": "module",
"types": "dist/src/index.d.ts"
}