-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.64 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
{
"name": "@zcong/singleflight",
"version": "0.3.1",
"description": "singleflight for js",
"main": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"test": "npm run lint && npm run jest",
"test:cov": "npm run lint && npm run jest:cov",
"lint": "eslint . --ext .ts",
"format": "prettier --write '**/*.{ts,json,md}'",
"jest": "vitest run",
"jest:cov": "vitest run --coverage",
"prepublishOnly": "npm run build",
"lint-staged": "lint-staged",
"prepare": "husky install",
"release": "bumpp --commit --push --tag"
},
"types": "./dist/index.d.ts",
"author": "zcong1993",
"license": "MIT",
"devDependencies": {
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@zcong/js-release": "^0.2.5",
"bumpp": "^9.0.0",
"c8": "^7.11.3",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"prettier": "^2.4.1",
"tsup": "^6.1.2",
"typescript": "^4.4.4",
"vitest": "^0.29.0"
},
"jest": {
"preset": "ts-jest"
},
"lint-staged": {
"*.{js,json,ts,md}": "prettier --write"
},
"bugs": "https://github.com/zcong1993/singleflight/issues",
"homepage": "https://github.com/zcong1993/singleflight",
"repository": {
"type": "git",
"url": "git+https://github.com/zcong1993/singleflight.git"
},
"module": "./dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
}
}