Skip to content

Commit

Permalink
clean up npm publish (#445)
Browse files Browse the repository at this point in the history
clean up npm publish
  • Loading branch information
mathieudutour authored Nov 19, 2019
2 parents cbde738 + 4150d6e commit ae15886
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ examples
docs
.vscode
yarn.lock
__tests__
.github
template
book.json
prettier.config.js
.eslintrc
.eslintignore
.editorconfig
.bookignore
src
jest.config.js
tsconfig.json
tsconfig.module.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git fetch git@github.com:airbnb/react-sketchapp.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push git@github.com:airbnb/react-sketchapp.git gh-pages --force",
"lint": "eslint .",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run clean && npm run check && npm run build",
"prepublishOnly": "npm run clean && npm run test:ci && npm run build",
"prettier:base": "prettier --write",
"prettify": "npm run prettier:base \"src/**/*.(j|t)sx?\" \"examples/**/*.(j|t)sx?\" \"__tests__/**/*.(j|t)sx?\" \"docs/**/*.md\"",
"test": "npm run test:unit && npm run test:e2e",
Expand Down

0 comments on commit ae15886

Please sign in to comment.