-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.01 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
{
"name": "vite-plugin-stimulus-hmr",
"type": "module",
"version": "3.0.0",
"description": "HMR for Stimulus controllers in Vite.js, tweak your JS without refreshing the page.",
"author": "Máximo Mussini <maximomussini@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/ElMassimo/vite-plugin-stimulus-hmr",
"repository": {
"type": "git",
"url": "https://github.com/ElMassimo/vite-plugin-stimulus-hmr"
},
"bugs": "https://github.com/ElMassimo/vite-plugin-stimulus-hmr/issues",
"keywords": [
"plugin",
"hmr",
"rails",
"ruby",
"stimulus",
"vite",
"vite-plugin",
"vitejs"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint .",
"test": "vitest --config example/vite.config.ts",
"dev": "npm run build -- --watch",
"example:dev": "npm -C example run dev",
"example:build": "npm -C example run build",
"build": "tsup src/index.ts --dts --format cjs,esm --clean",
"release": "nr build && npm publish",
"prepublishOnly": "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"
},
"dependencies": {
"debug": "^4.3.4",
"stimulus-vite-helpers": "^3.0.1"
},
"devDependencies": {
"@antfu/eslint-config": "^1.1.4",
"@types/debug": "^4.1.12",
"@types/node": "^18.18.9",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"eslint": "^8.53.0",
"eslint-define-config": "^1.24.1",
"fast-glob": "^3.3.2",
"happy-dom": "^2.55.0",
"rollup": "^4.4.1",
"standard-version": "^9.5.0",
"tsup": "^7.2.0",
"typescript": "^4.9.5",
"vite": "^5.0.0",
"vitest": "^0.34.6"
}
}