-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 3.66 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
{
"name": "@qiwi/decorator-utils",
"alias": "@qiwi/decorator-utils",
"version": "4.5.10",
"publishConfig": {
"access": "public"
},
"description": "Universal decorator factories made from scratch",
"main": "./target/cjs/index.cjs",
"module": "./target/esm/index.mjs",
"types": "./target/dts/index.d.ts",
"exports": {
".": {
"types@<5.0": "./target/dts/index.legacy.d.ts",
"types": "./target/dts/index.d.ts",
"require": "./target/cjs/index.cjs",
"import": "./target/esm/index.mjs"
}
},
"typesVersions": {
"<5.0": {
"target/dts/index.d.ts": [
"target/dts/index.legacy.d.ts"
]
}
},
"scripts": {
"clean": "rm -rf target buildcache",
"lint": "eslint src/**/*.{ts,js}",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "concurrently 'npm:test:*'",
"test:ts4": "node ./node_modules/ts4/bin/tsc -p src/test/ts4/tsconfig.json && cd ./src/test/ts4/ && mv index.js index.mjs && node index.mjs || echo 'fixme: works locally on mac' && exit 0",
"test:ts5": "node ./node_modules/ts5/bin/tsc -p src/test/ts5/tsconfig.json && cd ./src/test/ts5/ && mv index.js index.mjs && node --loader babel-register-esm index.mjs",
"test:unit": "jest --config=jest.config.json --runInBand",
"test:depcheck": "npx depcheck --ignores typedoc,babel*,esbuild*,@types/jest,@babel/*,@qiwi/decorator-utils",
"test:depaudit": "yarn audit --groups=dependencies --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"build": "concurrently 'npm:build:*'",
"build:esm": "node ./src/scripts/build.cjs",
"build:cjs": "node ./src/scripts/build.cjs --cjs",
"build:dts": "node node_modules/ts5/bin/tsc -p tsconfig.json --emitDeclarationOnly --outDir target/dts && cp src/main/dts/index.legacy.d.ts target/dts/index.legacy.d.ts",
"build:docs": "typedoc --options src/main/typedoc",
"yaf": "npx yarn-audit-fix --audit-level=moderate",
"postupdate": "yarn && yarn yaf && yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "https://github.com/qiwi/decorator-utils.git"
},
"keywords": [
"decorator",
"@decorator",
"annotation"
],
"files": [
"README.md",
"CHANGELOG.md",
"target/esm",
"target/cjs",
"target/dts"
],
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"optionalDependencies": {
"reflect-metadata": ">=0.1"
},
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": {
"@qiwi/substrate-types": "^2.0.4",
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/helper-define-map": "^7.18.6",
"@babel/plugin-external-helpers": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@babel/runtime": "^7.23.9",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"babel-jest": "^29.7.0",
"babel-register-esm": "^1.2.5",
"concurrently": "^9.0.0",
"esbuild": "^0.24.0",
"esbuild-node-externals": "^1.12.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-qiwi": "^2.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"prettier-config-qiwi": "^3.0.0",
"ts-jest": "^29.1.2",
"ts4": "npm:typescript@4",
"ts5": "npm:typescript@5",
"typedoc": "^0.26.0",
"typescript": "npm:typescript@^5.3.3"
},
"prettier": "prettier-config-qiwi"
}