-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 loc) · 1.83 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
{
"name": "template-npm",
"version": "1.0.0",
"description": "npm package template.",
"main": "dist/prod/index.js",
"typings": "dist/prod/index.d.ts",
"author": "Harurow (https://github.com/Harurow)",
"repository": "Harurow/template-npm",
"license": "CC0-1.0",
"keywords": [
"template",
"typescript",
"mocha",
"chai",
"istanbul",
"travis-ci",
"appveyor",
"codecov",
"coverage"
],
"scripts": {
"_mocha_": "mocha",
"_istanbul_": "istanbul cover -x **/*.test.js _mocha",
"_remap_": "remap-istanbul -i ./dist/coverage/coverage.json -o ./dist/coverage/coverage.json",
"_remap-html_": "remap-istanbul -i ./dist/coverage/coverage.json -o ./dist/html-report -t html",
"_open-html_": "open ./dist/html-report/index.html",
"_publish:prod_": "npm publish ./",
"_publish:beta_": "npm publish ./ --tag beta",
"clean": "rimraf dist",
"watch": "mocha-typescript-watch",
"lint": "tslint -p ./",
"build:dev": "tsc",
"build:prod": "tsc -p tsconfig.prod.json",
"rewatch": "npm-run-all clean watch",
"rebuild:dev": "npm-run-all clean build:dev",
"rebuild:prod": "npm-run-all clean build:prod",
"test": "npm-run-all clean build:dev _mocha_",
"cov": "npm-run-all clean build:dev _istanbul_ _remap_",
"report": "npm-run-all build:dev _istanbul_ _remap-html_ _open-html_",
"publish:prod": "npm-run-all rebuild:prod _publish:prod_",
"publish:beta": "npm-run-all rebuild:prod _publish:beta_"
},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/mocha": "^2.2.41",
"chai": "^4.0.2",
"istanbul": "^0.4.5",
"mocha": "^3.4.2",
"mocha-typescript": "^1.1.7",
"npm-run-all": "^4.0.2",
"remap-istanbul": "^0.9.5",
"rimraf": "^2.6.1",
"source-map-support": "^0.4.15",
"tslint": "^5.4.3",
"typescript": "^2.4.1"
}
}