Skip to content

Commit 4150d6e

Browse files
committed
clean up npm publish
1 parent cbde738 commit 4150d6e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.npmignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,16 @@ examples
66
docs
77
.vscode
88
yarn.lock
9+
__tests__
10+
.github
11+
template
12+
book.json
13+
prettier.config.js
14+
.eslintrc
15+
.eslintignore
16+
.editorconfig
17+
.bookignore
18+
src
19+
jest.config.js
20+
tsconfig.json
21+
tsconfig.module.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"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",
3030
"lint": "eslint .",
3131
"lint-staged": "lint-staged",
32-
"prepublishOnly": "npm run clean && npm run check && npm run build",
32+
"prepublishOnly": "npm run clean && npm run test:ci && npm run build",
3333
"prettier:base": "prettier --write",
3434
"prettify": "npm run prettier:base \"src/**/*.(j|t)sx?\" \"examples/**/*.(j|t)sx?\" \"__tests__/**/*.(j|t)sx?\" \"docs/**/*.md\"",
3535
"test": "npm run test:unit && npm run test:e2e",

0 commit comments

Comments
 (0)