-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.64 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.64 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
{
"name": "@8hobbies/vite-plugin-year",
"version": "1.0.2",
"description": "A Vite plugin that inserts the current year to the HTML file during build. Useful for adding a copyright year to the HTML file.",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"/dist",
"!/dist/**.test.d.ts",
"!/dist/**.test.js"
],
"engines": {
"node": "^18 || ^20 || ^22 || >= 23"
},
"scripts": {
"clean": "rimraf dist/",
"compile": "tsc --project tsconfig.json && tsc --project tsconfig.test.json",
"format": "npm run compile && eslint --fix *.ts *.mjs && prettier . --write",
"lint": "npm run compile && eslint --report-unused-disable-directives --max-warnings=0 *.ts *.mjs && prettier . --check",
"prepack": "npm run clean && npm run compile",
"test": "vitest --run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/8hobbies/vite-plugin-year.git"
},
"keywords": [
"vite",
"vite-plugin"
],
"author": "8 Hobbies, LLC",
"license": "0BSD",
"bugs": {
"url": "https://github.com/8hobbies/vite-plugin-year/issues"
},
"homepage": "https://8hob.io/posts/add-copyright-year-vite-html/",
"devDependencies": {
"@8hobbies/eslint-conf-baseline": "7.0.0",
"@types/eslint": "9.6.1",
"@types/jest": "30.0.0",
"@types/node": "24.10.13",
"globals": "17.3.0",
"prettier": "3.8.1",
"rimraf": "6.1.3",
"typescript": "5.9.3",
"vitest": "4.0.18"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/utils": "^8.56.0",
"eslint": "^9.39.3",
"typescript-eslint": "^8.56.0"
}
}