Skip to content

Commit

Permalink
🐛 Fix packaging on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardfactory committed Mar 12, 2019
1 parent 490bfd9 commit 7d8ce35
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
"scripts": {
"dev": "babel src -w -d lib -x '.ts,.tsx'",
"build": "yarn build:lib && yarn build:types",
"prebuild:lib": "rm -rf lib",
"build:lib": "babel src -d lib -x '.ts,.tsx'",
"build:types": "tsc --emitDeclarationOnly",
"check-types": "tsc --noEmit",
"release": "release-it",
"release": "yarn test && yarn build && release-it",
"test": "jest",
"test:dev": "jest --watch"
"test:dev": "jest --watch",
"test:ci": "jest --ci --runInBand --coverage --reporters=default --reporters=jest-junit"
},
"files": [
"/lib"
Expand Down Expand Up @@ -45,6 +47,9 @@
"beforeStage": "./node_modules/.bin/conventional-changelog -p @favoloso/emoji -i CHANGELOG.md -s"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
Expand All @@ -60,6 +65,7 @@
"dedent": "^0.7.0",
"husky": "^1.3.1",
"jest": "^24.3.1",
"jest-junit": "^6.3.0",
"prettier": "^1.16.4",
"release-it": "^10.3.1",
"remarkable": "^1.7.1",
Expand Down
37 changes: 37 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3451,6 +3451,16 @@ jest-jasmine2@^24.3.1:
pretty-format "^24.3.1"
throat "^4.0.0"

jest-junit@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-6.3.0.tgz#99e64ebc54eddcb21238f0cc49f5820c89a8c785"
integrity sha512-3PH9UkpaomX6CUzqjlnk0m4yBCW/eroxV6v61OM6LkCQFO848P3YUhfIzu8ypZSBKB3vvCbB4WaLTKT0BrIf8A==
dependencies:
jest-validate "^24.0.0"
mkdirp "^0.5.1"
strip-ansi "^4.0.0"
xml "^1.0.1"

jest-leak-detector@^24.3.1:
version "24.3.1"
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-24.3.1.tgz#ed89d05ca07e91b2b51dac1f676ab354663aa8da"
Expand Down Expand Up @@ -3609,6 +3619,18 @@ jest-util@^24.3.0:
slash "^2.0.0"
source-map "^0.6.0"

jest-validate@^24.0.0:
version "24.4.0"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.4.0.tgz#4f19c7d738a6bb700620c766428c7738d6985555"
integrity sha512-XESrpRYneLmiN9ayFm9RhBV5dwmhRZ+LbebScuuQ5GsY6ILpX9UeUMUdQ5Iz++YxFsmn5Lyi/Wkw6EV4v7nNTg==
dependencies:
"@jest/types" "^24.3.0"
camelcase "^5.0.0"
chalk "^2.0.1"
jest-get-type "^24.3.0"
leven "^2.1.0"
pretty-format "^24.4.0"

jest-validate@^24.3.1:
version "24.3.1"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.3.1.tgz#9359eea5a767a3d20b4fa7a5764fd78330ba8312"
Expand Down Expand Up @@ -4763,6 +4785,16 @@ pretty-format@^24.3.1:
ansi-styles "^3.2.0"
react-is "^16.8.4"

pretty-format@^24.4.0:
version "24.4.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.4.0.tgz#48db91969eb89f272c1bf3514bc5d5b228b3e722"
integrity sha512-SEXFzT01NwO4vaymwhz1/CM+wKCLOT92uqrzxIjmdRQMt7JAEuZ2eInCMvDS+4ZidEB+Rdq+fMs/Vwse8VAh1A==
dependencies:
"@jest/types" "^24.3.0"
ansi-regex "^4.0.0"
ansi-styles "^3.2.0"
react-is "^16.8.4"

private@^0.1.6:
version "0.1.8"
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
Expand Down Expand Up @@ -6123,6 +6155,11 @@ xml-name-validator@^3.0.0:
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==

xml@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=

xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
Expand Down

0 comments on commit 7d8ce35

Please sign in to comment.