vite-plugin-stimulus-hmr
Version:
HMR for Stimulus controllers in Vite.js, tweak your JS without refreshing the page.
74 lines (73 loc) • 2.08 kB
JSON
{
"name": "vite-plugin-stimulus-hmr",
"description": "HMR for Stimulus controllers in Vite.js, tweak your JS without refreshing the page.",
"version": "3.0.0",
"files": [
"dist"
],
"sideEffects": false,
"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"
}
},
"license": "MIT",
"author": "Máximo Mussini <maximomussini@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/ElMassimo/vite-plugin-stimulus-hmr"
},
"homepage": "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"
],
"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",
"stimulus-vite-helpers": "^3.0.0"
},
"devDependencies": {
"@mussi/eslint-config": "^0.5",
"@types/debug": "^4.1",
"@types/node": "^14.14",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"eslint": "^7.17.0",
"fast-glob": "^3.2.7",
"happy-dom": "^2.25.1",
"rollup": "^2.59",
"standard-version": "^9.1.0",
"tsup": "^5",
"typescript": "^4.5",
"vite": "^2.7.0",
"vitest": "^0.0.132"
},
"eslintConfig": {
"extends": [
"@mussi/eslint-config"
]
}
}