-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.39 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.39 KB
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
76
77
{
"name": "@nevoland/clamp",
"private": false,
"version": "1.1.1",
"type": "module",
"main": "./dist/main.js",
"exports": {
"types": "./dist/main.d.ts",
"import": "./dist/main.js"
},
"keywords": [
"clamp",
"number",
"numeric",
"comparison",
"between",
"range",
"greater",
"less",
"math",
"value"
],
"author": "Nicolas Velay <NicolasVelay@free.fr>",
"contributors": [
"David Bonnet <david@bonnet.cc>",
"Nicolas Velay <NicolasVelay@free.fr>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nevoland/clamp.git"
},
"files": [
"dist",
"lib",
"!lib/old",
"!lib/**/*.test.ts?",
"!src",
"!src/old",
"README.md",
"doc/"
],
"scripts": {
"test": "npm run lint && npm run format && vitest run",
"build": "rm -rf dist; tsc --project tsconfig.package.json",
"build:doc": "typedoc --tsconfig tsconfig.package.json",
"build:doc:save": "typedoc --tsconfig tsconfig.package.json && git add -A && git commit -a -m 'Update doc'",
"prepare": "npm run build",
"format": "prettier --check './**/*.{css,scss,md,mdx,json,tsx,ts,jsx,js}'",
"format:fix": "prettier --write './**/*.{css,scss,md,mdx,json,tsx,ts,jsx,js}'",
"lint": "npm run lint:ts",
"lint:fix": "npm run lint:ts:fix",
"lint:ts": "eslint .",
"lint:ts:fix": "eslint --fix .",
"release:init": "npm publish --access=public",
"release:patch": "npm version patch && git push origin --follow-tags && npm publish",
"release:minor": "npm version minor && git push origin --follow-tags && npm publish",
"release:major": "npm version major && git push origin --follow-tags && npm publish",
"release:alpha": "npm version prerelease --preid=alpha && git push origin --follow-tags && npm publish --tag=next",
"release:beta": "npm version prerelease --preid=beta && git push origin --follow-tags && npm publish --tag=next"
},
"devDependencies": {
"@eslint/js": "^8.57.0",
"@types/eslint": "^8.56.11",
"@types/node": "^20.14.14",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-sort-keys": "^2.3.5",
"eslint-plugin-vitest": "^0.5.4",
"prettier": "^3.3.3",
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"vitest": "^2.1.3"
}
}