-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
79 lines (79 loc) · 2.32 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
{
"name": "mage-module-shard",
"version": "0.1.4",
"description": "Server-side sharding and broadcasting module for MAGE apps.",
"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 -e \"node_modules/**/*.ts\" --type-check --format codeFrame --project .",
"test:cpd": " echo 'Check the codebase for copy-pasted code' && jscpd --config .cpd.yaml",
"test:unit": " echo 'Run unit tests' && mocha --exit --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": "run-s test:*",
"benchmark:hashing": "ts-node ./scripts/hashing.ts"
},
"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-module-shard.git"
},
"keywords": [
"mage",
"validator",
"typescript"
],
"author": "Marc Trudel <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mage/mage-module-shard/issues"
},
"homepage": "https://github.com/mage/mage-module-shard#readme",
"devDependencies": {
"class-transformer": "0.1.10",
"es6-promisify": "6.0.1",
"git-message": "2.0.2",
"jscpd": "0.6.25",
"mage": "github:mage/mage#master",
"mocha": "5.2.0",
"mocha-reporter": "0.1.1",
"npm-run-all": "4.1.3",
"nyc": "13.1.0",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"typescript": "3.1.5",
"zmq": "2.15.3"
},
"dependencies": {
"@types/mocha": "5.2.5",
"@types/node": "10.12.1",
"is-function-x": "3.3.0",
"is-there": "4.4.3",
"md5": "2.2.1",
"serialize-error": "3.0.0",
"shortid": "2.2.13"
}
}