-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.51 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
{
"name": "@qiwi/event-transmitter",
"version": "1.16.1",
"description": "Async adapter to save & deliver reasonable events to some endpoint",
"private": false,
"main": "./target/es5/index.js",
"exports": {
"require": "./target/es5/index.js",
"import": "./target/es6/index.js",
"module": "./target/es6/index.js"
},
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"scripts": {
"clean": "rimraf target typings flow-typed buildcache docs coverage buildstamp.json",
"lint": "eslint src/**/*.{ts,js}",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "yarn test:unit && yarn test:target && yarn lint",
"test:deps": "npm-run-all -p -l test:depcheck",
"test:depcheck": "npx depcheck --ignores='tslib,tsc-esm-fix,tsm,@types/node,typedoc,@qiwi/esm,globby-cp,rimraf,mkdirp'",
"test:depaudit": "yarn audit --groups dependencies --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npx yarn-audit-fix --audit-level=moderate",
"test:unit": "c8 -r html -r text -r lcov -x target uvu -r tsm 'src/test/ts'",
"test:target": "uvu -r @qiwi/esm 'src/test/js'",
"prebuild": "yarn clean && npx buildstamp --git --out.path buildstamp.json",
"build": "npm-run-all -p -l build:es5 build:es6 build:ts build:libdef build:bundle docs",
"build:es5": "mkdirp target/es5 && tsc -p tsconfig.es5.json && yarn",
"build:es6": "mkdirp target/es6 && tsc -p tsconfig.es6.json && yarn",
"build:ts": "globby-cp ./src/main/ts/ ./target/ts/",
"build:bundle": "microbundle --tsconfig tsconfig.es5.json build src/main/ts/index.ts -o target/bundle",
"build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
"docs": "typedoc ./src/main/ts",
"coveralls:push": "cat ./coverage/lcov.info | coveralls || exit 0",
"push:report": "yarn coveralls:push",
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
"postupdate": "yarn && yarn test:deps && yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qiwi/event-transmitter"
},
"keywords": [
"pipe",
"event"
],
"author": "Qiwibot <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/qiwi/event-transmitter/issues"
},
"homepage": "https://github.com/qiwi/event-transmitter#readme",
"dependencies": {
"@qiwi/substrate": "^2.0.2",
"fast-luhn": "^2.0.1",
"lodash.once": "^4.1.1",
"lodash.set": "^4.3.2",
"nanoid": "3.3.4",
"safe-json-stringify": "^1.2.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@qiwi/esm": "^1.1.8",
"@qiwi/libdefkit": "^5.0.0",
"@qiwi/npm-run-all": "^4.1.7",
"@types/lodash.once": "^4.1.7",
"@types/lodash.set": "^4.3.7",
"@types/node": "^18.13.0",
"@types/safe-json-stringify": "^1.1.2",
"c8": "^7.13.0",
"coveralls": "^3.1.1",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-qiwi": "^1.17.5",
"globby-cp": "^1.1.3",
"microbundle": "^0.15.1",
"mkdirp": "^2.1.3",
"prettier": "^2.8.4",
"prettier-config-qiwi": "^1.7.2",
"rimraf": "^4.1.2",
"terser": "^5.16.3",
"tsc-esm-fix": "^2.20.12",
"tsm": "^2.3.0",
"typedoc": "^0.23.25",
"typescript": "4.9.5",
"uvu": "^0.5.6"
},
"prettier": "prettier-config-qiwi"
}