-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.86 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 1.86 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
74
75
76
77
78
79
80
81
{
"name": "typescript-template",
"version": "1.0.0",
"license": "MIT",
"description": "Typescript project template with test and coverage support",
"repository": "github:jorgemsrs/typescript-template",
"author": "Jorge Silva <jorgemsrs@gmail.com>",
"main": "lib/index.js",
"scripts": {
"start": "node .",
"lint": "eslint ./src/main/ts",
"build": "rm -rf lib && tsc",
"test": "NODE_ENV=test nyc mocha --bail --recursive --compilers ts:ts-node/register,tsx:ts-node/register src/test/ts/",
"watch-test": "nodemon --exec \"npm test\" --watch src --watch package.json",
"clean": "rm -fr .nyc_output; rm -fr coverage"
},
"engines": {
"node": ">=6"
},
"devDependencies": {
"@types/chai": "^4.1.3",
"@types/mocha": "^5.2.0",
"@types/node": "^7.0.43",
"chai": "^4.1.2",
"eslint": "^4.19.1",
"eslint-plugin-prettier": "^2.6.0",
"mocha": "^5.1.1",
"nodemon": "^1.17.4",
"nyc": "^11.7.3",
"prettier": "^1.12.1",
"ts-node": "^6.0.3",
"typemoq": "^2.1.0",
"typescript": "^2.7.2",
"typescript-eslint-parser": "^15.0.0"
},
"nyc": {
"require": [
"ts-node/register"
],
"reporter": [
"lcov",
"text",
"html"
],
"sourceMap": true,
"instrument": true,
"extension": [
".ts"
],
"include": [
"src/main/ts/*.ts",
"src/main/ts/**/*.ts"
],
"exclude": [
"src/main/ts/**/interfaces/**/*.ts",
"src/main/ts/index.ts",
"typings"
],
"all": true
},
"eslintConfig": {
"extends": [
"eslint:recommended"
],
"rules": {
"prettier/prettier": "error"
},
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true
}
},
"prettier": {
"parser": "typescript"
}
}