-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
70 lines (70 loc) · 2.39 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": "expirables",
"description": "This is a zero dependency package that provides some expirable implementations of common Data Structures.",
"private": false,
"version": "1.7.1",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/src/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",
"prettier": "prettier --write ./src",
"lint": "eslint ./src --ext .ts",
"prepare": "husky install",
"test": "c8 node --import tsx --test ./test/*.test.*",
"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"
},
"prepublish": "npm run build",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@matteo.collina/tspl": "^0.1.1",
"@types/node": "^20.14.8",
"@types/tap": "^15.0.11",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"c8": "^10.1.2",
"esbuild": "^0.21.5",
"eslint": "^8.29.0",
"generate-changelog": "^1.8.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"tsx": "^4.15.7",
"typescript": "^5.5.2"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"npx eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git://github.com/Cadienvan/expirables.git"
},
"license": "MIT",
"author": "Michael Di Prisco <cadienvan@gmail.com>",
"contributors": [
{
"name": "Carmelo Badalamenti",
"url": "https://github.com/rollsappletree"
}
]
}