-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
94 lines (94 loc) · 3.33 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
{
"name": "firebase-functions-rate-limiter",
"version": "0.0.0-development",
"description": "JS/TS library that allows you to set per - time, per - user or per - anything limits for calling Firebase cloud functions",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=16"
},
"files": [
"/dist",
"package-lock.js"
],
"scripts": {
"build:cleanbefore": "rm -rf dist",
"build:lint": "tslint -c tslint.json -p tsconfig.lint.json",
"build:node": "tsc",
"build": "npm run build:cleanbefore && npm run build:node && npm run build:lint",
"prepare": "NODE_ENV=production npm run build",
"test": "find src -name '*.spec.test.ts' | TS_NODE_FILES=true TS_NODE_CACHE=false TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' xargs mocha -r ts-node/register --require source-map-support/register",
"do_verify": "find src -name '*.integration.test.ts' | TS_NODE_FILES=true TS_NODE_CACHE=false TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' xargs mocha -r ts-node/register --require source-map-support/register",
"verify": "bash scripts/run-integration-tests-with-firebase-emulator.sh",
"lint-fix": "tslint --fix -c tslint.json -p tsconfig.lint.json",
"checkall": "npm run lint && npm run build && npm run test && npm run verify",
"testall": "npm run test && npm run verify",
"testall-with-coverage": "nyc npm run testall",
"testall-with-coverage-lcov": "nyc --reporter=lcov npm run testall",
"upload-coverage": "codecov",
"semantic-release": "semantic-release"
},
"dependencies": {
"firebase-admin": "^10.3.0",
"firebase-functions": "^3.21.2",
"ow": "^0.28.1"
},
"devDependencies": {
"@firebase/testing": "^0.20.11",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/lodash": "^4.14.182",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.42",
"@types/sinon": "^10.0.11",
"@types/uuid": "^8.3.4",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"codecov": "^3.8.3",
"istanbul": "^0.4.5",
"lodash": "^4.17.21",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"semantic-release": "^17.4.7",
"sinon": "^14.0.0",
"ts-node": "^10.8.1",
"tslint": "^6.1.3",
"typescript": "^4.7.3",
"uuid": "^8.3.2"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"**/*.test.ts",
"**/_test"
],
"include": [
"src/**/*.ts"
],
"reporter": [
"html"
],
"all": true
},
"release": {},
"repository": {
"type": "git",
"url": "https://github.com/Jblew/firebase-functions-rate-limiter"
},
"keywords": [
"firebase",
"firebase-functions",
"rate-limiter"
],
"author": "Jędrzej Lewandowski <[email protected]> (https://jedrzej.lewandowski.doctor/)",
"contributors": [
"Jędrzej Lewandowski <[email protected]> (https://jedrzej.lewandowski.doctor/)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Jblew/firebase-functions-rate-limiter/issues"
}
}