-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
120 lines (120 loc) · 4.42 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "megadata",
"version": "1.2.0",
"description": "Smart messaging for games",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"--------------------- CI ----------------------": "",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"--------------------- HOOKS ----------------------": "",
"postinstall": "node -e \"process.exit(require('is-there')('./lib') ? 0 : 1)\" || npm run build",
"prepublish": "run-s test build",
"commitmsg": "commitlint -e $GIT_PARAMS",
"--------------------- BUILD TASKS ----------------------": "",
"build": "tsc --project ./src",
"--------------------- BENCHMARKS ----------------------": "",
"benchmark:node": " electron ./benchmarks/node",
"benchmark:browser": " electron ./benchmarks/browser",
"benchmark:node:binary": " electron ./benchmarks/node Binary",
"benchmark:browser:binary": "electron ./benchmarks/browser Binary",
"benchmark:node:json": " electron ./benchmarks/node Json",
"benchmark:browser:json": " electron ./benchmarks/browser Json",
"--------------------- EXAMPLE -------------------------": "",
"example:server": "cd example/server; ts-node .",
"example:client": "cd example/client; webpack-dev-server",
"--------------------- TESTS ----------------------": "",
"lint": " echo 'Check TypeScript code for style issues' && ts-node -r ./src/register.ts -r tsconfig-paths/register node_modules/tslint/bin/tslint --type-check -e \"node_modules/**/*.ts\" --format codeFrame --project",
"test:lint": "run-s test:lint:*",
"test:lint:src": "npm run lint src",
"test:lint:test": "npm run lint test",
"test:lint:benchmarks": "npm run lint benchmarks",
"test:lint:example-shared": "npm run lint example/shared",
"test:lint:example-client": "npm run lint example/client",
"test:lint:example-server": "npm run lint example/server",
"test:cpd": " echo 'Check the codebase for copy-pasted code' && jscpd --config .cpd.yaml",
"test:unit": " echo 'Run unit tests' && mocha -r ts-node/register -r tsconfig-paths/register -r ./src/register.ts -R mocha-reporter ./test/index.ts",
"test:coverage": " echo 'Run unit tests and check coverage level' && nyc --check-coverage --reporter=lcovonly --reporter=text --reporter=html npm run test:unit",
"test": "run-s test:*",
"-------------------- REPORTING --------------------------": "",
"report:coverage": "npm run test:coverage && cat ./coverage-report/lcov.info | coveralls",
"-------------------- SCRIPTS --------------------------": "",
"commit": "commit"
},
"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/Wizcorp/megadata.git"
},
"keywords": [
"game"
],
"author": "Marc Trudel <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Wizcorp/megadata/issues"
},
"homepage": "https://github.com/Wizcorp/megadata#readme",
"devDependencies": {
"@commitlint/cli": "^7.2.0",
"@commitlint/config-angular": "^7.1.2",
"@commitlint/prompt-cli": "^7.2.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.6",
"@types/uws": "^0.13.2",
"babel-loader": "^8.0.4",
"copy-webpack-plugin": "^4.5.3",
"coveralls": "^3.0.2",
"electron": "^3.0.3",
"git-message": "^2.0.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.1.1",
"jscpd": "^0.6.24",
"mocha": "^5.2.0",
"mocha-reporter": "^0.1.1",
"npm-run-all": "^4.1.3",
"nyc": "^13.0.1",
"semantic-release": "^15.9.17",
"travis-deploy-once": "^5.0.9",
"ts-loader": "^5.2.1",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.6.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"tslint": "^5.11.0",
"typescript": "^3.1.2",
"uws": "^99.0.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.9"
},
"dependencies": {
"@types/webpack-env": "^1.13.6",
"eventemitter2": "^5.0.1",
"is-there": "^4.4.3"
}
}