Skip to content

Commit 54abdf4

Browse files
committed
Replace irish-pub
1 parent 704d3e2 commit 54abdf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ npm run
7777

7878
```sh
7979
npm 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
8282
npm publish
8383
```
8484

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
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
}

0 commit comments

Comments
 (0)