-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.59 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.59 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
82
83
84
85
86
87
88
{
"name": "mage-validator",
"version": "0.9.1",
"description": "Validation utility for MAGE user commands & topics (TypeScript)",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"postinstall": "node -e \"process.exit(require('is-there')('./lib') ? 0 : 1)\" || npm run build",
"build": "tsc --project ./src",
"prepublish": "run-s test build",
"test:lint": " echo 'Check TypeScript code for style issues' && tslint --type-check -e \"node_modules/**/*.ts\" --format codeFrame --project .",
"test:cpd": " echo 'Check the codebase for copy-pasted code' && jscpd --config .cpd.yaml",
"test:unit": " echo 'Run unit tests' && mocha --compilers ts:ts-node/register -R mocha-reporter ./test/index.ts",
"test:coverage": " echo 'Run unit tests and check coverage level' && nyc --check-coverage --reporter=text --reporter=html npm run test:unit",
"test:git": " echo 'Make sure all commits are signed' && git-signed 7e6d985",
"test": "run-s test:*"
},
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"typings"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"cache": "true",
"instrument": "true",
"report-dir": "./coverage-report"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mage/mage-validator.git"
},
"keywords": [
"mage",
"validator",
"typescript"
],
"author": "Marc Trudel <mtrudel@wizcorp.jp>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mage/mage-validator/issues"
},
"homepage": "https://github.com/mage/mage-validator#readme",
"devDependencies": {
"@types/mocha": "5.2.5",
"@types/node": "10.5.3",
"@types/reflect-metadata": "0.1.0",
"class-transformer": "0.1.9",
"class-validator": "0.9.1",
"git-message": "2.0.2",
"git-signed": "0.1.3",
"jscpd": "0.6.22",
"mage": "github:mage/mage#master",
"mocha": "5.2.0",
"mocha-reporter": "0.1.1",
"npm-run-all": "4.1.3",
"nyc": "12.0.2",
"sinon": "6.1.4",
"ts-node": "6.0.5",
"tslint": "5.11.0",
"typescript": "2.9.2"
},
"dependencies": {
"deep-iterator": "1.1.0",
"function-arguments": "1.0.8",
"is-there": "4.4.3",
"isobject": "3.0.1",
"reflect-metadata": "0.1.12"
},
"contributors": [
{
"name": "stelcheck",
"email": "mtrudel@wizcorp.jp",
"key": "hkp://keys.gnupg.net#9115133EDCD7C42B13C1890DFCF165CCB3B5B506"
}
]
}