This repository has been archived by the owner on Mar 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.41 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "typescript-template",
"version": "1.0.0",
"description": "",
"homepage": "https://github.com/shgro/typescript-template#readme",
"bugs": {
"url": "https://github.com/shgro/typescript-template/issues"
},
"license": "ISC",
"author": "shgro",
"main": "./build/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/shgro/typescript-template.git"
},
"scripts": {
"browser": "browser-sync start --proxy 'localhost:8080' --files *",
"build": "tsc -p tsconfig.json",
"precommit": "lint-staged",
"lint": "tslint --project ./tsconfig.lint.json --fix",
"prepush": "npm run test",
"start": "node ./build/app.js",
"test": "jest --forceExit",
"watch": "npm run build -- --watch & npm run start & npm run browser"
},
"prettier": {
"overrides": [
{
"files": "*.json",
"options": {
"parser": "json"
}
},
{
"files": "*.md",
"options": {
"parser": "markdown"
}
}
]
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx,jsx}",
"!src/**/*.d.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"testEnvironment": "node",
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"transform": {
"^.+\\.ts?$": "ts-jest"
}
},
"dependencies": {
"express": "^4.16.3",
"node-sass-middleware": "^0.11.0",
"pug": "^2.0.3"
},
"devDependencies": {
"@types/express": "^4.11.1",
"@types/jest": "^22.2.2",
"@types/node": "^9.6.0",
"@types/node-sass-middleware": "^0.0.30",
"@types/power-assert": "^1.4.29",
"@types/supertest": "^2.0.4",
"browser-sync": "^2.23.6",
"husky": "^0.14.3",
"jest": "^22.4.3",
"lint-staged": "^7.0.0",
"power-assert": "^1.4.4",
"prettier": "^1.11.1",
"sort-package-json": "^1.11.0",
"supertest": "^3.0.0",
"ts-jest": "^22.4.2",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-eslint-rules": "^5.1.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.7.2"
},
"lint-staged": {
"*.ts": [
"jest --bail --findRelatedTests --forceExit",
"npm run lint",
"git add"
],
"*.{json, md}": [
"prettier",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
}
}