File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ npm run
7777
7878``` sh
7979npm run dist
80- # Use irish-pub to check the package content. Install w/ npm install -g first.
81- irish-pub
80+ npm run report:size
81+ npm run report:package
8282npm publish
8383```
8484
Original file line number Diff line number Diff line change 139139 "report:coverage" : " open coverage/lcov-report/index.html" ,
140140 "report:build" : " open public/webpack-stats.html" ,
141141 "report:size" : " uglifyjs --compress --mangle -- dist/draftail.cjs.js > dist/draftail.cjs.min.js && gzip --keep dist/* && wc -c dist/* | tee -a public/size.txt && date >> public/size.txt && rm dist/*.gz && rm dist/*.min.js" ,
142- "report:package" : " npm pack --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee -a public/package.txt && date >> public/package.txt && rm *.tgz " ,
142+ "report:package" : " npm pack --dry-run -- loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee -a public/package.txt && date >> public/package.txt" ,
143143 "test:ci" : " npm run lint -s && npm run test:coverage -s --json --runInBand && npm run dist -s && npm run test:integration -s && npm run test:performance -s" ,
144144 "prepare" : " ./.githooks/deploy.sh"
145145 }
You can’t perform that action at this time.
0 commit comments