generated from AkashBabu/template-lib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
140 lines (140 loc) · 4.63 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "supervised-emitter",
"version": "1.0.0",
"description": "A event emitter library that supports middleware functionality which can be used to supervise the events flow in the system / application.",
"sideEffects": false,
"main": "lib/supervisedEmitter.js",
"unpkg": "dist/supervisedEmitter.js",
"module": "es/supervisedEmitter.js",
"typings": "types/src/supervisedEmitter.d.ts",
"scripts": {
"_test": "cross-env TS_NODE_FILES=true mocha --require ts-node/register test/**/*.spec.ts test/*.spec.ts",
"_test:exit": "npm run _test -- --exit",
"test": "cross-env NODE_ENV=test npm run _test:exit",
"test:dev": "cross-env NODE_ENV=test npm run _test -- -w",
"test:grep": "cross-env NODE_ENV=test npm run _test -- -g ",
"coverage": "nyc npm run test",
"build:rollup": "rollup -c",
"build:tsc": "tsc",
"build": "npm run build:tsc && npm run build:rollup",
"lint:fix": "tslint --fix --config tslint.json src/supervisedEmitter.ts",
"lint": "tslint --config tslint.json src/supervisedEmitter.ts",
"benchmark:clean": "node benchmark/clean.js",
"benchmark:report": "radargun benchmark/**/*.bench.js",
"benchmark:template": "node benchmark/template.js",
"benchmark": "run-s build benchmark:clean benchmark:report benchmark:template",
"status": "git status",
"coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
"load": "cross-env TS_NODE_FILES=true mocha --require ts-node/register load/**/*.ts",
"tsdoc": "typedoc --plugin typedoc-plugin-markdown --theme markdown --hideSources src/supervisedEmitter.ts typings/",
"clean": "rimraf types build coverage .nyc_output",
"gitbook:pre": "gitbook install",
"gitbook:serve": "npm run gitbook:pre && gitbook serve",
"gitbook:gen-api-summary": "book sm -r gitbook/apidocs -o gitbook/API_SUMMARY.md",
"gitbook:cp-api-summary-to-summary": "node scripts/copyAPISummaryToSummary.js",
"gitbook:api-summary": "run-s gitbook:gen-api-summary gitbook:cp-api-summary-to-summary",
"gitbook:build": "run-s gitbook:api-summary gitbook:pre && gitbook build && rimraf docs && cp -R _book ./docs/",
"update-docs": "run-s benchmark tsdoc gitbook:build",
"pack": "npm run build && npm pack",
"commit": "git-cz"
},
"engines": {
"node": ">=8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AkashBabu/supervised-emitter.git"
},
"keywords": [
"event",
"emitter",
"scalable",
"middleware",
"glob",
"pattern",
"state"
],
"author": "001akashbabu@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/AkashBabu/supervised-emitter/issues"
},
"homepage": "https://github.com/AkashBabu/supervised-emitter#readme",
"husky": {
"hooks": {
"pre-commit": "run-s clean lint:fix test build:tsc benchmark tsdoc update-docs status",
"pre-push": "run-s coverage load build:rollup status"
}
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
],
"include": [
"src/**/*"
]
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.1",
"@babel/preset-typescript": "^7.7.2",
"@babel/runtime": "^7.7.7",
"@rollup/plugin-replace": "^2.2.1",
"@types/chai": "^4.2.3",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.12",
"chai": "^4.1.2",
"cli-progress": "^3.3.1",
"commitizen": "^4.0.3",
"coveralls": "^3.0.6",
"cross-env": "^6.0.0",
"cz-conventional-changelog": "^3.0.2",
"delay": "^4.3.0",
"ejs": "^3.0.1",
"gitbook-cli": "^2.3.2",
"gitbook-plugin-ga": "^1.0.1",
"gitbook-summary": "^1.2.2",
"glob-fs": "^0.1.7",
"husky": "^3.1.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^12.0.2",
"radargun": "^1.0.1",
"rimraf": "^2.6.2",
"rollup": "^1.26.5",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.2",
"source-map-support": "^0.5.13",
"ts-node": "^8.0.2",
"tslint": "^5.20.0",
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.2.11",
"typescript": "^3.6.4"
},
"dependencies": {
"@akashbabu/lfu-cache": "^1.0.1",
"@akashbabu/node-dll": "^2.0.2"
},
"npmName": "supervised-emitter",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}