-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.68 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
{
"name": "queuefy",
"alias": "@qiwi/queuefy",
"version": "1.2.1",
"private": false,
"description": "Wrapper to make any async handler be like a single thread with queue",
"source": "src/main/ts/index.ts",
"main": "target/bundle/queuefy.js",
"module": "target/bundle/queuefy.mjs",
"unpkg": "target/bundle/queuefy.umd.js",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"scripts": {
"clean": "rimraf target typings flow-typed buildcache docs coverage",
"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": "jest --config=jest.config.json --runInBand",
"test:deps": "npm-run-all -p -l test:depcheck test:depauditfix",
"test:depcheck": "npx depcheck --ignores mkdirp,rimraf,tslib,@swissquote/crafty-preset-jest,@types/jest,typedoc,@types/node",
"test:depaudit": "yarn audit --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npx yarn-audit-fix --audit-level=moderate",
"build": "yarn clean && 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",
"build:es6": "mkdirp target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cpy 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 --options ./typedoc.json ./src/main/ts",
"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": "https://github.com/qiwi/queuefy.git"
},
"keywords": [
"queuefy",
"queue"
],
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"author": "Anton Golub <a.golub@qiwi.com>",
"license": "MIT",
"devDependencies": {
"@qiwi/libdefkit": "^5.0.0",
"@qiwi/npm-run-all": "^4.1.7",
"@qiwi/substrate": "^2.0.3",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.3",
"jest": "^29.5.0",
"microbundle": "^0.15.1",
"mkdirp": "^3.0.0",
"rimraf": "^5.0.0",
"terser": "^5.16.6",
"cpy-cli": "^4.2.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-qiwi": "^2.1.1",
"typedoc": "^0.24.0",
"typescript": "5.1.6",
"ts-jest": "^29.0.5"
},
"dependencies": {
"tslib": "^2.5.0"
}
}