Browse Source

chore: remove prepublish

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

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

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