mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-09 03:43:23 +00:00
Move __version__ to a script
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"cross-env": "^5.0.1",
|
||||
"express": "^4.15.3",
|
||||
"express-handlebars": "^3.0.0",
|
||||
"git-rev-sync": "1.9.1",
|
||||
"git-rev-sync": "^1.9.1",
|
||||
"helmet": "^3.6.1",
|
||||
"jquery": "^3.2.1",
|
||||
"mozlog": "^2.1.1",
|
||||
@@ -42,9 +42,9 @@
|
||||
"license": "MPL-2.0",
|
||||
"repository": "mozilla/something-awesome",
|
||||
"scripts": {
|
||||
"bundle": "browserify frontend/src/main.js | uglifyjs > public/bundle.js",
|
||||
"bundle": "browserify frontend/src/main.js | uglifyjs > public/bundle.js && node scripts/version",
|
||||
"dev": "watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server",
|
||||
"format": "prettier 'frontend/src/*.js' 'public/*.css' 'server/*.js' 'test/*.js' --single-quote --write",
|
||||
"format": "prettier '{frontend/src/,scripts/,server/,test/}*.js' 'public/*.css' --single-quote --write",
|
||||
"lint": "npm-run-all lint:*",
|
||||
"lint:css": "stylelint 'public/*.css'",
|
||||
"lint:js": "eslint .",
|
||||
|
||||
Reference in New Issue
Block a user