-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
75 lines (75 loc) · 2.01 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": "promise-based-task",
"description": "Create a task and resolve it later via a Promise approach. Run time-consuming processes only once.",
"keywords": [
"promise",
"promise task",
"promise based task",
"promise task map"
],
"version": "3.1.1",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.js",
"default": "./lib/index.js"
}
},
"files": [
"lib"
],
"homepage": "https://github.com/Tomas2D/promise-based-task#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Tomas2D/promise-based-task.git"
},
"bugs": {
"url": "https://github.com/Tomas2D/promise-based-task/issues"
},
"author": "Tomáš Dvořák <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"build": "rimraf lib && tsc --noEmit --project tsconfig.build.json && tsup",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"prettier": "prettier \"{src,test}/**/*.ts\" --write",
"format": "prettier --write \"src/**/*.ts\"",
"changelog": "npx gitmoji-changelog",
"release": "yarn version",
"version": "yarn changelog && code --wait CHANGELOG.md && git add README.md CHANGELOG.md",
"prepublishOnly": "yarn build",
"test": "jest",
"test:coverage": "jest --coverage"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"eslint": "^8.5.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.1",
"jest": "^27.4.5",
"lint-staged": "^14.0.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.5",
"ts-jest": "^27.1.2",
"tsup": "^7.1.0",
"typescript": "^4.5.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}