-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
81 lines (81 loc) · 2.06 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
{
"name": "typescript-mocha-nyc-template",
"version": "1.0.0",
"license": "ISC",
"description": "Template for creating node.js projects running with TypeScript + Mocha (testing framework) + Nyc (coverage tests) + ES-Lint",
"repository": {
"type": "git",
"url": "git+https://github.com/davidrissato/typescript-mocha-nyc-template.git"
},
"author": "David Rissato Cruz <[email protected]>",
"homepage": "https://github.com/davidrissato/typescript-mocha-nyc-template#README.md",
"main": "index.js",
"scripts": {
"start": "node index.js",
"lint": "eslint ./src/main/ts",
"build": "rm -rf lib && tsc",
"test": "npm run lint && cross-env NODE_ENV=test nyc mocha --bail --recursive --compilers ts:ts-node/register,tsx:ts-node/register src/test/ts/",
"install": "npm run build",
"watch-test": "nodemon --exec \"npm test\" --watch src --watch package.json"
},
"dependencies": {
"@types/chai-as-promised": "0.0.31"
},
"engines": {
"node": ">=4.4.3"
},
"devDependencies": {
"@types/chai": "^4.0.0",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.43",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cross-env": "^5.0.5",
"eslint": "^4.8.0",
"mocha": "^4.0.0",
"nodemon": "^1.12.1",
"nyc": "^11.2.1",
"ts-node": "^3.3.0",
"tsc": "^1.20150623.0",
"typemoq": "^2.0.1",
"typescript": "^2.5.3",
"typescript-eslint-parser": "^8.0.0"
},
"nyc": {
"require": [
"ts-node/register"
],
"reporter": [
"lcov",
"text"
],
"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"
],
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"es6": true
}
}
}