mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
chore(deps): replace date-format
with date-fns
This commit is contained in:
parent
84801f4fcf
commit
842f8fc41b
@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "16.15.0"
|
||||
- "16.15.1"
|
||||
before_install:
|
||||
- npm update -g npm
|
||||
- npm install -g grunt-cli
|
||||
|
@ -10,8 +10,8 @@ module.exports = function(grunt) {
|
||||
};
|
||||
|
||||
// create a version based on the build timestamp
|
||||
var dateFormat = require('dateformat');
|
||||
var version = '-' + dateFormat(new Date(), "yyyy-mm-dd-hh-MM");
|
||||
var { format } = require('date-fns');
|
||||
var version = `-${format(new Date(), "yyyy-MM-dd-HH-mm")}`;
|
||||
var releaseVersion = require('./package.json').version;
|
||||
|
||||
/**
|
||||
|
20
package.json
20
package.json
@ -33,11 +33,10 @@
|
||||
"format": "grunt eslint --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chiragrupani/karma-chromium-edge-launcher": "^2.2.1",
|
||||
"@happikitsune/grunt-nw-builder": "3.5.10",
|
||||
"dateformat": "4.5.1",
|
||||
"@chiragrupani/karma-chromium-edge-launcher": "2.2.1",
|
||||
"date-fns": "2.28.0",
|
||||
"fs-extra": "10.1.0",
|
||||
"grunt": "1.5.2",
|
||||
"grunt": "1.5.3",
|
||||
"grunt-casperjs": "2.2.1",
|
||||
"grunt-cli": "1.4.3",
|
||||
"grunt-contrib-clean": "2.0.1",
|
||||
@ -52,20 +51,21 @@
|
||||
"grunt-jscs": "3.0.1",
|
||||
"grunt-karma": "4.0.2",
|
||||
"grunt-leading-indent": "0.2.0",
|
||||
"grunt-nw-builder": "3.7.1",
|
||||
"grunt-replace": "2.0.2",
|
||||
"grunt-spritesmith": "6.10.0",
|
||||
"jasmine-core": "4.1.0",
|
||||
"karma": "6.3.19",
|
||||
"jasmine-core": "4.1.1",
|
||||
"karma": "6.3.20",
|
||||
"karma-chrome-launcher": "3.1.1",
|
||||
"karma-firefox-launcher": "^2.1.2",
|
||||
"karma-jasmine": "5.0.0",
|
||||
"karma-firefox-launcher": "2.1.2",
|
||||
"karma-jasmine": "5.0.1",
|
||||
"karma-phantomjs-launcher": "1.0.4",
|
||||
"load-grunt-tasks": "5.1.0",
|
||||
"nw": "0.64.0",
|
||||
"nw": "0.65.0",
|
||||
"phantomjs-polyfill-object-assign": "0.0.2",
|
||||
"phantomjs-prebuilt": "2.1.16",
|
||||
"promise-polyfill": "8.2.3",
|
||||
"puppeteer": "13.7.0",
|
||||
"puppeteer": "14.2.1",
|
||||
"rmdir": "1.2.0"
|
||||
},
|
||||
"window": {
|
||||
|
Loading…
Reference in New Issue
Block a user