-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.22 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
{
"name": "@qiwi/libdefkit",
"version": "6.1.4",
"description": "Util toolset to produce single-file TS and Flow libdefs",
"source": "src/main/ts/index.ts",
"bin": {
"libdefkit": "./target/es6/cli.js"
},
"main": "./target/es6/index.js",
"type": "module",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"scripts": {
"lint": "eslint src/**/*.ts",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "npm-run-all -p -l lint test:unit test:depcheck test:depaudit",
"test:unit": "mkdir -p src/test/temp && NODE_OPTIONS='--experimental-vm-modules' jest --config=jest.config.json --runInBand",
"test:deps": "npm-run-all -p -l test:depcheck test:depauditfix",
"test:depcheck": "npm_config_yes=true npx -p depcheck -p @babel/[email protected] depcheck --ignores typedoc,tslib,flowgen,@qiwi/dts-bundle,eslint-config-*,@types/jest",
"test:depaudit": "yarn audit --level=moderate --groups=dependencies; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npm_config_yes=true npx yarn-audit-fix --audit-level=moderate",
"clean": "rm -rf target typings flow-typed",
"build": "npm-run-all -p -l build:es5 build:es6 build:ts docs build:fix && yarn build:libdef",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "mkdir -p target/ts && cp -r src/main/ts/. target/ts/.",
"build:fix": "npm_config_yes=true npx tsc-esm-fix --target=target/es6 --target=target/es5 --dirnameVar=false",
"build:libdef": "node ./target/es6/cli.js --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
"docs": "typedoc && touch ./docs/.nojekyll",
"postupdate": "yarn && yarn test:depauditfix && yarn build && yarn test",
"publish:beta": "npm publish --no-git-tag-version --tag beta"
},
"engines": {
"node": ">=14.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qiwi/libdefkit.git"
},
"keywords": [
"libedefkit"
],
"bugs": {
"url": "https://github.com/qiwi/libdefkit/issues"
},
"homepage": "https://github.com/qiwi/libdefkit#readme",
"dependencies": {
"@topoconfig/extends": "^0.7.5",
"chalk": "^5.3.0",
"find-up": "^6.3.0",
"flowgen": "1.21.0",
"fs-extra": "^11.2.0",
"globby": "^13.1.3",
"meow": "^11.0.0",
"pkg-dir": "^7.0.0",
"tempy": "^3.1.0",
"tsc-dts-fix": "^0.0.22",
"tslib": "^2.6.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@qiwi/npm-run-all": "^4.1.7",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/yargs-parser": "^21.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-qiwi": "^2.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prettier-config-qiwi": "^2.1.2",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.7",
"typescript": "^5.3.3",
"yargs-parser": "^21.1.1"
},
"prettier": "prettier-config-qiwi",
"author": "QIWI <[email protected]>",
"contributors": [
"Anton Golub <[email protected]>"
],
"license": "MIT"
}