-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.94 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
{
"name": "@tanc00/vite-plugin-sfc-reload",
"description": "Trigger a HMR update on CSS or JS changes or a full page reload when templates are modified",
"version": "0.0.5",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"license": "MIT",
"author": "Tancredi D'Onofrio <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/tanc/vite-plugin-sfc-reload"
},
"homepage": "https://github.com/tanc/vite-plugin-sfc-reload",
"bugs": "https://github.com/tanc/vite-plugin-sfc-reload/issues",
"files": [
"dist"
],
"keywords": [
"vite",
"plugin",
"vite-plugin",
"vitejs",
"sfc",
"reload"
],
"scripts": {
"clean": "rm -rf ./dist",
"dev": "npm run build -- --watch",
"build": "tsup src/index.ts --dts --format cjs,esm",
"lint": "lint-staged",
"prepare": "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"
},
"dependencies": {
"chalk": "^4.1",
"node-fetch": "^2.0.0",
"picomatch": "^2.2.2"
},
"devDependencies": {
"@mussi/eslint-config": "^0.5.0",
"@types/node": "^14.14.35",
"@types/node-fetch": "^2.5.8",
"@types/picomatch": "^2.2.1",
"conventional-changelog-cli": "^2.1.1",
"enquirer": "^2.3.6",
"eslint": "^7.22.0",
"execa": "^5.0.0",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"minimist": "^1.2.5",
"pinst": "^2.1.6",
"rollup": "^2.41.4",
"semver": "^7.3.5",
"tsup": "^4.8.3",
"typescript": "^4.2.2",
"vite": "^2.1.1"
},
"lint-staged": {
"*.{js,ts,tsx,jsx,vue}": [
"eslint --fix"
]
}
}