diff --git a/package.json b/package.json index 0f031e7eb..748ab1ec2 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,7 @@ "fake": "grunt fake-build", "test": "karma start", "analyze": "grunt analyze", - "dev": "npm-run-all --parallel grunt webpack:dev", - "prepublish": "node ./lib/prepublish/prepublish.js" + "dev": "npm-run-all --parallel grunt webpack:dev" }, "repository": { "type": "git", diff --git a/publish.bat b/publish.bat new file mode 100644 index 000000000..795f39aed --- /dev/null +++ b/publish.bat @@ -0,0 +1,5 @@ +For /f "delims=." %%A in ( + 'wmic os get LocalDateTime^|findstr ^^20' +) Do Set DT=%%A +Set "TIMESTAMP=%DT:~0,4%/%DT:~4,2%/%DT:~6,2%/%DT:~8,2%/%DT:~10,2%/%DT:~12,2%" +npm publish --tag=%TIMESTAMP% \ No newline at end of file