-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
72 lines (72 loc) · 2.39 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
{
"name": "myproxy",
"version": "1.0.0",
"description": "Application that proxies requests to other servers",
"main": "app.js",
"scripts": {
"test": "jest --coverage",
"test:dev": "jest --coverage --watch",
"start": "tsc -p . --watch & nodemon build/app.js",
"build": "tsc -p .",
"build:live": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/app.ts",
"prettier:base": "./node_modules/.bin/prettier --parser typescript --single-quote --no-semi",
"prettier:check": "npm run prettier:base -- --check \"src/**/*.{ts,tsx}\"",
"prettier:write": "npm run prettier:base -- --write \"src/**/*.{ts,tsx}\"",
"coverage": "nyc npm run test",
"eslint:check": "./node_modules/.bin/eslint src/ --ext .ts",
"eslint:fix": "./node_modules/.bin/eslint src/ --ext .ts --fix",
"lint": "npm run prettier:check && npm run eslint:check",
"autofix": "npm run prettier:write && npm run eslint:fix",
"server": "./scripts/setup.sh; pm2 startOrRestart ./scripts/prod.config.js --env production --update-env",
"server:stop": "pm2 stop myProxy-prod",
"migrate": "node ./dataMigration.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/garageScript/myproxy.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/garageScript/myproxy/issues"
},
"homepage": "https://github.com/garageScript/myproxy#readme",
"dependencies": {
"@types/cookie-parser": "^1.4.1",
"@types/express": "^4.17.0",
"@types/node-fetch": "^2.5.0",
"@types/uuid": "^3.4.5",
"cookie-parser": "^1.4.4",
"dockerode": "^3.2.1",
"dotenv": "^8.1.0",
"ejs": "^2.6.2",
"express": "^4.17.1",
"http-proxy": "^1.18.1",
"husky": "^3.0.3",
"namecheap-api": "^1.0.5",
"node-fetch": "^2.6.1",
"pretty-quick": "^1.11.1",
"uuid": "^3.3.3"
},
"devDependencies": {
"@types/dockerode": "^2.5.34",
"@types/jest": "^24.0.17",
"@types/node": "^12.7.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"jest": "^24.8.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"source-map-support": "^0.5.13",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint && npm run build && npm test"
}
}
}