From 5e2b8fbbf36ff50a1e92f42b5a9205a94b41f8d5 Mon Sep 17 00:00:00 2001 From: Thomas Triau Date: Tue, 26 Mar 2019 22:12:17 +0100 Subject: [PATCH] remove __tests__ from build and babel-core --- package.json | 5 ++--- yarn.lock | 5 ----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 3e91889..3730fab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", - "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.4.2", "coveralls": "3.0.3", "jest": "24.5.0", @@ -22,8 +21,8 @@ }, "scripts": { "build": "run-p build:lib build:es", - "build:lib": "rimraf lib && BABEL_ENV=commonjs babel src --ignore=__ --out-dir lib", - "build:es": "rimraf es && BABEL_ENV=es babel src --ignore=__ --out-dir es", + "build:lib": "rimraf lib && BABEL_ENV=commonjs babel src --ignore=src/__tests__ --out-dir lib", + "build:es": "rimraf es && BABEL_ENV=es babel src --ignore=src/__tests__ --out-dir es", "check:repository": "test -z \"$(git status --porcelain)\"", "ci": "npm-run-all -p format test:coverage build -s check:repository", "format": "prettier --config .prettierrc --write 'src/**/*.js' '**/*.md'", diff --git a/yarn.lock b/yarn.lock index 45066dc..8c3456f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1024,11 +1024,6 @@ babel-code-frame@^6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-core@^7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - babel-generator@^6.18.0: version "6.26.1" resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"