diff --git a/package.json b/package.json index 748ab1ec2..0f031e7eb 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,8 @@ "fake": "grunt fake-build", "test": "karma start", "analyze": "grunt analyze", - "dev": "npm-run-all --parallel grunt webpack:dev" + "dev": "npm-run-all --parallel grunt webpack:dev", + "prepublish": "node ./lib/prepublish/prepublish.js" }, "repository": { "type": "git", diff --git a/publish.bat b/publish.bat deleted file mode 100644 index 795f39aed..000000000 --- a/publish.bat +++ /dev/null @@ -1,5 +0,0 @@ -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