-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
87 lines (87 loc) · 2.32 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
{
"name": "vite-plugin-full-reload",
"description": "Reload the page when files are modified",
"version": "1.2.0",
"license": "MIT",
"author": "Máximo Mussini <maximomussini@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/ElMassimo/vite-plugin-full-reload"
},
"homepage": "https://github.com/ElMassimo/vite-plugin-full-reload",
"bugs": "https://github.com/ElMassimo/vite-plugin-full-reload/issues",
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"keywords": [
"vite",
"plugin",
"vite-plugin",
"vitejs",
"full",
"reload"
],
"scripts": {
"clean": "rm -rf ./dist",
"dev": "npm run build -- --watch",
"build": "tsup src/index.ts --dts --format cjs,esm --clean",
"lint": "eslint . --ext .ts,.js,.vue",
"postinstall": "husky install",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "pinst --disable && npm run build",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags && pinst --enable",
"release": "node scripts/release.cjs",
"test": "vitest"
},
"dependencies": {
"picocolors": "^1.0.0",
"picomatch": "^2.3.1"
},
"devDependencies": {
"@antfu/eslint-config": "*",
"@types/cross-spawn": "^6.0.2",
"@types/node": "^18",
"@types/picomatch": "^2.3.0",
"conventional-changelog-cli": "^2.2.2",
"cross-spawn": "^7.0.3",
"enquirer": "^2.3.6",
"eslint": "^8.20.0",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"minimist": "^1.2.6",
"pinst": "^2.1.6",
"rollup": "^4.2",
"semver": "^7.3.7",
"tsup": "^7.2",
"typescript": "^4.7.4",
"vite": "^5.0.0",
"vitest": "^0.34"
},
"lint-staged": {
"*.{js,ts,tsx,jsx,vue}": [
"eslint --fix"
]
},
"eslintConfig": {
"extends": [
"@antfu/eslint-config"
],
"rules": {
"@typescript-eslint/space-before-function-paren": [
"warn",
"always"
]
}
}
}