#35 build scripts

This commit is contained in:
Serraniel 2020-08-26 22:00:58 +02:00
parent 24e1f7c710
commit d69e9c2f02
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3
2 changed files with 22 additions and 15 deletions

3
!build.cmd Normal file
View file

@ -0,0 +1,3 @@
@echo off
call npm run dist:prod
pause

View file

@ -3,6 +3,23 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Ehanced Aniwatch is a browser extension for https://aniwatch.me/", "description": "Ehanced Aniwatch is a browser extension for https://aniwatch.me/",
"main": "index.js", "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": { "dependencies": {
"regenerator-runtime": "^0.13.7" "regenerator-runtime": "^0.13.7"
}, },
@ -38,18 +55,5 @@
"sass": "^1.26.10", "sass": "^1.26.10",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0" "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"
}