File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1616 "build:weapp" : " CLIENT_PLATFORM=Weapp webpack --config webpack/weapp.js" ,
1717 "uglify:browser" : " cd dist; uglifyjs av.js -m -c -o av-min.js --in-source-map av.js.map --source-map av-min.js.map; cd ..;" ,
1818 "uglify:weapp" : " cd dist; uglifyjs av-weapp.js -m -c -o av-weapp-min.js --in-source-map av-weapp.js.map --source-map av-weapp-min.js.map; cd ..;" ,
19- "build" : " gulp build"
19+ "build" : " gulp build" ,
20+ "prepublishOnly" : " ./script/check-version.js"
2021 },
2122 "dependencies" : {
2223 "debug" : " ^2.2.0" ,
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ const assert = require ( 'assert' ) ;
3+ assert ( require ( '../' ) . version === require ( '../package.json' ) . version ) ;
4+ assert ( require ( '../bower.json' ) . version === require ( '../package.json' ) . version ) ;
You can’t perform that action at this time.
0 commit comments