-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 2.42 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
{
"name": "tourist",
"version": "0.1.6",
"description": "Tourist is an API for artificially visiting vulnerable web applications in CTF challenges",
"main": "src/index.ts",
"repository": "https://github.com/CTFd/tourist",
"author": "Miłosz Skaza <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"cmd:get-issuer-token": "ts-node ./src/cli.ts get-issuer-token",
"cmd:get-visit-token": "ts-node ./src/cli.ts get-visit-token",
"build": "rm -rf ./out && tsc -p tsconfig.production.json",
"start:docker": "node ./src/index.js | pino-pretty",
"start:serve": "node ./out/index.js | pino-pretty",
"start:build": "yarn build && yarn start:serve",
"start:dev": "nodemon ./src/index.ts | pino-pretty",
"start:test-app": "nodemon ./tests/utils/_server.ts",
"format:code": "prettier '{src,tests}/**/*.ts' --write",
"lint:code": "prettier --check '{src,tests}/**/*.ts'",
"format:md": "markdownlint --fix '**/*.md' --ignore node_modules --ignore tests --disable MD001 --disable MD013",
"lint:md": "markdownlint '**/*.md' --ignore node_modules --ignore tests --disable MD001 --disable MD013",
"format": "yarn format:code && yarn format:md",
"lint": "yarn lint:code && yarn lint:md",
"test": "ava",
"test:ci": "ava --serial",
"test:watch": "ava --watch",
"test:cov": "c8 ava --serial"
},
"dependencies": {
"@fastify/cors": "^8.2.1",
"@fastify/swagger": "^8.3.1",
"@fastify/swagger-ui": "^1.8.1",
"@fastify/type-provider-typebox": "^3.1.0",
"@sentry/integrations": "^7.46.0",
"@sentry/node": "^7.51.0",
"@sinclair/typebox": "^0.25.24",
"bull": "^4.10.2",
"dotenv": "^16.0.3",
"fastify": "^4.17.0",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"pino-pretty": "^9.1.1",
"playwright": "^1.33.0",
"vm2": "^3.9.19"
},
"devDependencies": {
"@fastify/formbody": "^7.4.0",
"@types/jsonwebtoken": "^9.0.0",
"@types/lodash": "^4.14.191",
"@types/node": "^18.15.11",
"@types/uuid": "^9.0.0",
"ava": "^5.1.0",
"c8": "^7.13.0",
"markdownlint-cli": "^0.33.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"uuid": "^9.0.0"
},
"prettier": {
"trailingComma": "all",
"printWidth": 88
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--no-warnings"
]
}
}