open-web-inspector
Version:
The open source web element inspector - AI-controllable DOM inspection with live CSS editing, hover highlighting, and developer tools integration
88 lines (87 loc) โข 3.36 kB
JSON
{
"name": "open-web-inspector",
"version": "1.2.0",
"description": "The open source web element inspector - AI-controllable DOM inspection with live CSS editing, hover highlighting, and developer tools integration",
"main": "dist/open-web-inspector.min.js",
"module": "src/index.js",
"scripts": {
"dev": "python3 -m http.server 8002",
"test": "echo \"Navigate to http://localhost:8002/examples/ to test the functionality\" && npm run dev",
"build": "npm run clean && npm run build:dev && npm run build:prod && npm run build:extension",
"build:dev": "cp src/index.js dist/open-web-inspector.js",
"build:prod": "terser src/index.js -o dist/open-web-inspector.min.js --compress passes=3,drop_console=true,drop_debugger=true,pure_funcs=['console.log','console.debug','console.info'] --mangle --source-map --comments false",
"build:extension": "echo \"๐ฆ Building Chrome extension...\" && npm run build:extension:chrome",
"build:extension:chrome": "echo \"โ
Chrome extension files ready in extensions/chrome/\"",
"dev:extension": "echo \"๐ง Chrome extension ready for developer mode loading from extensions/chrome/\"",
"clean": "rm -rf dist/*.js dist/*.map",
"prepare": "npm run build",
"version:patch": "npm version patch && npm run build",
"version:minor": "npm version minor && npm run build",
"version:major": "npm version major && npm run build",
"release": "npm run build && git add dist/ && git commit -m \"๐ Release build files\" && git push",
"release:chrome": "node scripts/chrome-store-publish.js",
"release:chrome:publish": "node scripts/chrome-store-publish.js --publish",
"publish:chrome": "npm run build && node scripts/chrome-store-publish.js --publish",
"package:chrome": "npm run build && node scripts/chrome-store-publish.js",
"automation:test": "echo \"๐งช Testing Chrome Web Store automation...\" && npm run package:chrome",
"automation:setup": "echo \"๐ Chrome Web Store automation setup instructions in CHROME_WEB_STORE_AUTOMATION.md\"",
"size": "echo \"๐ฆ Build sizes:\" && ls -lah dist/*.js | awk '{print $5, $9}'"
},
"keywords": [
"open-source",
"web-inspector",
"dom-inspector",
"element-inspector",
"css",
"html",
"developer-tools",
"devtools",
"live-css",
"css-editor",
"vanilla-js",
"no-dependencies",
"ai-controllable",
"ai-inspector",
"debugging",
"frontend",
"browser",
"element-selection",
"hover-highlighting",
"screenshot",
"embeddable",
"cdn",
"javascript"
],
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/suuunly/open-web-inspector.git"
},
"homepage": "https://github.com/suuunly/open-web-inspector#readme",
"bugs": {
"url": "https://github.com/suuunly/open-web-inspector/issues"
},
"files": [
"src/",
"dist/",
"examples/",
"extensions/",
"README.md",
"LICENSE"
],
"unpkg": "dist/open-web-inspector.min.js",
"jsdelivr": "dist/open-web-inspector.min.js",
"cdn": "dist/open-web-inspector.min.js",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"terser": "^5.36.0"
}
}