Use npx, not global

This commit is contained in:
cutls 2019-12-21 11:09:01 +09:00
parent 553abf90cb
commit 109170627f

View File

@ -7,13 +7,13 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"construct": "cd view/make && node make --automatic && cd ../../", "construct": "cd view/make && node make --automatic && cd ../../",
"dev": "electron ./ --dev", "dev": "npx electron ./ --dev",
"dist": "build --linux snap", "dist": "build --linux snap",
"watchview": "node view/make/make.js --automatic --watch", "watchview": "node view/make/make.js --automatic --watch",
"build:js": "node build.js", "build:js": "node build.js",
"build": "electron-builder", "build": "npx electron-builder",
"build:all": "electron-builder --win --linux", "build:all": "npx electron-builder --win --linux",
"build:win": "electron-builder --win" "build:win": "npx electron-builder --win"
}, },
"keywords": [ "keywords": [
"mastodon", "mastodon",
@ -58,8 +58,6 @@
"materialize-css": "git://github.com/cutls/materialize", "materialize-css": "git://github.com/cutls/materialize",
"json5": "^2.1.1", "json5": "^2.1.1",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"sumchecker": "^3.0.0",
"sweetalert2": "^9.5.3",
"sumchecker": "^3.0.1", "sumchecker": "^3.0.1",
"sweetalert2": "^9.4.0", "sweetalert2": "^9.4.0",
"vue": "^2.6.10" "vue": "^2.6.10"