koboprice/package.json
2024-07-28 16:09:18 +03:00

36 lines
1.2 KiB
JSON

{
"type": "module",
"name": "koboprice",
"version": "1.0.0",
"description": "find lowest price on Kobo",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --fix",
"bundle": "esbuild lib/index.js --bundle --minify --sourcemap --target=chrome58,firefox57,safari11 --outfile=dist/index.js",
"watch-bundle": "npm run bundle -- --watch",
"watch-ext": "web-ext run --start-url https://www.kobo.com/ww/en/ebook/foundation-the-foundation-trilogy-book-1-1",
"watch": "concurrently npm:watch-bundle npm:watch-ext",
"build-userscript": "cat userscript/koboprice.meta.js dist/index.js > userscript/koboprice.user.js",
"build-ext": "web-ext build",
"build-all": "npm run bundle && npm run build-userscript && npm run build-ext"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^9.6.0",
"concurrently": "^8.2.2",
"esbuild": "0.23.0",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"globals": "^15.8.0",
"prettier": "3.3.2",
"web-ext": "^8.2.0"
},
"dependencies": {
"currency.js": "^2.0.4",
"date-fns": "^3.6.0",
"preact": "^10.22.1"
}
}