-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.57 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "tings",
"version": "9.1.2",
"private": false,
"description": "A collection of small JavaScript utilities",
"homepage": "https://tings.wstone.uk/",
"bugs": {
"url": "https://github.com/will-stone/tings/issues"
},
"repository": {
"url": "https://github.com/will-stone/tings"
},
"license": "MIT",
"author": {
"name": "Will Stone",
"email": "[email protected]",
"url": "https://wstone.uk"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"bench": "vitest bench",
"build": "npm run build:lib && npm run build:web",
"postbuild": "typedoc",
"build:lib": "tsup source/index.ts --dts --format esm,cjs --clean",
"build:web": "astro check && astro build",
"dev": "concurrently 'npm run dev:web' 'npm run dev:lib' -n web,lib -c blue,magenta",
"dev:lib": "npm run build:lib -- --watch --onSuccess \"npm run postbuild\"",
"dev:web": "astro dev",
"lint": "eslint .",
"prepare": "simple-git-hooks",
"release": "release-it",
"test": "vitest",
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"simple-git-hooks": {
"pre-commit": "npx --no lint-staged"
},
"lint-staged": {
"*.{css,json,md,js,jsx,ts,tsx,cjs,mjs}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx,cjs,mjs}": [
"eslint --fix"
]
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/tailwind": "^6.0.0-beta.0",
"@commits-with-character/conventional-changelog-preset": "^1.0.0",
"@release-it/conventional-changelog": "^9.0.1",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^22.8.1",
"@will-stone/eslint-config": "^12.0.0",
"@will-stone/prettier-config": "^8.0.1",
"astro": "^4.16.7",
"astro-remote": "^0.3.3",
"concurrently": "^9.0.1",
"eslint": "^9.13.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"release-it": "^17.10.0",
"simple-git-hooks": "^2.11.1",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.14",
"tsup": "^8.3.5",
"typedoc": "^0.26.10",
"typedoc-plugin-markdown": "^4.2.9",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"overrides": {
"eslint": "^9.13.0",
"typescript": "^5.6.3"
}
}