-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
73 lines (73 loc) · 2.69 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
{
"name": "localhost-tunnel",
"version": "1.0.0",
"description": "A simple web browser based app to make local http server live on the internet",
"keywords": [
"localhost",
"tunnel",
"easy",
"online",
"proxy"
],
"author": {
"name": "sheikhMishar00",
"email": "[email protected]"
},
"homepage": "https://github.com/sheikhmishar/localhost-tunnel",
"bugs": {
"url": "https://github.com/sheikhmishar/localhost-tunnel/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sheikhmishar/localhost-tunnel.git"
},
"license": "MIT",
"main": "server.js",
"scripts": {
"build": "npm run build --prefix views",
"build:dev": "npm run build:dev --prefix views",
"postinstall": "npm i --prefix views && npm run build",
"production":"bash -c \"export NODE_ENV=production TRACKER_PORT=5100 TRACKER_IP=127.0.0.1;node server\"",
"production:tracker":"bash -c \"export NODE_ENV=production;node tracker\"",
"test": "npm run test:server && npm run test:client",
"test:client": "node -e \"require('./views/node_modules/opn')('http://localhost:5000/test')\" && npm run test:build --prefix views",
"test:server": "mocha \"./{,!(views|node_modules)/**}/*.test.js\"",
"test:server:alt": "mocha \"./@(controllers|models|helpers)/**/*.test.js\"",
"tracker": "node tracker",
"watch": "concurrently --handle-input -r npm:watch:server npm:watch:client",
"watch:client": "npm run watch --prefix views",
"watch:server": "nodemon -i views -e js,json -x \"node -r dotenv/config server\"",
"watch:inspect": "nodemon -e js,json -x \"node --inspect-brk server.js\"",
"watch:test": "concurrently --handle-input -r npm:watch:test:client npm:watch:test:client\"",
"watch:test:client": "node -e \"require('./views/node_modules/opn')('http://localhost:5000/test')\" && npm run test:watch --prefix views",
"watch:test:server": "nodemon -i views -e js,json -x \"npm run test:server\"",
"watch:tracker": "nodemon -i views -e js,json -x \"node -r dotenv/config tracker\""
},
"engines": {
"node": "v12.16.1",
"npm": "6.13.4"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"http-proxy-middleware": "^1.0.6",
"multer": "^1.4.2",
"socket.io": "^2.3.0",
"uuid": "^8.2.0"
},
"optionalDependencies": {
"@types/cors": "^2.8.7",
"@types/express": "^4.17.8",
"@types/http-proxy-middleware": "^0.19.3",
"@types/mocha": "^8.0.3",
"@types/morgan": "^1.9.1",
"@types/multer": "^1.4.4",
"@types/socket.io": "^2.1.11",
"@types/socket.io-client": "^1.4.33"
},
"devDependencies": {
"dotenv": "^8.2.0",
"mocha": "^8.1.3",
"morgan": "^1.10.0"
}
}