diff --git a/!build.cmd b/!build.cmd new file mode 100644 index 0000000..a93f22b --- /dev/null +++ b/!build.cmd @@ -0,0 +1,3 @@ +@echo off +call npm run dist:prod +pause \ No newline at end of file diff --git a/package.json b/package.json index b8e6bc6..cfcce45 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,23 @@ "version": "1.0.0", "description": "Ehanced Aniwatch is a browser extension for https://aniwatch.me/", "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "build": "gulp build", + "build:prod": "cross-env NODE_ENV=production gulp build", + "dist": "gulp dist", + "dist:prod": "cross-env NODE_ENV=production gulp dist" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Serraniel/EnhancedAniwatch.git" + }, + "author": "Serraniel", + "license": "MPL-2.0", + "bugs": { + "url": "https://github.com/Serraniel/EnhancedAniwatch/issues" + }, + "homepage": "https://github.com/Serraniel/EnhancedAniwatch#readme", "dependencies": { "regenerator-runtime": "^0.13.7" }, @@ -38,18 +55,5 @@ "sass": "^1.26.10", "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0" - }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Serraniel/EnhancedAniwatch.git" - }, - "author": "Serraniel", - "license": "MPL-2.0", - "bugs": { - "url": "https://github.com/Serraniel/EnhancedAniwatch/issues" - }, - "homepage": "https://github.com/Serraniel/EnhancedAniwatch#readme" -} + } +} \ No newline at end of file