-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
70 lines (70 loc) · 2.43 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
{
"name": "@qiwi/common-formatters",
"version": "1.2.3",
"description": "Common string formatters",
"main": "./target/cjs/index.js",
"module": "./target/esm/index.mjs",
"types": "./target/dts/index.d.ts",
"exports": {
".": {
"types": "./target/dts/index.d.ts",
"require": "./target/cjs/index.js",
"import": "./target/esm/index.mjs"
}
},
"scripts": {
"lint": "eslint -c src/test/eslint/.eslintrc.js 'src/**/*.+(js|ts)'",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "concurrently 'npm:test:*'",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest -c src/test/ts/jest.config.json --runInBand --detectOpenHandles --forceExit",
"test:depcheck": "npx depcheck --ignores @qiwi/common-formatters,typedoc,tslib,babel*,esbuild*,@types/jest,@babel/*,fast-glob,tsc-esm-fix",
"test:depaudit": "yarn audit --groups=dependencies --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"clean": "rm -rf target temp flow-typed",
"build": "concurrently 'npm:build:*'",
"build:esm": "node ./src/scripts/build.cjs && tsc-esm-fix --target=target/esm --ext=.mjs",
"build:cjs": "node ./src/scripts/build.cjs --cjs",
"build:dts": "tsc -p src/main/ts/tsconfig.json --emitDeclarationOnly --outDir target/dts",
"build:docs": "typedoc --options src/main/typedoc",
"build:flow": "mkdir -p ./flow-typed && cp ./src/main/flow/index.flow.js ./flow-typed/index.flow.js",
"postupdate": "yarn && npx yarn-audit-fix --audit-level=moderate && yarn build && yarn test"
},
"files": [
"README.md",
"CHANGELOG.md",
"target/cjs",
"target/esm",
"target/dts"
],
"repository": {
"type": "git",
"url": "https://github.com/qiwi/common-formatters.git"
},
"keywords": [
"format",
"common formatters"
],
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"dependencies": {
"tslib": "^2.6.1"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"concurrently": "^8.2.0",
"esbuild": "^0.18.18",
"esbuild-node-externals": "^1.8.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-qiwi": "^2.1.3",
"fast-glob": "^3.3.1",
"jest": "^29.6.2",
"prettier": "^3.0.1",
"prettier-config-qiwi": "^2.1.2",
"ts-jest": "^29.1.1",
"tsc-esm-fix": "^2.20.14",
"typedoc": "^0.24.8",
"typescript": "5.1.6"
},
"prettier": "prettier-config-qiwi"
}