-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.24 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
{
"name": "boilerplate-typescript",
"version": "1.0.0",
"description": "",
"main": "src/index.ts",
"license": "MIT",
"private": true,
"scripts": {
"start": "npm run build && cross-env APP_ENV=production node dist/index.js",
"dev": "cross-env APP_ENV=dev nodemon --legacy-watch ./src/index.ts --exec ts-node",
"build": "npm run lint:code && rimraf dist && tsc --project ./tsconfig.json",
"code-format": "npm run format && npm run lint:code",
"test": "jest",
"format": "prettier --write \"src/**/*.ts\"",
"lint:code": "eslint --fix --max-warnings 0 --ext .ts ./src",
"docker-run-dev": "docker-compose up --build",
"docker-run": "run-script-os",
"docker-run:win32": "concurrently --prefix \"'>'\" \"npm run docker-stop\" \"docker build . -t boilerplate-typescript && docker run -p 3000:3000 boilerplate-typescript\" --force",
"docker-run:darwin:linux": "sudo sh ./scripts/pull_spinup-dev.sh",
"docker-stop": "run-script-os",
"docker-stop:win32": "FOR /f \"tokens=*\" %i IN ('docker ps -q') DO docker stop %i pause;",
"docker-stop:darwin:linux": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)"
},
"husky": {
"hooks": {
"pre-commit": "npm run build"
}
},
"keywords": [],
"author": "Juan Batty",
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-typescript": "^7.15.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.4",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"babel-jest": "^27.1.0",
"concurrently": "^7.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^5.1.0",
"husky": "^4.3.8",
"jest": "^27.1.0",
"nodemon": "^2.0.12",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"ts-node": "^10.2.1",
"typescript": "^4.3.5"
},
"dependencies": {
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"express": "^4.18.1"
}
}