-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.1 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.1 KB
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
{
"name": "@anonacy/api",
"type": "module",
"version": "2.1.5",
"packageManager": "npm@10.2.4",
"description": "",
"author": "hewham",
"license": "AGPL",
"keywords": [],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/app.d.ts",
"import": "./dist/app.mjs",
"require": "./dist/app.cjs"
}
},
"main": "./dist/app.mjs",
"module": "./dist/app.mjs",
"types": "./dist/app.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/app.d.ts"
]
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20",
"npm": ">=8"
},
"scripts": {
"start": "npx cowsay -f elephant2 Starting Puppet! && npx nodemon --watch 'src/**/*.ts' --exec 'npx tsx' src/app.ts",
"build": "npx unbuild",
"test": "npx mocha --import=tsx test/*.test.ts",
"tag": "git tag $npm_package_version && git push origin $npm_package_version",
"deploy": "git push heroku master",
"logs": "heroku logs --dyno=web --tail",
"version": "echo $npm_package_name v$npm_package_version",
"typecheck": "tsc --noEmit",
"heroku-postbuild": "npm run build && mkdir ./.cache && mv /app/.cache/puppeteer ./.cache",
"postinstall": "npx puppeteer browsers install chrome",
"docker": "docker buildx build --push --platform linux/amd64,linux/arm64 -t anonacy/api:latest .",
"docker:b": "docker buildx build --platform linux/amd64,linux/arm64 -t anonacy/api:latest ."
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.19",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"chai": "^4.4.1",
"chai-http": "^4.4.0",
"cowsay": "^1.6.0",
"mocha": "^10.4.0",
"nodemon": "^3.1.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},
"dependencies": {
"chalk": "^5.3.0",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"mariadb": "^3.3.0",
"puppeteer": "22.3.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0"
}
}