-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.82 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
{
"name": "typescript-express-smb-starter",
"author": "Daniele Rubetti",
"description": "An example project with TypeScript, Babel and Express for connecting to an SMB shared directory",
"version": "0.0.3",
"license": "MIT",
"repository": "github:drubetti/TypeScript-Express-SMB-Starter",
"scripts": {
"build": "npm run build:types && npm run build:js",
"build:js": "babel src --out-dir dist --extensions \".ts\"",
"build:types": "tsc --emitDeclarationOnly",
"docker-bash": "docker run --rm -it -p 3000:3000 -v $(pwd):/app smb-starter-dev",
"docker-build": "docker build -t smb-starter .",
"docker-build-dev": "docker build -t smb-starter-dev -f dev.Dockerfile .",
"docker-build-privileged": "docker build -t smb-starter-privileged -f privileged.Dockerfile .",
"docker-start": "docker-compose -f docker-compose.yml up -d",
"docker-start-dev": "docker run --rm -it -p 3000:3000 -v $(pwd):/app smb-starter-dev npx babel-node -x \".ts\" src",
"docker-start-privileged": "docker-compose -f docker-compose-privileged.yml up -d",
"docker-start-privileged-dev": "docker run --privileged --rm -it -p 3000:3000 -v $(pwd):/app smb-starter-dev",
"docker-watch": "docker run --rm -it -p 3000:3000 -v $(pwd):/app smb-starter-dev pm2-dev pm2-dev.config.js",
"jest": "jest --runInBand --silent --bail --verbose --expand --passWithNoTests src",
"prepare": "husky install",
"start": "babel-node -x \".ts\" src",
"test": "npm run type-check && npm run jest",
"type-check": "tsc --noEmit",
"type-check-watch": "npm run type-check -- --watch"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/node": "^7.16.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/hapi__joi": "^17.1.8",
"@types/jest": "^27.4.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.11.26",
"@types/supertest": "^2.0.12",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.5.1",
"babel-plugin-source-map-support": "^2.1.3",
"husky": "^7.0.4",
"jest": "^27.5.1",
"prettier": "2.6.2",
"pretty-quick": "^3.1.3",
"supertest": "^6.2.2",
"typescript": "^4.6.3"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"body-parser": "^1.20.0",
"celebrate": "^15.0.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"helmet": "^5.0.2",
"morgan": "^1.10.0",
"samba-client": "^5.0.2",
"source-map-support": "^0.5.21"
},
"jest": {
"setupFiles": [
"./src/utils/loadenv.ts"
],
"testEnvironment": "node"
}
}