-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.17 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.17 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@phun-ky/cardinal",
"version": "2.0.43",
"description": "A set of JavaScript functions that gives you the cardinal direction based on degrees",
"keywords": [
"cardinal",
"direction",
"cardinal direction",
"compass",
"degrees"
],
"homepage": "https://phun-ky.net/projects/cardinal",
"bugs": {
"url": "https://github.com/phun-ky/cardinal/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/phun-ky/cardinal.git"
},
"funding": "https://github.com/phun-ky/cardinal?sponsor=1",
"license": "MIT",
"author": "Alexander Vassbotn Røyne-Helgesen <alexander@phun-ky.net>",
"type": "module",
"exports": "./dist/cardinal.js",
"types": "dist/cardinal.d.ts",
"files": [
"/dist/cardinal.js",
"/dist/cardinal.js.map",
"/dist/cardinal.d.ts"
],
"scripts": {
"build": "npm run clean && npm run rollup",
"clean": "rm -rf dist dts",
"commit": "npx git-cz",
"docs:gen": "node ./node_modules/.bin/typedoc",
"release": "release-it",
"rollup": "rollup -c",
"prerollup:dev": "npm run clean",
"rollup:dev": "rollup -c -w",
"style:code": "npx putout src",
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
"style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
"test": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\"",
"pretest:ci": "rm -rf coverage && mkdir -p coverage",
"test:ci": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\""
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"devDependencies": {
"@release-it/conventional-changelog": "^10.0.1",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^1.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@types/node": "^25.2.2",
"cobertura": "^1.0.1",
"eslint": "^9.20.0",
"eslint-config-phun-ky": "^1.0.0",
"git-cz": "^4.9.0",
"glob-bin": "^1.0.0",
"global-jsdom": "^29.0.0",
"jsdom": "^29.0.0",
"prettier": "^3.5.1",
"putout": "^42.0.3",
"release-it": "^19.0.1",
"remark-github": "^12.0.0",
"remark-toc": "^9.0.0",
"rollup": "^4.12.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript2": "^0.37.0",
"tsx": "^4.7.1",
"typedoc": "^0.28.3",
"typedoc-plugin-frontmatter": "^1.3.0",
"typedoc-plugin-markdown": "^4.6.3",
"typedoc-plugin-mdn-links": "^5.0.1",
"typedoc-plugin-no-inherit": "^1.6.1",
"typedoc-plugin-remark": "^2.0.0",
"typedoc-plugin-rename-defaults": "^0.7.3",
"typescript": "^6.0.2",
"unified-prettier": "^2.0.1"
},
"engines": {
"node": "^20.9.0 || >=22.0.0",
"npm": ">=10.8.2"
},
"publishConfig": {
"access": "public"
}
}