-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
102 lines (102 loc) · 3.51 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
{
"name": "profiler-server",
"version": "1.0.0",
"description": "This is the server-side part of the Firefox Profiler.",
"main": "index.js",
"repository": "https://github.com/firefox-devtools/profiler-server",
"author": "Mozilla",
"license": "MPL-2.0",
"private": true,
"scripts": {
"license-check": "devtools-license-check",
"lint": "run-p lint-js lint-python prettier-run",
"lint-fix": "run-p lint-fix-js prettier-fix",
"lint-js": "eslint src bin test",
"lint-fix-js": "yarn lint-js --fix",
"lint-python": "flake8 tools loadtest",
"prettier-run": "prettier --check .",
"prettier-fix": "prettier --write .",
"preinstall": "node bin/pre-install.js",
"build:clean": "rimraf dist && mkdirp dist",
"build": "babel --extensions \".ts\" src --out-dir dist",
"generate-version-file": "node bin/generate-version-file.js",
"docker:build": "docker build -t $npm_package_name:dev .",
"docker:run": "node bin/docker-run --name $npm_package_name $npm_package_name:dev",
"docker:run:detached": "yarn docker:run --detach",
"docker:stop": "docker container stop $npm_package_name",
"serve": "node dist/index.js",
"start": "nodemon --exec babel-node --extensions \".ts\" -w .env -w src src/index.ts",
"start:prod": "run-s build:clean build serve",
"test": "jest",
"test-python": "./tools/test_decode_jwt_payload.py",
"test-lockfile": "lockfile-lint --path yarn.lock --allowed-hosts yarn --validate-https",
"test-all": "run-p ts lint test test-python test-lockfile license-check",
"ts": "tsc",
"ts-generate-types": "npx --yes dts-gen -m"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/eslint-plugin": "^7.25.9",
"@babel/node": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@types/content-type": "^1.1.8",
"@types/convict": "^6.1.6",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/koa__cors": "^4.0.3",
"@types/koa__router": "^12.0.4",
"@types/node": "^22.7.5",
"@types/node-fetch": "^2.6.2",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.9.0",
"babel-jest": "^29.7.0",
"devtools-license-check": "^0.9.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"lockfile-lint": "^4.14.0",
"mkdirp": "^3.0.1",
"nock": "^13.5.5",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"supertest": "^7.0.0",
"typescript": "^5.6.3"
},
"husky": {
"hooks": {
"post-checkout": "node bin/post-checkout.js",
"post-merge": "node bin/post-merge.js",
"post-rewrite": "node bin/post-rewrite.js",
"pre-push": "yarn test-all"
}
},
"dependencies": {
"@google-cloud/storage": "^7.13.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^13.1.0",
"content-type": "^1.0.5",
"convict": "^6.2.4",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"koa": "^2.15.3",
"koa-helmet": "^7.0.2",
"koa-json-body": "^5.3.0",
"koa-jwt": "^4.0.4",
"koa-logger": "^3.2.1",
"mozlog": "^3.0.2",
"node-fetch": "^2.7.0"
},
"optionalDependencies": {
"fast-crc32c": "^2.0.0"
}
}