Browse Source

Revert "chore: remove prepublish"

This reverts commit b8c6819403.
es6
iapyang 5 years ago
parent
commit
2b1725d6e2
  1. 3
      package.json
  2. 5
      publish.bat

3
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",

5
publish.bat

@ -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%
Loading…
Cancel
Save