generated from Cadienvan/npm-package-ts-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 2.45 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
{
"name": "@jointly/cache-candidate",
"private": false,
"version": "2.1.2",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"ts-types": "tsc --emitDeclarationOnly --outDir dist",
"check": "npm run prettier && npm run lint && npm test",
"build": "npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types",
"build-doctor-bubbleproof": "rimraf dist && NODE_ENV=development node esbuild.js && npx clinic bubbleproof -- node ./doctor-patient.js",
"prettier": "prettier --write ./src",
"lint": "eslint ./src --ext .ts",
"dev": "jest --watch",
"test": "jest --no-cache",
"coverage": "jest --coverage",
"benchmark": "node benchmark.js",
"release:common": "npm run build && git push --follow-tags origin main && npm publish --access public",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common"
},
"prepare": "npm run build",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@jointly/cache-candidate-plugin-base": "^2.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.10",
"@types/redis": "^4.0.11",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"benchmark": "^2.1.4",
"esbuild": "^0.21.0",
"eslint": "^8.29.0",
"generate-changelog": "^1.8.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "^4.9.4"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"npx eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git://github.com/JointlyTech/cache-candidate.git"
},
"license": "MIT",
"author": "Jointly <dev@jointly.pro>",
"dependencies": {
"hook-fn": "^1.0.6"
}
}