-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.01 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.01 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
89
90
91
92
{
"name": "@qiwi/stdstream-snapshot",
"alias": "stdstream-snapshot",
"version": "1.2.9",
"description": "Util for CLI testing: fetch stdout, stderr streams and match data to snapshot",
"module": "./target/bundle/stdstream-snapshot.mjs",
"main": "./target/bundle/stdstream-snapshot.js",
"exports": {
".": {
"import": "./target/bundle/stdstream-snapshot.mjs",
"module": "./target/bundle/stdstream-snapshot.mjs",
"require": "./target/bundle/stdstream-snapshot.js",
"types": "./typings/index.d.ts"
}
},
"unpkg": "target/bundle/stdstream-snapshot.umd.js",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"private": false,
"publishConfig": {
"access": "public"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"scripts": {
"jest": "jest -w 1 --config=jest.config.json",
"lint": "eslint 'src/**/*.+(js|ts)'",
"lint:fix": "yarn lint --fix",
"test": "yarn lint && yarn jest",
"clean": "rimraf target typings",
"build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:bundle && yarn build:libdef && yarn docs && yarn uglify",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cp -r src/main/ts/ target/ts/",
"build:bundle": "microbundle build src/main/ts/index.ts -o target/bundle --target node",
"build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
"docs": "typedoc --readme README.md --tsconfig tsconfig.json src/main --ignoreCompilerErrors || exit 0",
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
"postupdate": "yarn && npx yarn-audit-fix && yarn build && yarn test"
},
"dependencies": {
"@qiwi/substrate": "^1.20.15",
"lodash": "^4.17.21",
"tslib": "^2.4.0"
},
"devDependencies": {
"@qiwi/libdefkit": "^5.0.0",
"@types/bluebird": "^3.5.37",
"@types/jest": "^29.1.2",
"@types/node": "^18.8.5",
"@types/jest-json-schema": "^6.1.1",
"@types/lodash": "^4.14.186",
"bluebird": "^3.7.2",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-qiwi": "^1.17.7",
"jest": "^29.1.2",
"microbundle": "^0.15.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"stdout-stderr": "^0.1.13",
"terser": "^5.15.1",
"ts-jest": "^29.0.3",
"typedoc": "^0.23.16",
"typedoc-plugin-external-module-name": "^4.0.6",
"typescript": "^4.8.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qiwi/stdstream-snapshot.git"
},
"keywords": [
"snapshot",
"stdout",
"stderr",
"stdstream",
"output"
],
"author": "Anton Golub <mailbox@antongolub.ru>",
"license": "MIT",
"bugs": {
"url": "https://github.com/qiwi/stdstream-snapshot/issues"
},
"homepage": "https://github.com/qiwi/stdstream-snapshot#readme"
}